Fixes #221, converts input to lower.

This commit is contained in:
Nils Kuhnert 2018-04-05 15:33:35 +02:00
parent c5100de872
commit fcf7df16e0
No known key found for this signature in database
GPG Key ID: 3591DD5B3103ED50

View File

@ -67,7 +67,7 @@ class MISPWarninglistsAnalyzer(Analyzer):
if self.data_type not in list.get('dataTypes'): if self.data_type not in list.get('dataTypes'):
continue continue
if self.data in list.get('values', []): if self.data.lower() in list.get('values', []):
results.append({ results.append({
"name": list.get('name') "name": list.get('name')
}) })