mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Adds support to the STATUS variable
This commit is contained in:
@@ -1136,6 +1136,8 @@ int Transaction::processLogging(int returned_code) {
|
||||
}
|
||||
|
||||
this->m_httpCodeReturned = returned_code;
|
||||
this->m_collections.store("STATUS", std::to_string(returned_code));
|
||||
|
||||
this->m_rules->evaluate(ModSecurity::LoggingPhase, this);
|
||||
|
||||
/* If relevant, save this transaction information at the audit_logs */
|
||||
|
Reference in New Issue
Block a user