GET /waf/firewalls/{firewall_id}/versions/{version_id}/active-rules
List all active rules for a particular firewall version.
Authorization: API token with at least Engineer permissions.
Servers
- https://api.fastly.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
firewall_id |
String | Yes | |
version_id |
String | Yes |
Request headers
Name | Type | Required | Description |
---|---|---|---|
host |
String | No |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
filter[waf_rule_revision][modsec_rule_id] |
String | No |
Limit results to active rules that represent the specified ModSecurity modsec_rule_id. |
include |
String | No |
Include relationships. Optional, comma-separated values. Permitted values: waf_rule_revision and waf_firewall_version. |
page[number] |
String | No |
Current page. |
filter[status] |
String | No |
Limit results to active rules with the specified status. |
filter[outdated] |
String | No |
Limit results to active rules referencing an outdated rule revision. |
page[size] |
String | No |
Number of records per page. |
filter[waf_rule_revision][message] |
String | No |
Limit results to active rules with the specified message. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.