Queries the statistics of vulnerabilities that are detected on a cluster.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ClusterId | string | No | The ID of the container cluster. | c471f0f61b9c04f8380556e922cf1**** |
Types | string | No | The type of the vulnerabilities. Valid values:
| cve,app,sca |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "0B48AB3C-84FC-424D-A01D-B9270EF46038",
"VulStat": {
"AsapCount": 13,
"LaterCount": 21,
"NntfCount": 0
}
}
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.
Change history
Change time | Summary of changes | Operation |
---|
No change history