You can call this operation to query machine statistics.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeInstanceStatistics |
The operation that you want to perform. Set the value to DescribeInstanceStatistics. |
From | String | Yes | sas |
The source of the data. Set the value to sas. |
Uuid | String | Yes | ["ff675afd-703e-40dc-809b-0fad8b0ded28"] |
The list of machines to be queried. |
Lang | String | No | zh |
The language in which to return the responses.
|
SourceIp | String | No | 1.2.3.4 |
The source IP address of the request. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Data |
The detected results of the machine. |
||
Account | Integer | 1 |
The type of the group. Valid values:
|
AppNum | Integer | 0 |
The number of application vulnerabilities. |
CmsNum | Integer | 2 |
The number of Web CMS vulnerabilities. |
CveNum | Integer | 1 |
The number of vulnerabilities that are included in Common Vulnerabilities and Exposures (CVE) list. |
EmgNum | Integer | 0 |
The number of urgent vulnerabilities. |
Health | Integer | 1 |
The number of problems detected in baseline checks. |
Suspicious | Integer | 2 |
The number of security events. |
SysNum | Integer | 1 |
The number of system vulnerabilities. |
Trojan | Integer | 1 |
The number of trojans. |
Uuid | String | us123****** |
The UUID of the machine. |
Vul | Integer | 4 |
The total number of vulnerabilities. |
RequestId | String | 7E0618A9-D5EF-4220-9471-C42B5E92719F |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribeInstanceStatistics
&<Common request parameters>
Sample success responses
XML
format
<DescribeInstanceStatistics>
<code>200</code>
<requestId>7E0618A9-D5EF-4220-9471-C42B5E92719F</requestId>
<success>true</success>
<data>
<EntEntityListity>
<Uuid>us123******</Uuid>
<Health>1</Health>
<Suspicious>2</Suspicious>
<Vul>3</Vul>
</EntEntityListity>
</data>
</DescribeInstanceStatistics>
JSON
format
{
"requestId":"7E0618A9-D5EF-4220-9471-C42B5E92719F",
"data":{
"EntEntityListity":[
{
"Uuid":"us123******",
"Suspicious":2,
"Health":1,
"Vul":3
}
]
},
"code":200,
"success":true
}
Error codes
For more information about error codes, visit API Error Center.