Delen via


PolicySettings interface

Defines contents of a web application firewall global configuration

Properties

defaultCustomBlockResponseBody

If the action type is block, customer can override the response body. The body must be specified in base64 encoding.

defaultCustomBlockResponseStatusCode

If the action type is block, this field defines the default customer overridable http response status code.

defaultRedirectUrl

If action type is redirect, this field represents the default redirect URL for the client.

enabledState

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