-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
web_application_firewall_policy
- Adds support for requestBodyEnforcement
#27094
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR @lcssanches! I left some comments in-line which should be addressed. If you can take a look at those and get them fixed up then I can run the tests and this should be good to go.
...022-07-01/applicationgateways/model_applicationgatewaywebapplicationfirewallconfiguration.go
Outdated
Show resolved
Hide resolved
internal/services/network/web_application_firewall_policy_resource_test.go
Outdated
Show resolved
Hide resolved
internal/services/network/web_application_firewall_policy_resource_test.go
Outdated
Show resolved
Hide resolved
Co-authored-by: stephybun <steph@hashicorp.com>
…urce_test.go Co-authored-by: stephybun <steph@hashicorp.com>
…ork/2022-07-01/applicationgateways/model_applicationgatewaywebapplicationfirewallconfiguration.go Co-authored-by: stephybun <steph@hashicorp.com>
…urce_test.go Co-authored-by: stephybun <steph@hashicorp.com>
Appreciate your review @stephybun . I applied your suggestions, and I've changed the test to make |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lcssanches those changes to the test are exactly what I wanted! The acceptance tests are passing and this will be good to go in once the formatting of the test config has been fixed. You can do this by running
terrafmt fmt -f internal/services/network/web_application_firewall_policy_resource_test.go
done 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lcssanches LGTM 🦖
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Community Note
Description
Add support for
requestBodyEnforcement
available in Application Gateway WAF policy.PR Checklist
For example: “
resource_name_here
- description of change e.g. adding propertynew_property_name_here
”Changes to existing Resource / Data Source
Testing
For state migrations please test the changes locally and provide details here, such as the versions involved in testing the migration path. For further details on testing state migration changes please see our guide on state migrations in the contributor documentation. -->
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
web_application_firewall_policy
- Adds support forrequestBodyEnforcement
This is a (please select all that apply):
Related Issue(s)
Fixes #25420
Note
If this PR changes meaningfully during the course of review please update the title and description as required.