Rule

Rules used when configuring WAF.

Data model

messagestringMessage metadata for the rule.
rule_idstringCorresponding ModSecurity rule ID.
severityintegerSeverity metadata for the rule.
sourcestringThe ModSecurity rule logic.
vclstringThe VCL representation of the rule logic.

Endpoints

List rules in the latest configuration set

GET/wafs/rules

Get a rule

GET/wafs/rules/waf_rule_id

Get VCL for a rule

GET/wafs/rules/waf_rule_id/vcl

Get VCL for a rule associated with a firewall

GET/wafs/firewall_id/rules/waf_rule_id/vcl