ModSecurity parser not parsing response rules (Phase 4)
$ sudo cscli explain --file test_error.log --type modsecurity
OS: Ubuntu 24.04
CrowdSec Version: 1.7.2
ModSec version: libModSecurity3 v3.0.14
NGINX Version: 1.24.0
7 Replies
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type
/unresolveΒ© Created By WhyAydan for CrowdSec β€οΈ
GitHub
fix: add support for modsecurity phase 4 (response body) parsing by...
Description
Update modsecurity parser to capture phase information in 'Access denied' format
Capture HTTP status code from Access denied logs
Add test case for phase 4 response bod...
The log line you added to the test isn't the same as the one I gave you, my original log line still isn't parsing. I think the issue is with the
upstream: part of the log line.my bad it's this https://github.com/crowdsecurity/hub/pull/1554
GitHub
fix(parsers): Add upstream and 'while sending to client' support to...
β¦odsecurity nginx parser
Resolves issue where modsecurity nginx logs containing upstream proxy information were failing to parse correctly.
Description
Updated NGINXERRORSUFFIX pattern to handle ...
it the
while sending to client infront of client ip and upstreamawesome, everything works great now
Resolving ModSecurity parser not parsing response rules (Phase 4)
This has now been resolved. If you think this is a mistake please run
/unresolve