mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Match m_id JSON log with RuleMessage and v2 format
This commit is contained in:
@@ -1614,7 +1614,7 @@ std::string Transaction::toJSON(int parts) {
|
|||||||
LOGFY_ADD_NUM("client_port", m_clientPort);
|
LOGFY_ADD_NUM("client_port", m_clientPort);
|
||||||
LOGFY_ADD("host_ip", m_serverIpAddress.c_str());
|
LOGFY_ADD("host_ip", m_serverIpAddress.c_str());
|
||||||
LOGFY_ADD_NUM("host_port", m_serverPort);
|
LOGFY_ADD_NUM("host_port", m_serverPort);
|
||||||
LOGFY_ADD("id", this->m_id.c_str());
|
LOGFY_ADD("unique_id", this->m_id.c_str());
|
||||||
|
|
||||||
/* request */
|
/* request */
|
||||||
yajl_gen_string(g, reinterpret_cast<const unsigned char*>("request"),
|
yajl_gen_string(g, reinterpret_cast<const unsigned char*>("request"),
|
||||||
|
Reference in New Issue
Block a user