PolicySettings interface
Defines contents of a web application firewall global configuration
Properties
default |
If the action type is block, customer can override the response body. The body must be specified in base64 encoding. |
default |
If the action type is block, this field defines the default customer overridable http response status code. |
default |
If action type is redirect, this field represents the default redirect URL for the client. |
enabled |
describes if the policy is in enabled state or disabled state |
mode | Describes if it is in detection mode or prevention mode at policy level. |
Property Details
defaultCustomBlockResponseBody
If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
defaultCustomBlockResponseBody?: string
Property Value
string
defaultCustomBlockResponseStatusCode
If the action type is block, this field defines the default customer overridable http response status code.
defaultCustomBlockResponseStatusCode?: number
Property Value
number
defaultRedirectUrl
If action type is redirect, this field represents the default redirect URL for the client.
defaultRedirectUrl?: string
Property Value
string
enabledState
describes if the policy is in enabled state or disabled state
enabledState?: string
Property Value
string
mode
Describes if it is in detection mode or prevention mode at policy level.
mode?: string
Property Value
string