-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AWS WAFv2 labels on web requests #19486
Comments
I have started work on this here |
Any word on this? Feels stalled despite a complete PR... |
Any progress on this? Waiting eagerly on this new statement support |
Without this feature merged, we are required to run non-terraform tooling to setup these labels in order to filter log events from WAF request logs. Crucial feature when you're not willing to log everything, but only the traffic matching to your WAF rules. |
Any updates on this? |
Hi all 👋 Just letting you know that this is issue is featured on this quarters roadmap. If a PR exists to close the issue a maintainer will review and either make changes directly, or work with the original author to get the contribution merged. If you have written a PR to resolve the issue please ensure the "Allow edits from maintainers" box is checked. Thanks for your patience and we are looking forward to getting this merged soon! |
This functionality has been released in v3.67.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
This would allow for strings to be attached during requests matching certain rules. Additionally, this would allow for a
LabelMatchStatement
to be applied torule
s (see [2]).This allows for:
xss_match_statement
, allow those that match the label and anip_set_reference_statement
, block the rest.New or Affected Resource(s)
New:
label_match_statement
(from [3]), underneathstatement
, as part ofrule
.label
/label_name
(from [4]), underneathrule
, as part ofaws_wafv2_web_acl
oraws_wafv2_rule_group
.aws_wafv2_web_acl_logging_configuration
, it should belabel_name
.label_summary
(from [5]), as an attribute.Affected:
aws_wafv2_web_acl
aws_wafv2_rule_group
label_name_condition
fromaws_wafv2_web_acl_logging_configuration
aws_cloudwatch_metric_alarm
(from [6]), but not in scope for this feature request.Potential Terraform Configuration
Labels when used in aws_wafv2_rule_group
Labels when used in aws_wafv2_web_acl
References
logging_filter
#19051 implemented label matching conditions for logging configurations, but I'm unsure if that is impacted by this feature request.The text was updated successfully, but these errors were encountered: