Skip to content

Commit

Permalink
Exclusions to Web Application Firewall policy to allow HTML in edit t…
Browse files Browse the repository at this point in the history
…ext box for blocks (#684)
  • Loading branch information
sunny-sidhu-and authored Jan 24, 2024
1 parent e2410f1 commit b56a99b
Showing 1 changed file with 72 additions and 0 deletions.
72 changes: 72 additions & 0 deletions terraform-azure/terraform-azure-web/appgateway.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,78 @@ resource "azurerm_web_application_firewall_policy" "agw_wafp" {
enabled = false
}
}

rule_group_override {
rule_group_name = "REQUEST-932-APPLICATION-ATTACK-RCE"
rule {
id = "932100"
enabled = false
}
rule {
id = "932115"
enabled = false
}
}

rule_group_override {
rule_group_name = "REQUEST-941-APPLICATION-ATTACK-XSS"
rule {
id = "941150"
enabled = false
}
rule {
id = "941320"
enabled = false
}
rule {
id = "941340"
enabled = false
}
}

rule_group_override {
rule_group_name = "REQUEST-942-APPLICATION-ATTACK-SQLI"
rule {
id = "942200"
enabled = false
}
rule {
id = "942210"
enabled = false
}
rule {
id = "942130"
enabled = false
}
rule {
id = "942260"
enabled = false
}
rule {
id = "942370"
enabled = false
}
rule {
id = "942380"
enabled = false
}
rule {
id = "942430"
enabled = false
}
rule {
id = "942440"
enabled = false
}
}

rule_group_override {
rule_group_name = "REQUEST-933-APPLICATION-ATTACK-PHP"
rule {
id = "933210"
enabled = false
}
}
}

managed_rule_set {
Expand Down

0 comments on commit b56a99b

Please sign in to comment.