You can call this operation to query the assets that have configuration risks based on a specific check item. Results are returned on different pages.

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.

SourceIp String No 1.2.3.4

The source IP address of the request.

Lang String No zh

The language of the request and response. Valid values:

  • zh: Chinese
  • en: English
ItemId Long No 2

The ID of the check item.

CurrentPage Integer No 1

The page number of the returned page.

PageSize Integer No 20

The number of entries returned per page.

Response parameters

Parameter Type Example Description
RequestId String 3BFB4989-A108-46A4-954E-FF7EF02D1078

The ID of the request.

PageContentResource Struct

The affected assets listed on each page.

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

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

CurrentPage Integer 1

The page number of the returned page.

PageSize Integer 10

The number of entries returned per page.

TotalCount Integer 1

The total number of entries.

Count Integer 1

The number of entries returned per page.

PageCount Integer 3

The total number of pages.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeRiskCheckItemResult
&<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 values</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-bp144b42843fed14/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-bp144b42843fed14/whiteList</url>
                </VulValue>
                <RegionId>
                    <type>text</type>
                    <value>China (Hangzhou)</value>
                </RegionId>
            </values>
            <emptyGridValue>
                <type>text</type>
                <value>No results found</value>
            </emptyGridValue>
            <type>grid</type>
        </ContentResource>
        <PageCount>1</PageCount>
        <PageSize>10</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-bp144b42843xxxxx\n",
                        "url": "https://mongodb.console.aliyun.com/replicate/cn-hangzhou/instances/dds-bp144b42843fed14/basicInfo"
                    },
                    "VulValue": {
                        "type": "link",
                        "value": "0.0.0.0/0",
                        "url": "https://mongodb.console.aliyun.com/replicate/cn-hangzhou/instances/dds-bp144b42843fed14/whiteList"
                    },
                    "RegionId": {
                        "type": "text",
                        "value": "China east 1 (hangzhou)\n"
                    }
                }],
                "emptyGridValue": {
                    "type": "text",
                    "value": "No results found"
                },
                "type": "grid"
            },
            "PageCount": 1,
            "PageSize": 10,
            "CurrentPage": 1,
            "Count": 1
        },
    "requestId": "3BFB4989-A108-46A4-954E-FF7EF02D1078"
}

Error codes

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