Queries the statistics about risks in instances.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceList | object [] | No | The instances. | |
Uuid | string | No | The UUID of the instance. | f2d6e901-1004-4ca8-9dae-53ec04a9**** |
InstanceId | string | No | The ID of the instance. | i-wz9fdluqx20mp2x7**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"InstanceRiskNum": [
{
"InstanceItem": {
"Uuid": "f2d6e901-1004-4ca8-9dae-53ec04a9****",
"InstanceId": "i-wz9fdluqx20mp2x7****"
},
"RiskNumEntity": {
"VulHighCount": 1,
"VulMediumCount": 2,
"VulLowCount": 3,
"WeakPassWordCount": 4,
"SuspiciousHighCount": 5,
"SuspiciousMediumCount": 6,
"SuspiciousLowCount": 7
}
}
],
"RequestId": "291B49F9-1685-4005-9D34-606B6F78****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
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 Service error codes.