We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3f979f commit 3036462Copy full SHA for 3036462
CHANGES
@@ -2,6 +2,11 @@
2
v3.0.????? - ?
3
---------------------------
4
5
+ - Makes clear to the user whenever the audit log is empty due to missing
6
+ JSON support.
7
+ [Issue #1585 - @zimmerle]
8
+ - Makes auditlog more verbose on debug logs
9
+ [Issue: #1559 - @zimmerle]
10
- Enable support for AuditLogFormat
11
[Issue: #1583, #1493 and #1453 - @victorhora]
12
- Adds macro expansion for @rx operator
src/transaction.cc
@@ -1701,7 +1701,7 @@ std::string Transaction::toJSON(int parts) {
1701
1702
return log;
1703
#else
1704
- return std::string("");
+ return std::string("{\"error\":\"ModSecurity was not compiled with JSON support.\"}");
1705
#endif
1706
}
1707
0 commit comments