Queries at-risk image blocking rules.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
StrategyName | array | No | The rule names. | |
string | No | The rule name. | default | |
ImageName | array | No | The image names. | |
string | No | The image name. | repo:tag | |
Label | array | No | The tags that are added to the container. | |
string | No | The tag that is added to the container. | testlabel | |
PageSize | integer | No | The number of entries per page. | 20 |
CurrentPage | integer | No | The page number. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"List": [
{
"StrategyId": 1,
"StrategyName": "auto-strategy-vohuiq",
"Description": "Config the Event Audit policys",
"UnScanedImage": true,
"MaliciousImage": true,
"Action": 1,
"ClusterCount": 1,
"ClusterIdList": [
"cfb41a8**8a106"
],
"ImageName": [
"centos"
],
"Label": [
"alertmanager:main"
]
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 45,
"Count": 20
},
"Success": true,
"Code": "200",
"Message": "success",
"RequestId": "7DFD947C-9172-5129-B783-DD14C55191D2",
"HttpStatusCode": 200
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.