Skip to content

Commit 330931f

Browse files
committed
Updates
1 parent 062cd36 commit 330931f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/web-application-firewall/ag/application-gateway-waf-request-size-limits.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,15 @@ To set request size limits in the Azure portal, configure **Global parameters**
4040

4141
## Request body inspection
4242

43-
WAF also offers a configurable knob to turn the request body inspection on or off. By default, the request body inspection is enabled. If the request body inspection is turned off, WAF doesn't evaluate the contents of HTTP message body. In such cases, WAF continues to enforce WAF rules on headers, cookies, and URI. If the request body inspection is turned off, then maximum request body size field isn't applicable and can't be set.
43+
WAF offers a configuration setting to enable or disable the request body inspection. By default, the request body inspection is enabled. If the request body inspection is disabled, WAF doesn't evaluate the contents of an HTTP message's body. In such cases, WAF continues to enforce WAF rules on headers, cookies, and URI. If the request body inspection is turned off, then maximum request body size field isn't applicable and can't be set.
4444

4545
Turning off the request body inspection allows for messages larger than 128 KB to be sent to WAF, but the message body isn't inspected for vulnerabilities.
4646

47-
When your WAF policy is in prevention mode, WAF blocks requests that are over the size limit. When your WAF policy is in detection mode, then the behavior depends on the version of the managed ruleset you use. If you use CRS 3.2 and above, WAF inspects the body up to the limit specified and ignores the rest. If you use CRS version 3.1 or earlier, WAF inspects the entire message.
47+
When your WAF receives a request that's over the size limit, the behavior depends on the mode of your WAF and the version of the managed ruleset you use.
48+
- When your WAF policy is in prevention mode, WAF blocks requests that are over the size limit.
49+
- When your WAF policy is in detection mode:
50+
- If you use CRS 3.2 or newer, WAF inspects the body up to the limit specified and ignores the rest.
51+
- If you use CRS 3.1 or earlier, WAF inspects the entire message.
4852

4953
## Next steps
5054

0 commit comments

Comments
 (0)