Queries the assets at risk of organizations.

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 ListOrgRiskyAssets

The operation that you want to perform. Set the value to ListOrgRiskyAssets.

OrgId Integer No 1

The ID of the organization.

Response parameters

Parameter Type Example Description
Assets Array

The list of assets.

Asset String testphp.vulnweb.com

The name of the asset.

Count Integer 10

The number of assets at risk.

Type String Domain

The type of the asset.

CurrentPage Integer 1

The number of the returned page.

Default value: 1.

PageSize Integer 10

The number of entries returned per page.

Default value: 10.

Maximum value: 10.

RequestId String 13B841A7-F5B4-49D6-A9D1-210D5C8E69BF

The ID of the request.

Total Integer 39

The number of returned entries.

TotalCount Integer 2

The total number of assets.

Examples

Sample requests

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

Sample success responses

XML format

<ListOrgRiskyAssetsResponse>
   <code></code>
   <message></message>
   <success>true</success>
   <data>
        <Total>10</Total>
        <Assets>
              <Asset>1.2.3.4</Asset>
              <Type>Host</Type>
              <Count>123</Count>
        </Assets>
        <Assets>
              <Asset>foo.com</Asset>
              <Type>Domain</Type>
              <Count>123</Count>
        </Assets>
        <Assets>
              <Asset>bar.com</Asset>
              <Type>Domain</Type>
              <Count>123</Count>
        </Assets>
        <CurrentPage>1</CurrentPage>
        <PageSize>10</PageSize>
        <TotalCount>10</TotalCount>
   </data>
</ListOrgRiskyAssetsResponse>

JSON format

{
    "code": "",
    "message": "",
    "success": true,
    "data": {
        "Total": 123,
        "Assets": [
            {
                "Asset": "1.2.3.4",
                "Type": "Host",
                "Count": 123
            },
            {
                "Asset": "foo.com",
                "Type": "Domain",
                "Count": 123
            },
            {
                "Asset": "bar.com",
                "Type": "Domain",
                "Count": 123
            }
        ],
        "Total": 10,
        "CurrentPage": 1,
        "PageSize": 10,
        "TotalCount": 10
    }
}

Error codes

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