From 82cb98037a00465ca393f9b802d1c2feeff45ff8 Mon Sep 17 00:00:00 2001 From: Ryan Deivert Date: Tue, 7 Nov 2017 16:24:08 -0800 Subject: [PATCH] [lambda][rule] fixing bug in classifier during type conversion --- stream_alert/rule_processor/classifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream_alert/rule_processor/classifier.py b/stream_alert/rule_processor/classifier.py index ed57d3775..d32fd5274 100644 --- a/stream_alert/rule_processor/classifier.py +++ b/stream_alert/rule_processor/classifier.py @@ -339,7 +339,7 @@ def _convert_type(cls, payload, schema): if key == 'streamalert:envelope_keys' and not isinstance(payload[key], dict): continue - cls._convert_type(payload[key], schema[key]) + return cls._convert_type(payload[key], schema[key]) elif isinstance(value, list): pass