spoa-modsecurity
spoa-modsecurity copied to clipboard
Config failure reason not logged
Looks like the log message for when modsecurity fails to load the configuration is not being included in the error message:
https://github.com/haproxy/spoa-modsecurity/blob/3c895f3e7dd291dba19d57ba054b277e6fb80ca4/modsec_wrapper.c#L153-L156
So if you have a syntax error in your config, you just get this log:
1670881710.648713 [00] ModSecurity load configuration failed.