mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 10:20:35 +03:00
Fix rules `messages' on the auditlog
This commit is contained in:
@@ -35,10 +35,12 @@ LogData::LogData(std::string action)
|
||||
}
|
||||
|
||||
|
||||
bool LogData::evaluate(Rule *rule, Transaction *transaction) {
|
||||
bool LogData::evaluate(Rule *rule, Transaction *transaction, RuleMessage *rm) {
|
||||
std::string data = MacroExpansion::expand(m_data, transaction);
|
||||
|
||||
rule->m_log_data = data;
|
||||
rm->m_data = data;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user