Compare commits
No commits in common. "9aacc2cc51ef570fe89c7f9f9a668331324ce42f" and "4f55ffeaf732cdb020a39179c99cfb4dc7049be0" have entirely different histories.
9aacc2cc51
...
4f55ffeaf7
@ -76,18 +76,6 @@ def process_rules(data):
|
||||
break
|
||||
# Continue to next field
|
||||
continue
|
||||
|
||||
# Allow partial matches for msg
|
||||
if field == "msg":
|
||||
for msg in value:
|
||||
if "msg" in message:
|
||||
if msg.lower() in message["msg"].lower():
|
||||
matched_field_number += 1
|
||||
matched_fields.append(field)
|
||||
# Break out of the msg matching loop
|
||||
break
|
||||
# Continue to next field
|
||||
continue
|
||||
if field in message and message[field] in value:
|
||||
matched_field_number += 1
|
||||
matched_fields.append(field)
|
||||
|
Loading…
Reference in New Issue
Block a user