Rules

Rules are universally available for every firewall. Rules can have one or multiple rule revisions. You can add rules to your firewall by creating active rules.

Data model

idstringAlphanumeric string identifying a WAF rule revision.
messagestringMessage metadata for the rule.
modsec_rule_idintegerCorresponding ModSecurity rule ID.
namestringName of the tag.
paranoia_levelintegerParanoia level for the rule.
revisionnumberRevision number.
severityintegerSeverity metadata for the rule.
sourcestringThe ModSecurity rule logic.
statestringThe state, indicating if the revision is the most recent version of the rule.
typestringResource type. [Default waf_rule_revision]
vclstringThe VCL representation of the rule logic.
waf_rule_revisionsobject
waf_tagsobject
publisherstringRule publisher.
relationships.waf_rule_revisions.idstringAlphanumeric string identifying a WAF rule revision.
relationships.waf_tags.idstringAlphanumeric string identifying a WAF tag.

Endpoints

List available WAF rules

Deprecated

GET/waf/rules

Get a rule

Deprecated

GET/waf/rules/waf_rule_id