From 69dee354db0110c4e2ee9d3e19907c8f6372d49e Mon Sep 17 00:00:00 2001 From: ryandeivert Date: Sun, 15 Apr 2018 19:42:42 -0700 Subject: [PATCH] fixing bug where unsupported types in logs would not fail classification (#688) --- stream_alert/rule_processor/classifier.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stream_alert/rule_processor/classifier.py b/stream_alert/rule_processor/classifier.py index de5895141..c5f5a6584 100644 --- a/stream_alert/rule_processor/classifier.py +++ b/stream_alert/rule_processor/classifier.py @@ -347,5 +347,6 @@ def _convert_type(cls, payload, schema): else: LOGGER.error('Unsupported schema type: %s', value) + return False return True