Adds "matched" line to the audit logs

This commit is contained in:
Felipe Zimmerle
2016-02-12 13:28:43 -03:00
parent 362b376acb
commit a2ffb36159
3 changed files with 7 additions and 0 deletions

View File

@@ -102,6 +102,7 @@ class RuleMessage {
m_ver = rule->m_ver;
m_maturity = rule->m_maturity;
m_rule = rule;
m_match = std::string("");
};
RuleMessage(Rule *rule, std::string message) {
m_ruleFile = rule->m_fileName;
@@ -115,6 +116,7 @@ class RuleMessage {
m_ver = rule->m_ver;
m_maturity = rule->m_maturity;
m_rule = rule;
m_match = std::string("");
};
std::string m_match;