FrontDoorPolicySettingsResponse

data class FrontDoorPolicySettingsResponse(val customBlockResponseBody: String? = null, val customBlockResponseStatusCode: Int? = null, val enabledState: String? = null, val mode: String? = null, val redirectUrl: String? = null, val requestBodyCheck: String? = null)

Defines top-level WebApplicationFirewallPolicy configuration settings.

Constructors

Link copied to clipboard
constructor(customBlockResponseBody: String? = null, customBlockResponseStatusCode: Int? = null, enabledState: String? = null, mode: String? = null, redirectUrl: String? = null, requestBodyCheck: 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, customer can override the response status code.

Link copied to clipboard
val enabledState: String? = null

Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.

Link copied to clipboard
val mode: String? = null

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

Link copied to clipboard
val redirectUrl: String? = null

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

Link copied to clipboard

Describes if policy managed rules will inspect the request body content.