{ "opencollection": "1.0.0", "info": { "name": "Fastly Account ACL WAF Active Rules API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "Fastly-Key", "value": "{{Fastly-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "WAF Active Rules", "type": "folder" }, "items": [ { "info": { "name": "List active WAF rules", "type": "http" }, "http": { "method": "GET", "url": "https://api.fastly.com/waf/firewalls/:firewall_id/versions/:firewall_version_number/active-rules", "params": [ { "name": "firewall_id", "value": "", "type": "path", "description": "The alphanumeric string identifying the WAF firewall." }, { "name": "firewall_version_number", "value": "", "type": "path", "description": "The version number of the WAF firewall." }, { "name": "page[number]", "value": "", "type": "query", "description": "The page number to retrieve." }, { "name": "page[size]", "value": "", "type": "query", "description": "The number of items per page." } ] }, "docs": "Retrieves a list of all active WAF rules for a specific firewall version." }, { "info": { "name": "Add an active WAF rule", "type": "http" }, "http": { "method": "POST", "url": "https://api.fastly.com/waf/firewalls/:firewall_id/versions/:firewall_version_number/active-rules", "params": [ { "name": "firewall_id", "value": "", "type": "path", "description": "The alphanumeric string identifying the WAF firewall." }, { "name": "firewall_version_number", "value": "", "type": "path", "description": "The version number of the WAF firewall." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds a WAF rule to the active rule set for a specific firewall version." } ] } ], "bundled": true }