Queries the summary of image build risks by using paging.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeImageBuildRiskList |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Criteria |
string |
No |
The rule name or category name of the build risk. You can call the DescribeImageBuildRiskList operation to obtain the value. Valid values:
|
no_user |
| CriteriaType |
string |
No |
The query type of the build risk. Valid values:
|
RiskKeyName |
| RiskLevel |
string |
No |
The risk level. Valid values:
|
medium |
| Lang |
string |
No |
The language of the content in the request and response. Default value: zh. Valid values:
|
zh |
| CurrentPage |
integer |
No |
The page number of the current page when paging is used. Default value: 1. |
1 |
| PageSize |
integer |
No |
The maximum number of entries per page when paging is used. Default value: 20. If you leave this parameter empty, 20 entries are returned per page. Note
Do not leave PageSize empty. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PlainResult<PageResult |
||
| Data |
object |
The returned data. |
|
| List |
array<object> |
The summary list of build risks. |
|
|
object |
The list of data packets that match the filter conditions. |
||
| RiskLevel |
string |
The risk level. Valid values:
|
medium |
| RiskClass |
string |
The type key of the risk. |
other |
| RiskKey |
string |
The key of the risk. You can call the DescribeImageBuildRiskList operation to obtain the value of RiskKey. |
no_user |
| FirstScanTime |
integer |
The timestamp generated when the first scan was performed. Unit: milliseconds. |
1723710827000 |
| LastScanTime |
integer |
The timestamp generated when the last scan was performed. Unit: milliseconds. |
1723710827999 |
| Count |
integer |
The number of affected images. |
2 |
| RiskClassName |
string |
The type name of the risk. |
other |
| RiskKeyName |
string |
The rule name of the risk. |
no_user |
| UnprocessedNum |
integer |
The number of unprocessed images. |
1 |
| PageInfo |
object |
The paging parameters. |
|
| CurrentPage |
integer |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
The number of entries per page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page. Note
We recommend that you do not leave this parameter empty. |
20 |
| TotalCount |
integer |
The total number of entries returned. |
109 |
| Success |
boolean |
Indicates whether the call was successful. Valid values:
|
true |
| Code |
string |
The result code. A value of 200 indicates success. Any other value indicates failure. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
The detailed information about the error code. |
successful |
| RequestId |
string |
The ID of the request. |
BE120DAB-F4E7-4C53-ADC3-A97578AB**** |
Examples
Success response
JSON format
{
"Data": {
"List": [
{
"RiskLevel": "medium",
"RiskClass": "other",
"RiskKey": "no_user",
"FirstScanTime": 1723710827000,
"LastScanTime": 1723710827999,
"Count": 2,
"RiskClassName": "other",
"RiskKeyName": "no_user",
"UnprocessedNum": 1
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 109
}
},
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "BE120DAB-F4E7-4C53-ADC3-A97578AB****"
}
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.