Rules

Rules are universally available for every firewall. Rules can have one or multiple rule revisions. You can add rules to your firewall by creating active rules.

Data model

modsec_rule_idIntegerCorresponding ModSecurity rule ID. Read only.
publisherStringRule publisher. Values will be fastly, trustwave, or owasp. Read only.
typeStringThe rule's type. Values will be strict, score, or threshold. Read only.

Endpoints

List available WAF rules

GET/waf/rules

Get a rule

GET/waf/rules/id

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.