mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Fix: audit log part for response body for JSON format to be E
This commit is contained in:
parent
c41ab312f3
commit
68c995ca98
2
CHANGES
2
CHANGES
@ -1,6 +1,8 @@
|
||||
v3.0.4 - YYYY-MMM-DD (to be released)
|
||||
-------------------------------------
|
||||
|
||||
- Fix: audit log part for response body for JSON format to be E
|
||||
[Issue #2066 - @martinhsv, @zimmerle]
|
||||
- Make sure m_rulesMessages is filled after successfull match
|
||||
[Issue #2000, #2048 - @victorhora, @defanator]
|
||||
- Fix @pm lookup for possible matches on offset zero.
|
||||
|
@ -1593,7 +1593,7 @@ std::string Transaction::toJSON(int parts) {
|
||||
strlen("response"));
|
||||
yajl_gen_map_open(g);
|
||||
|
||||
if (parts & audit_log::AuditLog::GAuditLogPart) {
|
||||
if (parts & audit_log::AuditLog::EAuditLogPart) {
|
||||
LOGFY_ADD("body", this->m_responseBody.str().c_str());
|
||||
}
|
||||
LOGFY_ADD_NUM("http_code", m_httpCodeReturned);
|
||||
|
Loading…
x
Reference in New Issue
Block a user