Rule status

A Rule status represents the status of a particular rule for a given firewall. For a rule to be attached to a particular firewall and performing any actions, a rule status must exist.

Data model

modsec_rule_idstringThe ModSecurity rule ID.
statusstringDescribes the behavior for the particular rule within this firewall. Permitted values: log, block, and disabled.
unique_rule_idstringThe Rule ID.

Endpoints

List rule statuses

GET/service/service_id/wafs/firewall_id/rule_statuses

Create or update status of a tagged group of rules

POST/service/service_id/wafs/firewall_id/rule_statuses

Get the status of a rule on a firewall

GET/service/service_id/wafs/firewall_id/rules/waf_rule_id/rule_status

Update the status of a rule

PATCH/service/service_id/wafs/firewall_id/rules/waf_rule_id/rule_status