mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Makes clear to the user when audit log is empty due to missing JSON sup.
This commit is contained in:
parent
d3f979f1d2
commit
30364628a0
5
CHANGES
5
CHANGES
@ -2,6 +2,11 @@
|
|||||||
v3.0.????? - ?
|
v3.0.????? - ?
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
|
- Makes clear to the user whenever the audit log is empty due to missing
|
||||||
|
JSON support.
|
||||||
|
[Issue #1585 - @zimmerle]
|
||||||
|
- Makes auditlog more verbose on debug logs
|
||||||
|
[Issue: #1559 - @zimmerle]
|
||||||
- Enable support for AuditLogFormat
|
- Enable support for AuditLogFormat
|
||||||
[Issue: #1583, #1493 and #1453 - @victorhora]
|
[Issue: #1583, #1493 and #1453 - @victorhora]
|
||||||
- Adds macro expansion for @rx operator
|
- Adds macro expansion for @rx operator
|
||||||
|
@ -1701,7 +1701,7 @@ std::string Transaction::toJSON(int parts) {
|
|||||||
|
|
||||||
return log;
|
return log;
|
||||||
#else
|
#else
|
||||||
return std::string("");
|
return std::string("{\"error\":\"ModSecurity was not compiled with JSON support.\"}");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user