Queries the details of baseline check results for image scanning.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeImageBaselineDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ImageUuid |
string |
No |
The UUID of the image. |
06293273b67d19516cfcc712194f**** |
| BaselineItemKey |
string |
No |
The baseline data information. |
取值包括但不限于以下内容:ak_leak, duplicate_uid,duplicate_pwd_hash,non_pwd_user |
| Lang |
string |
No |
The language type for the request and response. Default value: zh. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
0B48AB3C-84FC-424D-A01D-B9270EF4**** |
| BaselineDetail |
object |
The image baseline details. |
|
| Advice |
string |
The remediation suggestion for the baseline check risk item. |
删除泄漏的AK信息。 |
| ResultId |
string |
The asynchronous request ID. |
async__c6f3b0b54613383b40bdce593ffe**** |
| Description |
string |
The description of the baseline risk item. |
Access Key泄露,会导致Access Key被冒用的风险。 |
| BaselineItemAlias |
string |
The alias of the baseline sub-item. |
Access Key泄露 |
| BaselineNameAlias |
string |
The alias of the baseline name. |
Access Key泄露 |
| BaselineClassAlias |
string |
The alias of the baseline classification. |
ak_leak |
| BaselineItemKey |
string |
The key of the baseline sub-item. |
ak_leak |
| Prompt |
string |
The baseline issue prompt. |
/usr/aksk.txt:yourAccessKeyID |
| Level |
string |
The risk level of the check item. Valid values:
|
high |
Examples
Success response
JSON format
{
"RequestId": "0B48AB3C-84FC-424D-A01D-B9270EF4****",
"BaselineDetail": {
"Advice": "删除泄漏的AK信息。",
"ResultId": "async__c6f3b0b54613383b40bdce593ffe****",
"Description": "Access Key泄露,会导致Access Key被冒用的风险。",
"BaselineItemAlias": "Access Key泄露",
"BaselineNameAlias": "Access Key泄露",
"BaselineClassAlias": "ak_leak",
"BaselineItemKey": "ak_leak",
"Prompt": "/usr/aksk.txt:yourAccessKeyID",
"Level": "high"
}
}
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.