Skip to main content
PUT
Give a project an edge WAF policy

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

One of the organisation's projects, by id or slug.

Body

application/json

An edge WAF policy. Monitor logs matches without blocking; off skips inspection. Strict runs the OWASP Core Rule Set at paranoia level 2, standard at level 1.

mode
enum<string>
required
Available options:
block,
monitor,
off
sensitivity
enum<string>
required
Available options:
standard,
strict

Response

The project's WAF settings

waf_settings
object
required

A project's edge WAF: the policy every zone of the project without a policy of its own follows, ahead of the zones above it. A hostname's or a zone's own policy still wins.