Setting default short report level to info.

This commit is contained in:
Nils Kuhnert 2018-04-10 17:08:49 +02:00
parent cc4c462fb1
commit 0a6342014f
No known key found for this signature in database
GPG Key ID: 513563BA3E81D017

View File

@ -20,6 +20,7 @@ class PhishtankAnalyzer(Analyzer):
def summary(self, raw):
taxonomies = []
level = "info"
if 'in_database' in raw and raw['in_database'] is True:
value = "\"{}\"".format(raw['in_database'])
@ -30,7 +31,6 @@ class PhishtankAnalyzer(Analyzer):
else:
level = "suspicious"
else:
level = "unknown"
value = "\"False\""
taxonomies.append(self.build_taxonomy(level, "PhishTank", "In_Database", value))