Getting started Community Training Tutorials Documentation APIs, AI & Tools
- policyRef:
name: injection-protection-flex
config:
builtInProtections: ["sql", "xss"] // REQUIRED: include "sql", "xss", or both
customProtections: [] // OPTIONAL: list of { name: <string>, regex: <string> }
protectPathAndQuery: <bool> // REQUIRED
protectHeaders: <bool> // REQUIRED
protectBody: <bool> // REQUIRED
headersToProtect: <string> // OPTIONAL, default: "" (empty = all headers)
rejectRequests: <bool> // REQUIRED: true = reject with 400, false = allow and log



