Queries the number of images that have security risk alerts, including vulnerabilities, baselines, and malicious sample risks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeImageRiskLevelStatistic |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use the ID to troubleshoot issues. |
A60DA4EC-7CD8-577D-AD73-****** |
| ImageRiskLevelList |
array<object> |
The risk information at the image level, including risks from vulnerability, baseline, and malicious file detection. |
|
|
object |
The risk information at the image level. |
||
| Cnt |
integer |
The number of images at the specified risk level. |
12 |
| ImageRiskLevel |
string |
The image risk level. Valid values:
|
0 |
Examples
Success response
JSON format
{
"RequestId": "A60DA4EC-7CD8-577D-AD73-******",
"ImageRiskLevelList": [
{
"Cnt": 12,
"ImageRiskLevel": "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.