Aegisify company logo

We're Here to Help

Resources & Help Center

Search our knowledge base, view documentation, or get support. Everything you need in one place.

What does the maximum body inspection size do in Aegisify WAF?

The maximum body inspection setting tells Aegisify WAF how many bytes of a request body the managed rules will read. The default is 65,536 bytes (64 KB). It is in Aegisify WAF → WAF Settings → Managed Protection.

Why the limit exists

The WAF runs inside PHP on every request. Reading and decoding very large bodies on every request would increase memory use and response time, especially during an attack when many large requests arrive at once. 64 KB covers the full contents of typical login, contact, comment, checkout, and REST API requests, which is where attacks usually appear.

What happens to larger bodies

The managed rules inspect the first part of the body up to the limit. Data beyond the limit is not inspected by the signature engine. Other protections still apply, including request-integrity checks (which block executable uploads), DDoS thresholds, and authentication controls.

When to change it

  • Increase only when a verified application sends security-sensitive fields late in a large body, for example a large JSON payload where user input appears after bulky data. Test performance after the change.
  • Decrease only on very constrained hosting, and accept that less of each body is inspected.

Not the same as REST body size enforcement

This setting limits *inspection*. The separate Max REST body size control in API & Application can *reject* oversized REST requests.

Related: Body inspection scope.

2026-12-01T03:50:50+00:00January 12th, 2026||

Find this article interesting, please share.