Firewall

Firewall object used when configuring WAF.

Data model

last_pushStringDate and time that VCL was last pushed to cache nodes.
prefetch_conditionStringName of the corresponding condition object.
responseStringName of the corresponding response object.
versionStringThe current version number of a service.
service_idStringThe service ID.
disabledBooleanThe status of the firewall. Defaults to false.
rule_statuses_log_countIntegerThe number of rule statuses set to log.
rule_statuses_block_countIntegerThe number of rule statuses set to block.
rule_statuses_disabled_countIntegerThe number of rule statuses set to disabled.

Endpoints

List firewalls

GET/service/service_id/version/version/wafs

Get a firewall

GET/service/service_id/version/version/wafs/waf_id

Create a firewall

POST/service/service_id/version/version/wafs

Update a firewall

PATCH/service/service_id/version/version/wafs/waf_id

Disable a firewall

PATCH/wafs/id/disable

Enable a firewall

PATCH/wafs/id/enable

List active firewalls

GET/wafs

Get a firewall object

GET/wafs/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.