Queries the image baseline check list of image security scans.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeImageBaselineCheckSummary |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RiskLevel |
string |
No |
The risk level of the baselines to query. Separate multiple levels with commas (,). Valid values:
|
high |
| Criteria |
string |
No |
The query condition of the baseline. |
Unauthorized access |
| CriteriaType |
string |
No |
The query type of the baselines to query. Valid values:
|
BaselineNameAlias |
| PageSize |
integer |
No |
The maximum number of entries per page in a paged query. Default value: 20. |
20 |
| CurrentPage |
integer |
No |
The page number to display from the returned results. Minimum value: 1. Default value: 1, which indicates that the first page is displayed. |
1 |
| Lang |
string |
No |
The language type for requests and responses. Default value: zh. Valid values:
|
zh |
| ClusterId |
string |
No |
The ID of the container cluster to query. Note
You can call the DescribeGroupedContainerInstances operation to obtain this parameter. |
c60b77fe62093480db6164a3c2fa5**** |
| ScanRange |
array |
No |
The collection of scan ranges. |
|
|
string |
No |
The scan range. Valid values:
|
container |
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. |
5BD95679-D63A-4151-97D0-188432F4A57 |
| PageInfo |
object |
The paging information displayed on the page in a paged query. |
|
| CurrentPage |
integer |
The current page number in a paged query. |
1 |
| PageSize |
integer |
The number of image baseline check results per page in a paged query. Default value: 20, which indicates that 20 image baseline check results are displayed per page. |
20 |
| TotalCount |
integer |
The total number of query results. |
3 |
| Count |
integer |
The number of entries on the current page in a paged query. |
3 |
| BaselineResultSummary |
array<object> |
The details of the image baseline check list. |
|
|
object |
|||
| Status |
integer |
The fix status of the baseline risk. Valid values:
|
0 |
| MiddleRiskImage |
integer |
The number of images with a medium risk level that have baseline risk issues. |
0 |
| BaselineNameLevel |
string |
The risk level of the baseline. Valid values:
|
high |
| LastScanTime |
integer |
The timestamp of the most recent scan, in milliseconds. |
1626628760000 |
| HighRiskImage |
integer |
The number of images with a high risk level that have baseline risk issues. |
15 |
| BaselineNameKey |
string |
The keyword of the baseline name. |
hc_image_exploit |
| BaselineClassKey |
string |
The keyword of the baseline category. |
hc_image_exploit |
| BaselineNameAlias |
string |
The baseline name. |
Unauthorized access |
| BaselineClassAlias |
string |
The baseline category. |
Unauthorized access |
| FirstScanTime |
integer |
The timestamp of the first scan, in milliseconds. |
1626628760000 |
| LowRiskImage |
integer |
The number of images with a low risk level that have baseline risk issues. |
0 |
Examples
Success response
JSON format
{
"RequestId": "5BD95679-D63A-4151-97D0-188432F4A57",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 3,
"Count": 3
},
"BaselineResultSummary": [
{
"Status": 0,
"MiddleRiskImage": 0,
"BaselineNameLevel": "high",
"LastScanTime": 1626628760000,
"HighRiskImage": 15,
"BaselineNameKey": "hc_image_exploit",
"BaselineClassKey": "hc_image_exploit",
"BaselineNameAlias": "Unauthorized access",
"BaselineClassAlias": "Unauthorized access",
"FirstScanTime": 1626628760000,
"LowRiskImage": 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.