Queries vulnerability statistics for a cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeInstanceVulStatistics |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Uuid |
string |
Yes |
The UUID of the asset instance to query. Note
You can call the DescribeCloudCenterInstances operation to obtain this parameter. |
5b268326-273e-44fc-a0e3-9482435c**** |
| Types |
string |
No |
The vulnerability type of the Serverless asset. Valid values:
Note
Serverless assets currently support only application vulnerability scanning. |
sca,app |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. Alibaba Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues. |
1EE7B150-D67E-53FD-A52D-3E8E669A**** |
| VulStat |
object |
The vulnerability statistics information. |
|
| AsapCount |
string |
The number of high-priority vulnerabilities. |
0 |
| LaterCount |
string |
The number of medium-priority vulnerabilities. |
0 |
| NntfCount |
string |
The number of low-priority vulnerabilities. |
0 |
Examples
Success response
JSON format
{
"RequestId": "1EE7B150-D67E-53FD-A52D-3E8E669A****",
"VulStat": {
"AsapCount": "0",
"LaterCount": "0",
"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.