Adds new method for rule merge

IMPORTANT: SecDefaultAction specified on a child configuration will
overwrite the ones specified on the parent; Previously it was
concatenating.
This commit is contained in:
Felipe Zimmerle
2020-04-14 11:33:17 -03:00
parent 0a594aca53
commit 83a59e4fca
111 changed files with 2120 additions and 1505 deletions

View File

@@ -46,7 +46,11 @@ class RuleUnconditional : public RuleWithActions {
int lineNumber)
: RuleWithActions(actions, transformations, std::move(fileName), lineNumber) { }
virtual bool evaluate(Transaction *transaction, std::shared_ptr<RuleMessage> ruleMessage) override;
RuleUnconditional(const RuleUnconditional &r)
: RuleWithActions(r)
{ }
virtual bool evaluate(Transaction *transaction) override;
private:
};