Queries the details of a custom WAF rule group by page.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Language | string | Yes | The language of the response. Valid values:
| zh |
Id | long | Yes | The ID of the WAF rule group. You can query the ID by calling the DescribeDcdnWafGroups operation. | 1012 |
Scope | string | Yes | The range of the rule group to be queried.
| in |
QueryArgs | string | No | The query conditions. The value is a JSON string in the following format:
Note
If you do not specify this parameter, all protection rules are queried.
| {\"RiskLevel\":\"\",\"ProtectionType\":\"\",\"ApplicationType\":\"\",\"RuleIdLike\":\"\"} |
PageNumber | integer | No | The number of the page to return. Default value: 1. | 1 |
PageSize | integer | No | The number of entries to return on each page. Default value: 20. | 20 |
Response parameters
Examples
Sample success responses
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
For a list of error codes, visit the Service error codes.