WAFSettings
WAFSettings objectmodestring requiredAllowed values:"off""detect""block"paranoiainteger required- minimum 1
- maximum 4
thresholdinteger requiredInbound anomaly score that blocks
- minimum 2
- maximum 100
presetsarray<string> requiredAllowed values:"wordpress""laravel""joomla""drupal"allow_ipsarray<string> requiredfail_modestring requiredAllowed values:"open""closed"body_limit_kbinteger required- minimum 64
- maximum 1048576
over_limitstring requiredAllowed values:"partial""reject"static_bypassboolean optionalOff by default. On: IIS serves the site's existing static files (WAFStaticBypass.extensions) without the firewall, for GET/HEAD without a body, a plain query string and path (ADR 0106, D16). Refused when the plan forbids it (WAF_STATIC_NOT_IN_PLAN) or the site runs an application (WAF_STATIC_APPLICATION). Those requests are not inspected and never appear among the firewall's events.
Used by
| PUT | /api/v1/tenants/{tid}/sites/{id}/waf | Apply the site's firewall settings; turning it on needs URL Rewrite, ARR and a plan that includes it |