fix: SUB-RULE with PROCESS-NAME rule payload not working (#953)

This commit is contained in:
Cesaryuan authored and Larvan2 committed 2024-01-06 22:29:30 +08:00
1 parent 6bc915526f
commit 7e3e38d054
1 file changed
+7
+7
View File
@@ -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)
}