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. Read only.
active_rules_fastly_log_countIntegerThe number of active Fastly rules set to log on the active or latest firewall version. Read only.
active_rules_fastly_score_countIntegerThe number of active Fastly rules set to score on the active or latest firewall version. Read only.
active_rules_owasp_block_countIntegerThe number of active OWASP rules set to block on the active or latest firewall version. Read only.
active_rules_owasp_log_countIntegerThe number of active OWASP rules set to log on the active or latest firewall version. Read only.
active_rules_owasp_score_countIntegerThe number of active OWASP rules set to score on the active or latest firewall version. Read only.
active_rules_trustwave_block_countIntegerThe number of active Trustwave rules set to block on the active or latest firewall version. Read only.
active_rules_trustwave_log_countIntegerThe number of active Trustwave rules set to log on the active or latest firewall version. Read only.
created_atStringTime-stamp (GMT) when the firewall was created. Read only.
disabledBooleanThe status of the firewall. Defaults to false.
prefetch_conditionStringName of the corresponding condition object.
responseStringName of the corresponding response object.
service_idStringThe service ID. Read only.
service_version_numberIntegerThe current version number of a service. Read only.
updated_atStringTime-stamp (GMT) when the firewall was last updated. Read only.

Endpoints

List firewalls

GET/waf/firewalls

Get a firewall

GET/waf/firewalls/id

Create a firewall

POST/waf/firewalls

Update a firewall

PATCH/waf/firewalls/id

Disable a firewall

PATCH/waf/firewalls/id

Enable a firewall

PATCH/waf/firewalls/id

Delete a firewall

DELETE/waf/firewalls/id

User contributed notes

We welcome comments that add use cases, ideas, tips, and caveats. All comments will be moderated before publication. To post support questions, visit our support center and we'll find you the help you need.