actions: Compute the rule association during rules load

This commit is contained in:
Felipe Zimmerle
2020-05-18 15:08:17 -03:00
parent 374203b000
commit eb3e05646d
83 changed files with 842 additions and 415 deletions

View File

@@ -55,7 +55,7 @@ bool InitCol::init(std::string *error) {
bool InitCol::execute(RuleWithActions *rule, Transaction *t) {
std::string collectionName(m_string->evaluate(t));
std::string collectionName(getEvaluatedRunTimeString(t));
if (m_collection_key == "ip") {
t->m_collections.m_ip_collection_key = collectionName;