Queries the assets that have the configuration risks detected based on a specific check item.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeRiskCheckItemResult

The operation that you want to perform.

Set the value to DescribeRiskCheckItemResult.

ItemId Long Yes 2

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.
SourceIp String No 173.128.XX.XX

The source IP address of the request.

Lang String No zh

The natural language of the request and response. Default value: zh. Valid values:

  • zh: Chinese
  • en: English
CurrentPage Integer No 1

The page number of the current page.

PageSize Integer No 20

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.

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

Parameter Type Example Description
PageContentResource Struct

The affected assets displayed on each page.

ContentResource Json {"resultStatus":[{"id":32183150,"status":"failed"}],"columns":[{"title":"Zone","key":"RegionId"},{"title":"Database instance ID","key":"DBInstanceId"},{"title":"Error entry value","key":"VulValue"}],"values":[{"DBInstanceId":{"type":"link","value":"dds-bp144b42843****\n","url":"https://mongodb.console.aliyun.com/replicate/cn-hangzhou/instances/dds-bp144b42843****/basicInfo"},"VulValue":{"type":"link","value":"0.0.0.0/0","url":"https://mongodb.console.aliyun.com/replicate/cn-hangzhou/instances/dds-bp144b42843****/whiteList"},"RegionId":{"type":"text","value":"China (Hangzhou)\n"}}],"emptyGridValue":{"type":"text","value":"No data found"},"type":"grid"}

The data of affected assets displayed on each page in a dynamic table.

Count Integer 1

The number of entries returned on the current page.

CurrentPage Integer 1

The page number of the current page.

PageCount Integer 3

The total number of returned pages.

PageSize Integer 10

The number of entries returned per page.

TotalCount Integer 1

The total number of returned entries.

RequestId String 3BFB4989-A108-46A4-954E-FF7EF02D1078

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeRiskCheckItemResult
&ItemId=2
&<Common request parameters>

Sample success responses

XML format

<DescribeRiskCheckItemResultResponse>
      <PageContentResource>
            <TotalCount>1</TotalCount>
            <ContentResource>
                  <resultStatus>
                        <id>32183150</id>
                        <status>failed</status>
                  </resultStatus>
                  <columns>
                        <title>Zone</title>
                        <key>RegionId</key>
                  </columns>
                  <columns>
                        <title>Database instance ID</title>
                        <key>DBInstanceId</key>
                  </columns>
                  <columns>
                        <title>Error entry value</title>
                        <key>VulValue</key>
                  </columns>
                  <values>
                        <DBInstanceId>
                              <type>link</type>
                              <value>dds-bp144b42843xxxxx</value>
                              <url>https://mongodb.console.aliyun.com/replicate/cn-hangzhou/instances/dds-bp144b42843****/basicInfo</url>
                        </DBInstanceId>
                        <VulValue>
                              <type>link</type>
                              <value>0.0.0.0/0</value>
                              <url>https://mongodb.console.aliyun.com/replicate/cn-hangzhou/instances/dds-bp144b42843****/whiteList</url>
                        </VulValue>
                        <RegionId>
                              <type>text</type>
                              <value>China (Hangzhou)</value>
                        </RegionId>
                  </values>
                  <emptyGridValue>
                        <type>text</type>
                        <value>No data found</value>
                  </emptyGridValue>
                  <type>grid</type>
            </ContentResource>
            <PageCount>1</PageCount>
            <PageSize>20</PageSize>
            <CurrentPage>1</CurrentPage>
            <Count>1</Count>
      </PageContentResource>
      <RequestId>3BFB4989-A108-46A4-954E-FF7EF02D1078</RequestId>
</DescribeRiskCheckItemResultResponse>

JSON format

{
	"PageContentResource": {
		"TotalCount": 1,
		"ContentResource": {
			"resultStatus": [{
				"id": 32183150,
				"status": "failed"
				}],
			"columns": [{
				"title": "Region",
				"key": "RegionId"
			}, {
				"title": "Database instance ID",
				"key": "DBInstanceId"
			}, {
				"title": "Error entry value",
				"key": "VulValue"
			}],
			"values": [{
				"DBInstanceId": {
				"type": "link",
				"value": "dds-bp144b42843****\n",
				"url": "https://mongodb.console.aliyun.com/replicate/cn-hangzhou/instances/dds-bp144b42843****/basicInfo"
				},
			"VulValue": {
				"type": "link",
				"value": "0.0.0.0/0",
				"url": "https://mongodb.console.aliyun.com/replicate/cn-hangzhou/instances/dds-bp144b42843****/whiteList"
				},
			"RegionId": {
				"type": "text",
				"value": "China (Hangzhou)\n"
				}
			}],
			"emptyGridValue": {
				"type": "text",
				"value": "No data found"
			},
			"type": "grid"
		},
		"PageCount": 1,
		"PageSize": 20,
		"CurrentPage": 1,
		"Count": 1
        },
	"RequestId": "3BFB4989-A108-46A4-954E-FF7EF02D1078"
}

Error codes

For a list of error codes, visit the API Error Center.