Firewall

A firewall represents a configuration of a Web Application Firewall (WAF) on a service. A firewall has many firewall versions through which you can manage rules.

Data model

active_rules_fastly_block_countintegerThe number of active Fastly rules set to block on the active or latest firewall version.
active_rules_fastly_log_countintegerThe number of active Fastly rules set to log on the active or latest firewall version.
active_rules_fastly_score_countintegerThe number of active Fastly rules set to score on the active or latest firewall version.
active_rules_owasp_block_countintegerThe number of active OWASP rules set to block on the active or latest firewall version.
active_rules_owasp_log_countintegerThe number of active OWASP rules set to log on the active or latest firewall version.
active_rules_owasp_score_countintegerThe number of active OWASP rules set to score on the active or latest firewall version.
active_rules_trustwave_block_countintegerThe number of active Trustwave rules set to block on the active or latest firewall version.
active_rules_trustwave_log_countintegerThe number of active Trustwave rules set to log on the active or latest firewall version.
created_atstringTime-stamp (GMT) when the firewall was created.
disabledbooleanThe status of the firewall.
prefetch_conditionstringName of the corresponding condition object.
responsestringName of the corresponding response object.
service_idstringAlphanumeric string identifying the service.
service_version_numberintegerInteger identifying a service version.
updated_atstringTime-stamp (GMT) when the firewall was last updated.

Endpoints

List firewalls

GET/waf/firewalls

Create a firewall

POST/waf/firewalls

Get a firewall

GET/waf/firewalls/firewall_id

Delete a firewall

DELETE/waf/firewalls/firewall_id

Update a firewall

PATCH/waf/firewalls/firewall_id