Policy Settings Args
data class PolicySettingsArgs(val customBlockResponseBody: Output<String>? = null, val customBlockResponseStatusCode: Output<Int>? = null, val fileUploadEnforcement: Output<Boolean>? = null, val fileUploadLimitInMb: Output<Int>? = null, val jsChallengeCookieExpirationInMins: Output<Int>? = null, val logScrubbing: Output<PolicySettingsLogScrubbingArgs>? = null, val maxRequestBodySizeInKb: Output<Int>? = null, val mode: Output<Either<String, WebApplicationFirewallMode>>? = null, val requestBodyCheck: Output<Boolean>? = null, val requestBodyEnforcement: Output<Boolean>? = null, val requestBodyInspectLimitInKB: Output<Int>? = null, val state: Output<Either<String, WebApplicationFirewallEnabledState>>? = null) : ConvertibleToJava<PolicySettingsArgs>
Defines contents of a web application firewall global configuration.
Constructors
Link copied to clipboard
constructor(customBlockResponseBody: Output<String>? = null, customBlockResponseStatusCode: Output<Int>? = null, fileUploadEnforcement: Output<Boolean>? = null, fileUploadLimitInMb: Output<Int>? = null, jsChallengeCookieExpirationInMins: Output<Int>? = null, logScrubbing: Output<PolicySettingsLogScrubbingArgs>? = null, maxRequestBodySizeInKb: Output<Int>? = null, mode: Output<Either<String, WebApplicationFirewallMode>>? = null, requestBodyCheck: Output<Boolean>? = null, requestBodyEnforcement: Output<Boolean>? = null, requestBodyInspectLimitInKB: Output<Int>? = null, state: Output<Either<String, WebApplicationFirewallEnabledState>>? = 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, customer can override the response status code.
Link copied to clipboard
Whether allow WAF to enforce file upload limits.
Link copied to clipboard
Maximum file upload size in Mb for WAF.
Link copied to clipboard
Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
Link copied to clipboard
To scrub sensitive log fields
Link copied to clipboard
Maximum request body size in Kb for WAF.
Link copied to clipboard
The mode of the policy.
Link copied to clipboard
Whether to allow WAF to check request Body.
Link copied to clipboard
Whether allow WAF to enforce request body limits.
Link copied to clipboard
Max inspection limit in KB for request body inspection for WAF.
Link copied to clipboard
The state of the policy.