PolicySettingsResponse

data class PolicySettingsResponse(val defaultCustomBlockResponseBody: String? = null, val defaultCustomBlockResponseStatusCode: Int? = null, val defaultRedirectUrl: String? = null, val enabledState: String? = null, val mode: String? = null)

Defines contents of a web application firewall global configuration

Constructors

Link copied to clipboard
constructor(defaultCustomBlockResponseBody: String? = null, defaultCustomBlockResponseStatusCode: Int? = null, defaultRedirectUrl: String? = null, enabledState: String? = null, mode: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val enabledState: String? = null

describes if the policy is in enabled state or disabled state

Link copied to clipboard
val mode: String? = null

Describes if it is in detection mode or prevention mode at policy level.