Queries baseline check results based on images.
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 status of the baseline risk item. Valid values:
|
0 |
| BaselineClassKey |
string |
No |
The key of the baseline type. |
ak_leak |
| BaselineNameKey |
string |
No |
The key of the baseline name. |
Access key leak |
| PageSize |
integer |
No |
The number of entries to return on each page. |
20 |
| CurrentPage |
integer |
No |
The number of the page to return. |
1 |
| Lang |
string |
No |
The language of the content within the request and response. Default value: zh. Valid values:
|
zh |
| ScanRange |
array |
No |
The types of the assets that are scanned. |
|
|
string |
No |
The type of the asset that is scanned. Valid values:
|
image,container |
|
| Uuids |
array |
No |
The UUIDs of images. |
|
|
string |
No |
The UUID of the image. |
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. |
|
| CurrentPage |
integer |
The page number of the returned page. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
20 |
| TotalCount |
integer |
The total number of entries returned. |
253 |
| Count |
integer |
The number of entries returned on the current page. |
20 |
| BaselineItemInfos |
array<object> |
An array that consists of baseline check items. |
|
|
object |
The information about the baseline check item. |
||
| Status |
integer |
The status of the baseline risks. Valid values:
|
0 |
| WhiteList |
integer |
Indicates whether the baseline check item is added to the whitelist. Valid values:
|
0 |
| BaselineNameKey |
string |
The key of the baseline name. |
ak_leak |
| BaselineItemAlias |
string |
The alias of the baseline check item. |
Access key leak |
| BaselineClassKey |
string |
The key of the baseline type. |
ak_leak |
| BaselineClassAlias |
string |
The alias of the baseline type. |
Access key leak |
| BaselineNameAlias |
string |
The alias of the baseline. |
Access key leak |
| BaselineItemKey |
string |
The key of the baseline check 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 leak",
"BaselineClassKey": "ak_leak",
"BaselineClassAlias": "Access key leak",
"BaselineNameAlias": "Access key leak",
"BaselineItemKey": "ak_leak"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingImageUuid | The image ID is required. | The image ID is required. |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.