diff --git a/rules/logic/logic.go b/rules/logic/logic.go index fde96e19..af8c31a4 100644 --- a/rules/logic/logic.go +++ b/rules/logic/logic.go @@ -217,6 +217,13 @@ func (logic *Logic) parsePayload(payload string, parseRule ParseRuleFunc) error return err } + if rule.ShouldResolveIP() { + logic.needIP = true + } + if rule.ShouldFindProcess() { + logic.needProcess = true + } + rules = append(rules, rule) }