cloudposse / terraform-aws-waf

https://cloudposse.com/accelerate
Apache License 2.0
41 stars 58 forks source link

CAPTCHA action is not supported #28

Closed vitali-federau-fivestars closed 1 year ago

vitali-federau-fivestars commented 1 year ago

Found a bug? Maybe our Slack Community can help.

Slack Community

Describe the Bug

Using action "captcha" is not supported, in addition custom parameters of captcha action are not supported like custom_request_handling

Expected Behavior

Expect captcha action to work, if more detailed, in rendered template it should render as action { captcha {} } And ideally with an ability to modify the block inside please

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to any rule that support CAPTCHA action
  2. In main code block use something like name = "geo-location-rule" action = "captcha"
  3. Try to apply
  4. It will show in action block action { }
  5. Plan successfull
  6. Apply failing

Screenshots

image

Environment (please complete the following information):

Anything that will help us triage the bug will help. Here are some ideas:

Additional Context

None