RegexPatternRule
Defined in: packages/gateway/src/policies/traffic/regex-threat-protection.ts:16
A single pattern rule with target areas and optional custom message.
Properties
Section titled “Properties”message?
Section titled “message?”
optionalmessage?:string
Defined in: packages/gateway/src/policies/traffic/regex-threat-protection.ts:22
Custom error message when this pattern matches.
regex:
string
Defined in: packages/gateway/src/policies/traffic/regex-threat-protection.ts:18
Regular expression pattern string.
targets
Section titled “targets”targets: (
"headers"|"query"|"body"|"path")[]
Defined in: packages/gateway/src/policies/traffic/regex-threat-protection.ts:20
Which parts of the request to scan.