Queries the information about match conditions in a custom protection rule, such as the match fields, logical characters, and match content.
Operation description
You can call this operation up to 20 times per second per account.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
dcdn:DescribeDcdnWafFilterInfo | get | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DefenseScenes | string | No | The type of the protection policy. Separate multiple types with commas (,). Valid values:
Note
If you do not specify this parameter, all types are returned.
| custom_acl |
Language | string | Yes | The language of the returned information. Valid values:
| cn |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "153ca2cd-3c01-44be-204c-64dbc6c88630",
"Content": [
{
"DefenseScene": "custom_acl",
"Fields": [
{
"ExtendField": "Custom Header\n",
"MatchField": "Header",
"LogicalSymbol": [
{
"Type": "multi",
"Symbol": "match-one",
"Tip": "You can enter up to 50 tips. Press the Enter key.\n",
"Attributes": 1,
"MaxLength": 50,
"Description": "Equal to one of multiple values.\n",
"Regexp": {
"Pattern": "^\\S+$",
"ErrMsg": "Specify this field.\n"
}
}
]
}
]
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-11-21 | The response structure of the API has changed | View Change Details |