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

statusStringDescribes the behavior for the particular rule within this firewall. Permitted values: log, block, and disabled.
modsec_rule_idStringThe ModSecurity rule ID.
unique_rule_idStringThe Rule ID.

Endpoints

List rule statuses

GET/service/service_id/wafs/waf_id/rule_statuses

Get the status of a rule on a firewall

GET/service/service_id/wafs/waf_id/rules/rule_id/rule_status

Update the status of a rule

PATCH/service/service_id/wafs/waf_id/rules/rule_id/rule_status

Create or update status of a tagged group of rules

POST/service/service_id/wafs/waf_id/rule_statuses

User contributed notes

We welcome comments that add use cases, ideas, tips, and caveats. All comments will be moderated before publication. To post support questions, visit our support center and we'll find you the help you need.