Rule revisions

Rule revisions track new variations of rules as they change over time with enhancements, fixes, and improvements. This object allows you to find a specific variation of a rule for use in your application. An active rule on a firewall uses a specific rule revision.

Data model

idstringAlphanumeric string identifying a WAF rule revision.
messagestringMessage metadata for the rule.
modsec_rule_idintegerCorresponding ModSecurity rule ID.
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.
relationships.waf_rule.idstringAlphanumeric string identifying a WAF rule.

Endpoints

List revisions for a rule

Deprecated

GET/waf/rules/waf_rule_id/revisions

Get a revision of a rule

Deprecated

GET/waf/rules/waf_rule_id/revisions/waf_rule_revision_number