Queries the default configurations of a WAF rule.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
QueryArgs | string | No | The query conditions. The value is a string in the JSON format. Format: | {"DefenseScene":"anti_scan"} |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A123425345",
"Content": [
{
"DefenseScene": "anti_scan",
"Rules": [
{
"Type": "waf_group",
"Name": "Default_WafGroup_Rule",
"Status": "on",
"Config": "{\\\"wafGroupIds\\\":\\\"1012\\\"}",
"Action": "block"
}
]
}
]
}
Error codes
For a list of error codes, visit the Service error codes.