Update match_filter to match list only for arrays
@@ -44,6 +44,9 @@ def match_filter(event, name, value):
# test event dictionary items
if name not in event:
return False
+ # accept only arrays
+ if not isinstance(value, list):
+ return False
if event[name] not in value:
return False
return True
