Lists servers affected by a specified baseline risk item and check item.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeCheckWarningMachines |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RiskId |
integer |
No |
The ID of the baseline. Note
Call DescribeCheckWarningSummary to query baseline IDs. |
43 |
| CheckId |
integer |
No |
The ID of the check item. Note
Call DescribeCheckWarningSummary to query check item IDs. |
58 |
| Status |
integer |
No |
The risk status of the check item. Valid values:
|
1 |
| Lang |
string |
No |
The language of the request and response content. Default value: zh. Valid values:
|
zh |
| ResourceDirectoryAccountId |
integer |
No |
The Alibaba Cloud account ID of the member in the resource directory. Note
Call DescribeMonitorAccounts to query member account IDs. |
1232428423234**** |
| CurrentPage |
integer |
No |
The page number to return. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| Remark |
string |
No |
The server name or public IP address to filter by. |
1.2.XX.XX |
| InstanceId |
string |
No |
The instance ID of the asset. |
cri-rv4nvbv8iju4**** |
| FilterUuid |
string |
No |
The asset instance ID to exclude from results. |
2f64e1a0f9316c48******* |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Machines |
array<object> |
The servers with the detected risk item. |
|
|
object |
The server details. |
||
| Uuid |
string |
The UUID of the server. |
D0D6E6E4-CB8C-4897-B852-46AEFDA0**** |
| InstanceName |
string |
The instance name of the server. |
test**** |
| InternetIp |
string |
The public IP address of the server. |
8.210.XX.XX |
| IntranetIp |
string |
The private IP address of the server. |
172.25.XX.XX |
| InstanceId |
string |
The instance ID of the server. |
i-bp1dp42hgn1xcq8l**** |
| RegionId |
string |
The region ID of the server. |
cn-hangzhou |
| Bind |
boolean |
Whether Security Center is authorized to protect the asset. Valid values:
|
true |
| Count |
integer |
The total number of servers with the detected risk item. |
10 |
| RequestId |
string |
The request ID. |
B3D989EB-2E59-584C-8438-5DFAA34A**** |
| PageSize |
integer |
The number of entries per page. |
20 |
| CurrentPage |
integer |
The page number. Default value: 1. |
1 |
Examples
Success response
JSON format
{
"Machines": [
{
"Uuid": "D0D6E6E4-CB8C-4897-B852-46AEFDA0****",
"InstanceName": "test****",
"InternetIp": "8.210.XX.XX",
"IntranetIp": "172.25.XX.XX",
"InstanceId": "i-bp1dp42hgn1xcq8l****",
"RegionId": "cn-hangzhou",
"Bind": true
}
],
"Count": 10,
"RequestId": "B3D989EB-2E59-584C-8438-5DFAA34A****",
"PageSize": 20,
"CurrentPage": 1
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 500 | ServerError | ServerError | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.