Queries the assets that are affected by the risk item detected in configuration assessment based on a specified check item.
Operation description
This interface has been deprecated. Use the upgraded interface ListCheckInstanceResult instead.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeRiskCheckItemResult |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the request. |
173.128.XX.XX |
| Lang |
string |
No |
The language of the content within the request and response. Default value: zh. Valid values:
|
zh |
| ItemId |
integer |
Yes |
The ID of the check item. Note
For more information about the IDs and details of the check items that can be used in configuration assessment, see DescribeRiskCheckResult. |
2 |
| CurrentPage |
integer |
No |
The number of the page to return. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page. Note
We recommend that you do not leave this parameter empty. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
3BFB4989-A108-46A4-954E-FF7EF02D1078 |
| PageContentResource |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number of the returned page. |
1 |
| ContentResource |
object |
The data of the affected assets on each page in a dynamic table. |
{"resultStatus":[{"id":32183150,"status":"failed"}],"columns":[{"title":"Availability Zone","key":"RegionId"},{"title":"Database Instance ID","key":"DBInstanceId"},{"title":"Issue Value","key":"VulValue"}],"values":[{"DBInstanceId":{"type":"link","value":"dds-bp144b42843****\n","url":"https://mongodb.console.alibabacloud.com/replicate/cn-hangzhou/instances/dds-bp144b42843****/basicInfo"},"VulValue":{"type":"link","value":"0.0.0.0/0","url":"https://mongodb.console.alibabacloud.com/replicate/cn-hangzhou/instances/dds-bp144b42843****/whiteList"},"RegionId":{"type":"text","value":"cn-hangzhou"}}],"emptyGridValue":{"type":"text","value":"No data available"},"type":"grid"} |
|
any |
Details of the test results. |
{"resultStatus":[{"id":123345,"status":"failed"}],"columns":[{"title":"The available zone where it is located","key":"RegionId"},{"title":"Database instance ID","key":"DBInstanceId"},{"title":"Item value","key":"VulValue"}],"values":[{"DBInstanceId":{"type":"link","value":"dds-bp144b42843****\n","url":"https://mongodb.console.alibabacloud.com/replicate/cn-hangzhou/instances/dds-bp144b********/basicInfo"},"VulValue":{"type":"link","value":"0.0.0.0/0","url":"https://mongodb.console.alibabacloud.com/replicate/cn-hangzhou/instances/dds-b*********/whiteList"},"RegionId":{"type":"text","value":"cn-hangzhou"}}],"emptyGridValue":{"type":"text","value":"No data"},"type":"grid"} |
|
| PageSize |
integer |
The number of entries returned on each page. |
10 |
| TotalCount |
integer |
The total number of entries returned. |
1 |
| PageCount |
integer |
The total number of pages returned. |
3 |
| Count |
integer |
The number of entries returned on the current page. |
1 |
Examples
Success response
JSON format
{
"RequestId": "3BFB4989-A108-46A4-954E-FF7EF02D1078",
"PageContentResource": {
"CurrentPage": 1,
"ContentResource": {
"key": "{\"resultStatus\":[{\"id\":123345,\"status\":\"failed\"}],\"columns\":[{\"title\":\"The available zone where it is located\",\"key\":\"RegionId\"},{\"title\":\"Database instance ID\",\"key\":\"DBInstanceId\"},{\"title\":\"Item value\",\"key\":\"VulValue\"}],\"values\":[{\"DBInstanceId\":{\"type\":\"link\",\"value\":\"dds-bp144b42843****\\n\",\"url\":\"https://mongodb.console.alibabacloud.com/replicate/cn-hangzhou/instances/dds-bp144b********/basicInfo\"},\"VulValue\":{\"type\":\"link\",\"value\":\"0.0.0.0/0\",\"url\":\"https://mongodb.console.alibabacloud.com/replicate/cn-hangzhou/instances/dds-b*********/whiteList\"},\"RegionId\":{\"type\":\"text\",\"value\":\"cn-hangzhou\"}}],\"emptyGridValue\":{\"type\":\"text\",\"value\":\"No data\"},\"type\":\"grid\"}"
},
"PageSize": 10,
"TotalCount": 1,
"PageCount": 3,
"Count": 1
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RiskItemNotExists | risk item not exists | |
| 500 | ServerError | ServerError | |
| 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.