Skip to content

Commit 32f77ba

Browse files
CCM-14211: Fix WAF rules
1 parent 58d2e30 commit 32f77ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infrastructure/terraform/components/cdn/wafv2_web_acl.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ resource "aws_wafv2_web_acl" "main" {
195195
field_to_match {
196196
uri_path {}
197197
}
198-
regex_string = "^\\/templates(~[a-zA-Z0-9_\\-]{1,26})?\\/(create|edit|upload)\\-letter\\-template(\\/[a-z0-9\\-]*)?$"
198+
regex_string = "^\\/templates(?:~[a-zA-Z0-9_\\-]{1,26})?\\/(?:(?:create|upload|edit)\\-letter\\-template(?:\\/[a-z0-9\\-]*)?|upload\\-(?:standard\\-english|large\\-print|other\\-language|british\\-sign\\-language)\\-letter\\-template)$"
199199
text_transformation {
200200
priority = 10
201201
type = "NONE"

0 commit comments

Comments
 (0)