Changes RULE variable group to be save at transient collection

This commit is contained in:
Felipe Zimmerle
2016-11-28 10:05:15 -03:00
parent 2930d40d57
commit a776cce6d7
6 changed files with 425 additions and 430 deletions

View File

@@ -82,6 +82,9 @@ bool Severity::evaluate(Rule *rule, Transaction *transaction,
if (transaction->m_highestSeverityAction > this->m_severity) {
transaction->m_highestSeverityAction = this->m_severity;
}
transaction->m_collections.storeOrUpdateFirst("RULE:severity",
std::to_string(m_severity));
return true;
}