Queries cluster vulnerability statistics.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeClusterVulStatistics |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
No |
The ID of the container cluster. |
c471f0f61b9c04f8380556e922cf1**** |
| Types |
string |
No |
The type of vulnerability that you want to query. Valid values:
|
cve,app,sca |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0B48AB3C-84FC-424D-A01D-B9270EF46038 |
| VulStat |
object |
The vulnerability statistics. |
|
| AsapCount |
string |
The number of high-severity vulnerabilities. |
13 |
| LaterCount |
string |
The number of medium-severity vulnerabilities. |
21 |
| NntfCount |
string |
The number of low-severity vulnerabilities. |
0 |
Examples
Success response
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 |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.