Queries defense rules against container escapes.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
Criteria | string | No | The query condition. | [{\"name\": \"name\", \"value\": \"test-1818\"}] |
CurrentPage | integer | Yes | The page number. | 1 |
PageSize | integer | Yes | The number of entries per page. | 20 |
RuleType | integer | No | The type of the rule. Valid values:
| 0 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "CE500770-42D3-442E-9DDD-156E0F9F3B45",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 69
},
"RuleList": [
{
"GmtCreate": 1676355025000,
"GmtModified": 1681985833000,
"RuleId": 0,
"RuleName": "test-18****",
"RuleDescription": "system_call",
"RuleTemplateId": "868**",
"RuleTemplateName": "system_call",
"Mode": 1,
"SelectedPolicy": [
"system_schedule_task"
],
"SwitchId": "USER-ENABLE-SWITCH-TYPE_****",
"WhiteImages": [
"nginx:latest"
]
}
]
}
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.