Queries the list of baseline check results by image.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeImageBaselineItemList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ImageUuid |
string |
Yes |
The UUID of the image. |
0b5c7193300da2070220038718ad**** |
| Status |
string |
No |
The fix status of the baseline risk. Valid values:
|
0 |
| BaselineClassKey |
string |
No |
The key of the baseline category. |
ak_leak |
| BaselineNameKey |
string |
No |
The key of the baseline name. |
Access Key泄露 |
| PageSize |
integer |
No |
The number of entries per page in a paged query. |
20 |
| CurrentPage |
integer |
No |
The page number of the current page in a paged query. |
1 |
| Lang |
string |
No |
The language type for the request and response messages. Default value: zh. Valid values:
|
zh |
| ScanRange |
array |
No |
The scan scope collection. |
|
|
string |
No |
The scan scope. Valid values:
|
image,container |
|
| Uuids |
array |
No |
The list of image UUIDs. |
|
|
string |
No |
The list of image UUIDs. |
5b6d4072118f487094199cedf90c****,f6310b7976144639867beea2f346**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
24A20733-10A0-4AF6-BE6B-E3322413**** |
| PageInfo |
object |
The pagination information of the query results. |
|
| CurrentPage |
integer |
The page number of the current page in a paged query. |
1 |
| PageSize |
integer |
The maximum number of entries per page in a paged query. |
20 |
| TotalCount |
integer |
The total number of entries returned. |
253 |
| Count |
integer |
The number of entries on the current page in a paged query. |
20 |
| BaselineItemInfos |
array<object> |
The list of image baseline data. |
|
|
object |
The list of image baseline data. |
||
| Status |
integer |
The fix status of the baseline risk. Valid values:
|
0 |
| WhiteList |
integer |
The whitelist status of the baseline check item. Valid values:
|
0 |
| BaselineNameKey |
string |
The key of the baseline name. |
ak_leak |
| BaselineItemAlias |
string |
The alias of the baseline sub-item. |
Access Key泄漏 |
| BaselineClassKey |
string |
The key of the baseline category. |
ak_leak |
| BaselineClassAlias |
string |
The alias of the baseline category. |
Access Key泄漏 |
| BaselineNameAlias |
string |
The alias of the baseline name. |
Access Key泄漏 |
| BaselineItemKey |
string |
The key of the baseline sub-item. |
ak_leak |
Examples
Success response
JSON format
{
"RequestId": "24A20733-10A0-4AF6-BE6B-E3322413****",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 253,
"Count": 20
},
"BaselineItemInfos": [
{
"Status": 0,
"WhiteList": 0,
"BaselineNameKey": "ak_leak",
"BaselineItemAlias": "Access Key泄漏",
"BaselineClassKey": "ak_leak",
"BaselineClassAlias": "Access Key泄漏",
"BaselineNameAlias": "Access Key泄漏",
"BaselineItemKey": "ak_leak"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingImageUuid | The image ID is required. | |
| 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.