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

messagestringMessage metadata for the rule.
modsec_rule_idintegerCorresponding ModSecurity rule ID.
paranoia_levelintegerParanoia level for the rule.
revisionintegerRevision number.
severityintegerSeverity metadata for the rule.
sourcestringThe ModSecurity rule logic.
statestringThe state, indicating if the revision is the most recent version of the rule.
vclstringThe VCL representation of the rule logic.

Endpoints

List revisions for a rule

GET/waf/rules/waf_rule_id/revisions

Get a revision of a rule

GET/waf/rules/waf_rule_id/revisions/waf_rule_revision_number