Queries the exposure statistics of the assets on the Internet.

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 DescribeExposedStatistics

The operation that you want to perform.

Set the value to DescribeExposedStatistics.

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
ExposedAsapVulCount Integer 1

The total number of high-risk vulnerabilities that are exposed on the Internet and can be exploited by attackers.

ExposedComponentCount Integer 7

The total number of server components that are exposed on the Internet. The server components include OpenSSL and OpenSSH.

ExposedInstanceCount Integer 100

The total number of servers that are exposed on the Internet.

ExposedIpCount Integer 100

The total number of IP addresses that are exposed on the Internet.

ExposedLaterVulCount Integer 5

The total number of medium-risk vulnerabilities that are exposed on the Internet and can be exploited by attackers.

ExposedNntfVulCount Integer 0

The total number of low-risk vulnerabilities that are exposed on the Internet and can be exploited by attackers.

ExposedPortCount Integer 6

The total number of ports that are exposed on the Internet.

GatewayAssetCount Integer 3

The total number of gateway assets that are exposed on the Internet. The gateway assets include Network Address Translation (NAT) gateways and Server Load Balancer (SLB) instances.

RequestId String 4B897D10-B3CD-4A93-A5FA-591F3ED12A86

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

<DescribeExposedStatisticsResponse>
      <ExposedPortCount>6</ExposedPortCount>
      <RequestId>4B897D10-B3CD-4A93-A5FA-591F3ED12A86</RequestId>
      <ExposedInstanceCount>100</ExposedInstanceCount>
      <GatewayAssetCount>3</GatewayAssetCount>
      <ExposedLaterVulCount>5</ExposedLaterVulCount>
      <ExposedComponentCount>7</ExposedComponentCount>
      <ExposedIpCount>100</ExposedIpCount>
      <ExposedNntfVulCount>0</ExposedNntfVulCount>
      <ExposedAsapVulCount>1</ExposedAsapVulCount>
</DescribeExposedStatisticsResponse>

JSON format

{
    "ExposedPortCount": 6,
    "RequestId": "4B897D10-B3CD-4A93-A5FA-591F3ED12A86",
    "ExposedInstanceCount": 100,
    "GatewayAssetCount": 3,
    "ExposedLaterVulCount": 5,
    "ExposedComponentCount": 7,
    "ExposedIpCount": 100,
    "ExposedNntfVulCount": 0,
    "ExposedAsapVulCount": 1
}

Error codes

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