Skip to content

SecAuditLogFormat in libmodsecurity #1483

Closed
@lkarsten

Description

@lkarsten

Issue: SecAuditLogFormat is documented in the reference manual, but is not a valid configuration item on libmodsecurity 65bd06f / slightly outdated v3-master.

(with ModSecurity-nginx)
nginx: [emerg] "modsecurity_rules_file" directive Rules error. File: /opt/nginxmodsec/conf/modsecurity.conf. Line: 179. Column: 25. Invalid input: SecAuditLogFormat native in /etc/nginx/sites-enabled/example.com:16

nginx: [emerg] "modsecurity_rules_file" directive Rules error. File: /opt/nginxmodsec/conf/modsecurity.conf. Line: 178. Column: 23. Invalid input: SecAuditLogFormat JSON in /etc/nginx/sites-enabled/example.com:16

Expected: Note in the manual that this does not work in libmodsecurity.

Manual entry: https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#secauditlogformat

Related: #1395 (closed prematurely?)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions