From 8f7ee5af561f2079a15f627f01d777938fd007da Mon Sep 17 00:00:00 2001 From: Matthew Searle <65017209+matthewsearle01@users.noreply.github.com> Date: Tue, 19 Dec 2023 15:14:09 +0000 Subject: [PATCH] add WAF rule override for SizeRestrictions_Cookie_HEADER --- terraform/environments/dacp/waf.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/terraform/environments/dacp/waf.tf b/terraform/environments/dacp/waf.tf index 84138d85ac8..c42d21b334f 100644 --- a/terraform/environments/dacp/waf.tf +++ b/terraform/environments/dacp/waf.tf @@ -18,6 +18,12 @@ resource "aws_wafv2_web_acl" "dacp_web_acl" { managed_rule_group_statement { name = "AWSManagedRulesCommonRuleSet" vendor_name = "AWS" + rule_action_override { + action_to_use { + allow {} + } + name = "SizeRestrictions_Cookie_HEADER" + } } }