Skip to content

Commit 5643832

Browse files
authored
Merge pull request #1801 from alphagov/whi-tw/waf-switch-off-body-size-count
Disable `SizeRestrictions_BODY:count`
2 parents 3a16944 + b9cab56 commit 5643832

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

  • infra/modules/cloudfront_waf_protection

infra/modules/cloudfront_waf_protection/waf.tf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -378,13 +378,6 @@ resource "aws_wafv2_web_acl" "this" {
378378
managed_rule_group_statement {
379379
name = "AWSManagedRulesCommonRuleSet"
380380
vendor_name = "AWS"
381-
382-
rule_action_override {
383-
name = "SizeRestrictions_BODY"
384-
action_to_use {
385-
count {} # Switch to count action, to check for false positives after applying new bypass rules
386-
}
387-
}
388381
}
389382
}
390383

0 commit comments

Comments
 (0)