Conversation
body-decompress-before.conf ends its chain with a bare SecRuleScript (no action list), which ModSecurity v3 fails to parse, breaking every directive that follows. This is a known, still-open upstream bug (owasp-modsecurity/ModSecurity#3108). Document it in the README and restrict integration tests to Apache until it's fixed upstream. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Update on the remaining CI failure here: once nginx was excluded, the Apache job started running to completion and surfaced a separate, pre-existing bug — the plugin's own regression test Root cause: CRS v4.4.0+ added an unconditional "skip if compressed" guard to the top of every Filed upstream: #18 This is unrelated to the CI/docs changes in this PR and will need a CRS-side fix (or an agreed workaround here) before the Apache integration job can pass again. |
Summary
plugins/body-decompress-before.confends its chain with a bareSecRuleScript(no action list), which is valid under ModSecurity v2 (Apache) but fails to parse under ModSecurity v3, breaking every following directive. Tracked upstream at SecRuleScript actions always considered disruptive owasp-modsecurity/ModSecurity#3108 (still open).apacheonly (backends: '["apache"]'), since the nginx matrix jobs currently fail because of this upstream parser bug rather than anything under our control.Test plan
actionlint .github/workflows/integration.ymlpassesyamllint .github/workflows/integration.ymlshows no new issues (pre-existing line-length warning on line 7 confirmed present before this change)apachebackend🤖 Generated with Claude Code