WafRuleOverrides

WafRuleOverrides
WafRuleOverrides
JSON Example
{
    "enable": false,
    "exclude_list": [
        {
            "client_subnet": {
                "ip_addr": {
                    "addr": "string",
                    "type": "string"
                },
                "mask": 0
            },
            "description": "string",
            "match_element": "string",
            "match_element_criteria": {
                "match_case": "string",
                "match_op": "string"
            },
            "uri_match_criteria": {
                "match_case": "string",
                "match_op": "string"
            },
            "uri_path": "string"
        }
    ],
    "mode": "string",
    "rule_id": "string"
}
boolean
enable
Optional

Override the enable flag for this rule. Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

exclude_list
Optional

Replace the exclude list for this rule. Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
mode
Optional

Override the waf mode for this rule. Enum options - WAF_MODE_DETECTION_ONLY, WAF_MODE_ENFORCEMENT. Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
rule_id
Required

The rule_id of the rule where attributes are overridden. Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.