From ce232f20b6150d1a7fec5e85ea2547f3a17a4854 Mon Sep 17 00:00:00 2001 From: RoseSecurity Date: Tue, 16 Jul 2024 21:58:48 -0500 Subject: [PATCH] fix: cleanup variables --- variables.tf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/variables.tf b/variables.tf index 04b458c..f02f002 100644 --- a/variables.tf +++ b/variables.tf @@ -529,8 +529,8 @@ variable "rate_based_statement_rules" { }), null) }) visibility_config = optional(object({ - cloudwatch_metrics_enabled = optional(bool), - metric_name = string, + cloudwatch_metrics_enabled = optional(bool) + metric_name = string sampled_requests_enabled = optional(bool) }), null) })) @@ -587,6 +587,7 @@ variable "rate_based_statement_rules" { The maximum length of the value is 50 bytes. text_transformation: Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. + See https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/wafv2_web_acl#text-transformation visibility_config: Defines and enables Amazon CloudWatch metrics and web request sample collection.