Queries the details of a custom Web Application Firewall (WAF) rule group. The results are paginated.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnWafGroup |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Language |
string |
Yes |
The language of the response. Valid values:
|
zh |
| Id |
integer |
Yes |
The ID of the WAF rule group. You can call DescribeDcdnWafGroups to query the ID. |
1012 |
| Scope |
string |
Yes |
The scope of the rule group to query.
|
in |
| QueryArgs |
string |
No |
The query conditions, as a JSON-serialized string. The format is as follows:
Note
If you do not specify this parameter, all rules are returned. |
{"RiskLevel":"","ProtectionType":"","ApplicationType":"","RuleIdLike":""} |
| PageNumber |
integer |
No |
The page number. The default value is 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. The default value is 20. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request ID. |
||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| Id |
integer |
The ID of the custom WAF rule group. |
1012 |
| Name |
string |
The name of the WAF rule group. |
test |
| TemplateId |
integer |
The template ID. |
1012 |
| Subscribe |
string |
Indicates whether the subscription is enabled. Valid values:
|
on |
| TotalCount |
integer |
The total number of filtered rules. |
16 |
| Rules |
array<object> |
The rule details. |
|
|
object |
|||
| GmtModified |
string |
The time when the rule was last modified. |
2021-12-29T17:08:45Z |
| Id |
integer |
The ID of the custom WAF rule. |
100001 |
| Name |
string |
The name of the WAF rule. |
test |
| Description |
string |
The description of the WAF rule. |
OK |
| RiskLevel |
integer |
The risk level of the rule. Valid values:
|
2 |
| ProtectionType |
integer |
The protection type. Valid values:
|
11 |
| ApplicationType |
integer |
The application type. Valid values:
|
1 |
| CveId |
string |
The CVE ID. |
CVE-2021-22945 |
| CveUrl |
string |
The CVE URL. |
https://nxx.nxxx.gov/vuln/detail/CVE-2022-XXXX |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries to return on each page. The default value is 20. |
20 |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"Id": 1012,
"Name": "test",
"TemplateId": 1012,
"Subscribe": "on",
"TotalCount": 16,
"Rules": [
{
"GmtModified": "2021-12-29T17:08:45Z",
"Id": 100001,
"Name": "test",
"Description": "OK",
"RiskLevel": 2,
"ProtectionType": 11,
"ApplicationType": 1,
"CveId": "CVE-2021-22945",
"CveUrl": "https://nxx.nxxx.gov/vuln/detail/CVE-2022-XXXX"
}
],
"PageNumber": 1,
"PageSize": 20
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.