Queries the information about the type of the protection policy that you use.
Operation description
You can call this operation up to 20 times per second per user.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DefenseScenes | string | No | The types of the protection policies that you want to query. Separate multiple types with commas (,). Valid values:
Note
If you do not set this parameter, all types of protection policies are queried.
| waf_group,custom_acl,whitelist |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "3D7BB13C-DD84-5654-A835-B8E1385DE274",
"DefenseScenes": [
{
"PolicyCount": 10,
"RuleCount": 12,
"DefenseScene": "waf_group"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.