diff --git a/core/lib/rules.py b/core/lib/rules.py index 5619b7e..0362f9e 100644 --- a/core/lib/rules.py +++ b/core/lib/rules.py @@ -81,7 +81,7 @@ def process_rules(data): if field == "msg": for msg in value: if "msg" in message: - if msg in message["msg"]: + if msg.lower() in message["msg"].lower(): matched_field_number += 1 matched_fields.append(field) # Break out of the msg matching loop