|
@@ -48,8 +48,19 @@ resource "aws_wafregional_size_constraint_set" "csrf_token_set" {
|
|
|
|
|
|
size_constraints {
|
|
|
text_transformation = "NONE"
|
|
|
- comparison_operator = "EQ"
|
|
|
- size = "118"
|
|
|
+ comparison_operator = "GT"
|
|
|
+ size = "50"
|
|
|
+
|
|
|
+ field_to_match {
|
|
|
+ type = "HEADER"
|
|
|
+ data = "cookie"
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ size_constraints {
|
|
|
+ text_transformation = "NONE"
|
|
|
+ comparison_operator = "LT"
|
|
|
+ size = "256"
|
|
|
|
|
|
field_to_match {
|
|
|
type = "HEADER"
|