mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-16 16:06:12 +03:00
Includes HTTP version and response code on auditlogs/F
This commit is contained in:
parent
43cb8ed652
commit
1f1e8324b1
@ -1434,6 +1434,7 @@ std::string Transaction::toOldAuditLogFormat(int parts,
|
|||||||
std::vector<const collection::Variable *> l;
|
std::vector<const collection::Variable *> l;
|
||||||
|
|
||||||
audit_log << "--" << trailer << "-" << "F--" << std::endl;
|
audit_log << "--" << trailer << "-" << "F--" << std::endl;
|
||||||
|
audit_log << "HTTP/" << m_httpVersion << " " << this->m_httpCodeReturned << std::endl;
|
||||||
m_variableResponseHeaders.resolve(&l);
|
m_variableResponseHeaders.resolve(&l);
|
||||||
for (auto h : l) {
|
for (auto h : l) {
|
||||||
size_t pos = strlen("RESPONSE_HEADERS:");
|
size_t pos = strlen("RESPONSE_HEADERS:");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user