WafRuleGroup

WafRuleGroup
WafRuleGroup
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"
        }
    ],
    "index": 0,
    "name": "string",
    "rules": [
        {
            "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"
                }
            ],
            "index": 0,
            "is_sensitive": false,
            "mode": "string",
            "name": "string",
            "paranoia_level": "string",
            "phase": "string",
            "rule": "string",
            "rule_id": "string",
            "tags": [
                "string"
            ]
        }
    ]
}
boolean
enable
Required

Enable or disable WAF Rule Group. Field introduced in 17.2.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

exclude_list
Optional

Exclude list for the WAF rule group. The fields in the exclude list entry are logically and'ed to deduce the exclusion criteria. If there are multiple excludelist entries, it will be 'logical or' of them. Field introduced in 17.2.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As uint32 As uint32
index
Required

Field introduced in 17.2.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
name
Required

Field introduced in 17.2.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

array of WafRule
rules
Optional

Rules as per Modsec language. Field introduced in 17.2.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.