Retrieves statistics about assets exposed to the Internet.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the visitor. |
202.109.244.XX |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| StartTime |
string |
No |
The start of the time range to query. This value is a UNIX timestamp in seconds. |
1734386501 |
| EndTime |
string |
No |
The end of the time range to query. This value is a UNIX timestamp in seconds. |
1736386501 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| InternetIpNum |
integer |
The total number of public IP addresses exposed to the Internet. |
9 |
| InternetPortNum |
integer |
The total number of ports exposed to the Internet. |
38 |
| InternetUnprotectedPortNum |
integer |
The number of ports that are not protected by an access control list (ACL). |
6 |
| InternetRiskServiceNum |
integer |
The number of risky applications. |
3 |
| RequestId |
string |
The ID of the request. |
6AB7822C-0D73-5D1D-81FD-45D4FB7C**** |
| InternetRiskPortNum |
integer |
The number of risky ports. |
5 |
| InternetRiskIpNum |
integer |
The number of risky public IP addresses exposed to the Internet. |
8 |
| InternetSlbIpNum |
integer |
The number of public IP addresses of Server Load Balancer (SLB) instances. |
10 |
| InternetServiceNum |
integer |
The total number of applications exposed to the Internet. |
15 |
| InternetSlbIpPortNum |
integer |
The number of public ports of SLB instances. |
16 |
Examples
Success response
JSON format
{
"InternetIpNum": 9,
"InternetPortNum": 38,
"InternetUnprotectedPortNum": 6,
"InternetRiskServiceNum": 3,
"RequestId": "6AB7822C-0D73-5D1D-81FD-45D4FB7C****",
"InternetRiskPortNum": 5,
"InternetRiskIpNum": 8,
"InternetSlbIpNum": 10,
"InternetServiceNum": 15,
"InternetSlbIpPortNum": 16
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.