hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.76k stars 9.12k forks source link

[Enhancement]: Add ChallengeConfig and CaptchaConfig #29071

Open xandors opened 1 year ago

xandors commented 1 year ago

Description

ChallengeConfig and CaptchaConfig enable setting WAFv2 Captcha and Challenge action token time different from 5 minutes

Affected Resource(s) and/or Data Source(s)

aws_wafv2_web_acl aws_wafv2_rule_group

Potential Terraform Configuration

"CaptchaConfig": { 
            "ImmunityTimeProperty": { 
               "ImmunityTime": number
            }
         },
         "ChallengeConfig": { 
            "ImmunityTimeProperty": { 
               "ImmunityTime": number
            }
         },

References

https://docs.aws.amazon.com/waf/latest/APIReference/API_CreateRuleGroup.html https://docs.aws.amazon.com/waf/latest/APIReference/API_Rule.html#WAF-Type-Rule-CaptchaConfig https://docs.aws.amazon.com/waf/latest/APIReference/API_Rule.html#WAF-Type-Rule-ChallengeConfig

Would you like to implement a fix?

None

github-actions[bot] commented 1 year ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

russl commented 1 year ago

I see the captcha_config has been added. The challenge_config is missing still.