Skip to content
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 support for custom responses for more rules, such as size_constraint_statement_rules #95

Open
maggie-weber opened this issue Aug 12, 2024 · 0 comments

Comments

@maggie-weber
Copy link

Describe the Feature

When manually configuring WAF rules, users can configure custom responses for rule types like size_constraint. The Terraform resources on which this is based also seems to support this, but the configuration hasn't been extended out to this module.

The field is already configurable for rule_group_reference_statement_rules.rule_action_override.custom_response and managed_rule_group_statement_rules.rule_action_override.custom_response.

Expected Behavior

The custom_response block that already exists should be extended to other rule types where it is support by AWS and the underlying Terraform resources.

Use Case

I would like to provide a contextual error message to consumers of my API when the request size is too large.

Describe Ideal Solution

The custom_response block that already exists should be extended to other rule types where it is support by AWS and the underlying Terraform resources.

Alternatives Considered

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant