PolicySettingsResponse

data class PolicySettingsResponse(val customBlockResponseBody: String? = null, val customBlockResponseStatusCode: Int? = null, val fileUploadEnforcement: Boolean? = null, val fileUploadLimitInMb: Int? = null, val jsChallengeCookieExpirationInMins: Int? = null, val logScrubbing: PolicySettingsResponseLogScrubbing? = null, val maxRequestBodySizeInKb: Int? = null, val mode: String? = null, val requestBodyCheck: Boolean? = null, val requestBodyEnforcement: Boolean? = null, val requestBodyInspectLimitInKB: Int? = null, val state: String? = null)

Defines contents of a web application firewall global configuration.

Constructors

Link copied to clipboard
constructor(customBlockResponseBody: String? = null, customBlockResponseStatusCode: Int? = null, fileUploadEnforcement: Boolean? = null, fileUploadLimitInMb: Int? = null, jsChallengeCookieExpirationInMins: Int? = null, logScrubbing: PolicySettingsResponseLogScrubbing? = null, maxRequestBodySizeInKb: Int? = null, mode: String? = null, requestBodyCheck: Boolean? = null, requestBodyEnforcement: Boolean? = null, requestBodyInspectLimitInKB: Int? = null, state: 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

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
val mode: String? = null

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
val state: String? = null

The state of the policy.