ApplicationGatewayWafConfiguration

data class ApplicationGatewayWafConfiguration(val disabledRuleGroups: List<ApplicationGatewayWafConfigurationDisabledRuleGroup>? = null, val enabled: Boolean, val exclusions: List<ApplicationGatewayWafConfigurationExclusion>? = null, val fileUploadLimitMb: Int? = null, val firewallMode: String, val maxRequestBodySizeKb: Int? = null, val requestBodyCheck: Boolean? = null, val ruleSetType: String? = null, val ruleSetVersion: String)

Constructors

Link copied to clipboard
constructor(disabledRuleGroups: List<ApplicationGatewayWafConfigurationDisabledRuleGroup>? = null, enabled: Boolean, exclusions: List<ApplicationGatewayWafConfigurationExclusion>? = null, fileUploadLimitMb: Int? = null, firewallMode: String, maxRequestBodySizeKb: Int? = null, requestBodyCheck: Boolean? = null, ruleSetType: String? = null, ruleSetVersion: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

One or more disabled_rule_group blocks as defined below.

Link copied to clipboard

Is the Web Application Firewall enabled?

Link copied to clipboard

One or more exclusion blocks as defined below.

Link copied to clipboard
val fileUploadLimitMb: Int? = null

The File Upload Limit in MB. Accepted values are in the range 1MB to 750MB for the WAF_v2 SKU, and 1MB to 500MB for all other SKUs. Defaults to 100MB.

Link copied to clipboard

The Web Application Firewall Mode. Possible values are Detection and Prevention.

Link copied to clipboard

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

Link copied to clipboard

Is Request Body Inspection enabled? Defaults to true.

Link copied to clipboard
val ruleSetType: String? = null

The Type of the Rule Set used for this Web Application Firewall. Possible values are OWASP, Microsoft_BotManagerRuleSet and Microsoft_DefaultRuleSet. Defaults to OWASP.

Link copied to clipboard

The Version of the Rule Set used for this Web Application Firewall. Possible values are 0.1, 1.0, 1.1, 2.1, 2.2.9, 3.0, 3.1 and 3.2.