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

New Feature: Support for Custom Response Bodies #120

Open xgt001 opened 1 year ago

xgt001 commented 1 year ago

In relevance of the changes to https://github.com/trussworks/terraform-aws-wafv2/issues/86 , I am trying to provide preliminary support for custom response bodies for "block" action.

If the maintainers are interesting in accepting this change, I am happy to update it and bring further refinements here, such as adding support for JSON and HTTP type responses and adding support for multiple custom response bodies in the given WAF

rpdelaney commented 1 year ago

@xgt001 Sorry for the slow turn around on this. It's still on our radar and we hope to get it reviewed soon.