actions: Compute the rule association during relus load

This commit is contained in:
Felipe Zimmerle
2020-05-18 15:08:17 -03:00
parent 58407720dc
commit 9b54b8e8ae
74 changed files with 718 additions and 374 deletions

View File

@@ -30,16 +30,11 @@ namespace actions {
bool LogData::execute(RuleWithActions *rule, Transaction *transaction) {
transaction->messageGetLast()->m_data = data(transaction);
transaction->messageGetLast()->m_data = getEvaluatedRunTimeString(transaction);
return true;
}
std::string LogData::data(Transaction *transaction) {
std::string a(m_string->evaluate(transaction));
return a;
}
} // namespace actions
} // namespace modsecurity