PolicyPolicySettingsArgs

data class PolicyPolicySettingsArgs(val enabled: Output<Boolean>? = null, val fileUploadEnforcement: Output<Boolean>? = null, val fileUploadLimitInMb: Output<Int>? = null, val jsChallengeCookieExpirationInMinutes: Output<Int>? = null, val logScrubbing: Output<PolicyPolicySettingsLogScrubbingArgs>? = null, val maxRequestBodySizeInKb: Output<Int>? = null, val mode: Output<String>? = null, val requestBodyCheck: Output<Boolean>? = null, val requestBodyEnforcement: Output<Boolean>? = null, val requestBodyInspectLimitInKb: Output<Int>? = null) : ConvertibleToJava<PolicyPolicySettingsArgs>

Constructors

Link copied to clipboard
constructor(enabled: Output<Boolean>? = null, fileUploadEnforcement: Output<Boolean>? = null, fileUploadLimitInMb: Output<Int>? = null, jsChallengeCookieExpirationInMinutes: Output<Int>? = null, logScrubbing: Output<PolicyPolicySettingsLogScrubbingArgs>? = null, maxRequestBodySizeInKb: Output<Int>? = null, mode: Output<String>? = null, requestBodyCheck: Output<Boolean>? = null, requestBodyEnforcement: Output<Boolean>? = null, requestBodyInspectLimitInKb: Output<Int>? = null)

Properties

Link copied to clipboard
val enabled: Output<Boolean>? = null

Describes if the policy is in enabled state or disabled state. Defaults to true.

Link copied to clipboard
val fileUploadEnforcement: Output<Boolean>? = null

Whether the firewall should block a request with upload size greater then file_upload_limit_in_mb.

Link copied to clipboard
val fileUploadLimitInMb: Output<Int>? = null

The File Upload Limit in MB. Accepted values are in the range 1 to 4000. Defaults to 100.

Link copied to clipboard

Specifies the JavaScript challenge cookie validity lifetime in minutes. The user is challenged after the lifetime expires. Accepted values are in the range 5 to 1440. Defaults to 30.

Link copied to clipboard

One log_scrubbing block as defined below.

Link copied to clipboard
val maxRequestBodySizeInKb: Output<Int>? = null

The Maximum Request Body Size in KB. Accepted values are in the range 8 to 2000. Defaults to 128.

Link copied to clipboard
val mode: Output<String>? = null

Describes if it is in detection mode or prevention mode at the policy level. Valid values are Detection and Prevention. Defaults to Prevention.

Link copied to clipboard
val requestBodyCheck: Output<Boolean>? = null

Is Request Body Inspection enabled? Defaults to true.

Link copied to clipboard
val requestBodyEnforcement: Output<Boolean>? = null

Whether the firewall should block a request with body size greater then max_request_body_size_in_kb. Defaults to true.

Link copied to clipboard
val requestBodyInspectLimitInKb: Output<Int>? = null

Specifies the maximum request body inspection limit in KB for the Web Application Firewall. Defaults to 128.

Functions

Link copied to clipboard
open override fun toJava(): PolicyPolicySettingsArgs