Open rlaveycal opened 3 months ago
It should also allow for setting the fileUploadEnforcement setting to true or false (file_upload_enforcement)
Ran into this issue today as well. We have a need to have a request body larger than the maximum 2000Kb and so having the request_body_enforcement flag defaulted to on and not being able to set it via terraform is an issue.
@rcskosir When this enhancement will be taken care, We are facing issue in disabling this option.
Is there an existing issue for this?
Community Note
Description
azurerm_web_application_firewall_policy has a property to control whether the body size should be enforced. This is separate from whether the body should be inspected.
i.e. it is possible to enable body inspection but prevent rejection is the body exceeds the
maxRequestBodySizeInKb
See here for the CLI docs
New or Affected Resource(s)/Data Source(s)
azurerm_web_application_firewall_policy
Potential Terraform Configuration
References
No response