Skip to content

Commit 5a79dea

Browse files
committed
Clarify that truncated requests can be actioned via a Custom Rule even with the max size limit
1 parent ab810fa commit 5a79dea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/content/docs/waf/managed-rules/index.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,7 @@ At the zone level, you can only deploy each WAF managed ruleset once. At the [ac
5151
## Important remarks
5252

5353
Cloudflare analyzes the body of incoming requests up to a certain maximum size that varies according to your Cloudflare plan. For Enterprise customers, the maximum body size is 128 KB, while for other plans the limit is lower. This means that the behavior of specific managed rules that analyze request bodies can vary according to your current Cloudflare plan.
54+
55+
:::note
56+
If included in your plan, you can use the [HTTP request body fields](/ruleset-engine/rules-language/fields/http-request-body/) such as `http.request.body.truncated` or `http.request.headers.truncated` to create [Custom Rules](/waf/custom-rules/) and apply appropriate actions to requests that have been truncated due to the maximum body size.
57+
:::

0 commit comments

Comments
 (0)