Queries defense rules against container escapes.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListAegisContainerPluginRule |
list |
*All Resource
|
None | None |
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 elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
CE500770-42D3-442E-9DDD-156E0F9F3B45 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
20 |
| TotalCount |
integer |
The total number of entries returned. |
69 |
| RuleList |
array<object> |
The rules. |
|
|
array<object> |
|||
| GmtCreate |
integer |
The time when the rule was created. Unit: milliseconds. |
1676355025000 |
| GmtModified |
integer |
The time when the rule was modified. Unit: milliseconds. |
1681985833000 |
| RuleId |
integer |
The ID of the rule. |
30**** |
| RuleName |
string |
The name of the rule. |
test-18**** |
| RuleDescription |
string |
The description of the rule. |
system_call |
| RuleTemplateId |
string |
The ID of the rule template. The ListSystemClientRules operation returns the ID of a rule template. |
868** |
| RuleTemplateName |
string |
The name of the rule template. |
system_call |
| Mode |
integer |
The action of the rule. Valid values:
|
1 |
| SelectedPolicy |
array |
The fields in the value of the rule subtype. |
|
|
string |
The field in the value of the rule subtype. |
system_schedule_task |
|
| SwitchId |
string |
The switch ID of the rule. |
USER-ENABLE-SWITCH-TYPE_**** |
| WhiteImages |
array |
The images that are added to the whitelist of the rule. |
|
|
string |
The image that is added to the whitelist of the rule. |
nginx:latest |
|
| Policies |
array<object> |
An array that consists of policies. |
|
|
object |
The information about the policy. |
||
| PolicyKey |
string |
The policy key. |
system_auto_**** |
| PolicyName |
string |
The name of the policy. |
System auto-start task**** |
Examples
Success response
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"
],
"Policies": [
{
"PolicyKey": "system_auto_****",
"PolicyName": "System auto-start task****"
}
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.