mirror of
https://github.com/valitydev/Cortex-Analyzers.git
synced 2024-11-07 17:38:53 +00:00
Setting default short report level to info.
This commit is contained in:
parent
cc4c462fb1
commit
0a6342014f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user