Get a rule

GET {{fastly_url}}/waf/rules/{{waf_rule_id}}?include

Get a specific rule. The id provided can be the ModSecurity Rule ID or the Fastly generated rule ID.

Authorization: API token with at least Engineer permissions.

Request Params

KeyDatatypeRequiredDescription
includenullInclude relationships. Optional, comma-separated values. Permitted values: waf_tags and waf_rule_revisions.

HEADERS

KeyDatatypeRequiredDescription
Hoststring
Acceptstring