Call DescribeDcdnWafFilterInfo to query the match fields, logical operators, and match content available for custom mitigation policies.
Operation description
The maximum number of calls that can be made by a single user is 20 per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnWafFilterInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DefenseScenes |
string |
No |
The types of mitigation settings. Separate multiple types with commas (,). The following scenarios are supported:
Note
If you do not specify this parameter, information for all types is returned. |
custom_acl |
| Language |
string |
Yes |
The language of the response. Valid values:
|
cn |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
153ca2cd-3c01-44be-204c-64dbc6c88630 |
| Content |
array<object> |
The queried information. |
|
|
object |
|||
| DefenseScene |
string |
The type of the mitigation setting. This is the same as the DefenseScene request parameter. |
custom_acl |
| Fields |
array<object> |
Information about the match conditions. |
|
|
object |
|||
| ExtendField |
string |
An extended tip for the match field. If this parameter is empty or not returned, no extended field is available. |
自定义Header |
| MatchField |
string |
The match field. |
Header |
| LogicalSymbol |
array<object> |
The logical operator. |
|
|
object |
|||
| Type |
string |
The number of match content entries that you can specify. Valid values:
|
multi |
| Symbol |
string |
The logical operator that is passed to the backend. |
match-one |
| Tip |
string |
The tip that is displayed for the match content. |
可以输入多个,最多50个,按回车键确认 |
| Attributes |
integer |
The configurable properties. This is a bit field variable. For more information, see the following table.
|
1 |
| MaxLength |
integer |
The maximum number of match content entries that you can specify. The value of this parameter varies based on the value of Type:
|
50 |
| Description |
string |
The logical operator displayed in the console. |
等于多值之一 |
| Regexp |
object |
The regular expression. |
|
| Pattern |
string |
The regular expression. |
^\S+$ |
| ErrMsg |
string |
The error message returned if the content does not match the regular expression. |
字段不能为空 |
Examples
Success response
JSON format
{
"RequestId": "153ca2cd-3c01-44be-204c-64dbc6c88630",
"Content": [
{
"DefenseScene": "custom_acl",
"Fields": [
{
"ExtendField": "自定义Header",
"MatchField": "Header",
"LogicalSymbol": [
{
"Type": "multi",
"Symbol": "match-one",
"Tip": "可以输入多个,最多50个,按回车键确认",
"Attributes": 1,
"MaxLength": 50,
"Description": "等于多值之一",
"Regexp": {
"Pattern": "^\\S+$",
"ErrMsg": "字段不能为空"
}
}
]
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.