Getting 403 forbidden error when enabling OWASP 3.2 and Enforce request body inspection limit

Umang Raichura 0 Reputation points
2024-08-09T06:36:56.9+00:00

User's image

There is one function in my web site to download the documents also i have 182 rules Enabled in prevention (Mode)
User's image

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,065 questions
Azure Web Application Firewall
Azure ISV (Independent Software Vendors) and Startups
Azure ISV (Independent Software Vendors) and Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.ISV (Independent Software Vendors) and Startups: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
93 questions
{count} votes

1 answer

Sort by: Most helpful
  1. akinbade abiola 16,555 Reputation points
    2024-08-09T07:40:48.3366667+00:00

    Try increasing both the max request body inspection limit and equest body size to match your file upload limit (100 MB or 102400 KB).

    You can also WAF logs to see exactly which rules are triggering the 403 errors.

    If the above does not work, temporarily switch your WAF to detection mode to see which requests would be blocked without actually blocking them.

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.