SecurityUA Restriction
UA Restriction Configuration
Parameters
See plugin common configurations for configuration options available to all plugins.
-
bypass_missing—boolean· optional · default:falseIf true, bypass the user agent restriction check when the
User-Agentheader is missing. -
allowlist—array[string]· optionalList of user agents to allow. Support regular expressions.
At least one of the
allowlistanddenylistshould be configured, but they cannot be configured at the same time. -
denylist—array[string]· optionalList of user agents to deny. Support regular expressions.
At least one of the
allowlistanddenylistshould be configured, but they cannot be configured at the same time. -
message—string· optional · default:Not allowedMessage returned when the user agent is denied access.