Retrieves the types of risky commands in image builds.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListImageBuildRiskItem |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response content. Default value: zh. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
ListResult |
||
| Data |
array<object> |
The returned data. |
|
|
object |
The details of a risk item. |
||
| ItemKey |
string |
The key of the risky build command type. |
key |
| ItemName |
string |
The name of the risky build command type. |
itemName |
| RequestId |
string |
The request ID. |
A3D7C47D-3F11-57BB-90E8-E5C20C619F37 |
Examples
Success response
JSON format
{
"Data": [
{
"ItemKey": "key",
"ItemName": "itemName"
}
],
"RequestId": "A3D7C47D-3F11-57BB-90E8-E5C20C619F37"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.