Queries the statistics of assets that are protected by Security Center.
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SourceIp | string | No | The source IP address of the request. | 1.2.XX.XX |
Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
Uuid | string | Yes | The UUID of the asset to query. Separate multiple UUIDs with commas (,). You can call the DescribeCloudCenterInstances operation to query the UUIDs of assets. | 6690a46c-0edb-4663-a641-3629d1a9**** |
From | string | Yes | The source of the request. Set the value to sas, which indicates that the request is sent from Security Center. | sas |
Response parameters
Example
Normal return example
JSON
Format
{
"RequestId": "8F035A9D-D19F-5430-8CA5-1497991B7C61",
"Data": [
{
"Account": 0,
"AppNum": 1,
"ScaNum": 1,
"Trojan": 1,
"CveNum": 1,
"EmgNum": 6,
"Suspicious": 2,
"CmsNum": 5,
"Uuid": "6690a46c-0edb-4663-a641-3629d1a9****",
"Vul": 17,
"Health": 2,
"SysNum": 3,
"WeakPWNum": 22,
"AgentlessAll": 13,
"AgentlessMalicious": 3,
"AgentlessVulCve": 1,
"AgentlessVulSca": 1,
"AgentlessBaseline": 2,
"CspmNum": 1
}
]
}
Error codes
Http code | Error code | Error message | Description |
---|---|---|---|
400 | NoPermission | no permission | - |
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the API error center.
Change history
Change time | Summary of changes | Operate | ||||||
---|---|---|---|---|---|---|---|---|
2022-06-09 | The error codes of the API operation has changed, The response structure of the API operation has changed | |||||||
|