Request body in waf event

#1

request body value in waf event?

0 Likes

#2

Logging the request body would be pretty risky (legally and technically) since it would mean Cloudflare is now potentially storing personal or illegal content on their servers, and because logging POST data could use up petabytes of data.

If you want to log POST data, you should be able to use a Workers script and an external logging provider (but I don’t believe you can check if WAF was triggered or not).

1 Like