WAF

Create a WAF rule.

Adds a new web application firewall rule and returns the created rule.

post/v1/waf/rules

Request

  • Base URL: https://api.scalix.world
  • URL: https://api.scalix.world/v1/waf/rules
  • Auth: HTTP bearer

Request body

namestring required
action'block' | 'log' | 'challenge' | 'rate_limit' required
priorityinteger
enabledboolean

SEC-6: enable/disable a rule. Defaults to enabled on create; on update, this is what makes the toggle actually work (the old update ignored it).

Response

Rule created

idstring uuid required
tenant_idstring

Owning project/tenant. SEC-2: rules and their enforcement are scoped to this — a rule is only ever applied to its own tenant's traffic, and only its owner can see/update/delete it.

namestring required
action'block' | 'log' | 'challenge' | 'rate_limit' required
priorityinteger required
enabledboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.