trussworks / terraform-aws-wafv2

Creates a WAF using AWS WAFv2 and AWS Managed Rule Sets
https://registry.terraform.io/modules/trussworks/wafv2
Apache License 2.0
104 stars 58 forks source link

Support for Scope Down Statements #85

Closed ybudweiser closed 1 year ago

ybudweiser commented 2 years ago

Is it possible to enhance the Rule Object to include a scope_down_statement so that particular requests can be excluded from the rule group.

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/wafv2_web_acl#scope_down_statement https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-scope-down-statements.html { "excluded_rules": [], "name": "AWSManagedRulesCommonRuleSet", "override_action": "none", "priority": 10, "scope_down_statement": }

rpdelaney commented 1 year ago

@ybudweiser To make sure we understand your request: you want an input variable that will pass-through to the scope_down_statement argument of the aws_wafv2_web_acl, right?

rpdelaney commented 1 year ago

@ybudweiser If you can send us a pull request, we'll take a look!