List available WAF rules

GET {{fastly_url}}/waf/rules?filter[modsec_rule_id]&filter[waf_firewall.id][not][match]&filter[waf_rule_revisions][source]&filter[waf_tags][name]&include&page[number]&page[size]

List all available WAF rules.

Authorization: API token with at least Engineer permissions.

Request Params

KeyDatatypeRequiredDescription
filter[modsec_rule_id]nullLimit the returned rules to a specific ModSecurity rule ID.
filter[waf_firewall.id][not][match]nullLimit the returned rules to a set not included in the active firewall version for a firewall.
filter[waf_rule_revisions][source]nullLimit the returned rules to a set linked to a source.
filter[waf_tags][name]nullLimit the returned rules to a set linked to a tag by name.
includenullInclude relationships. Optional, comma-separated values. Permitted values: waf_tags and waf_rule_revisions.
page[number]nullCurrent page.
page[size]nullNumber of records per page.

HEADERS

KeyDatatypeRequiredDescription
Hoststring
Acceptstring