Policy Settings Args
data class PolicySettingsArgs(val defaultCustomBlockResponseBody: Output<String>? = null, val defaultCustomBlockResponseStatusCode: Output<Int>? = null, val defaultRedirectUrl: Output<String>? = null, val enabledState: Output<Either<String, PolicyEnabledState>>? = null, val mode: Output<Either<String, PolicyMode>>? = null) : ConvertibleToJava<PolicySettingsArgs>
Defines contents of a web application firewall global configuration
Constructors
Link copied to clipboard
constructor(defaultCustomBlockResponseBody: Output<String>? = null, defaultCustomBlockResponseStatusCode: Output<Int>? = null, defaultRedirectUrl: Output<String>? = null, enabledState: Output<Either<String, PolicyEnabledState>>? = null, mode: Output<Either<String, PolicyMode>>? = null)
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
describes if the policy is in enabled state or disabled state
Link copied to clipboard
Describes if it is in detection mode or prevention mode at policy level.