diff --git a/analyzers/GoogleSafebrowsing/safebrowsing_analyzer.py b/analyzers/GoogleSafebrowsing/safebrowsing_analyzer.py index 7abb2e383..cf79b00a6 100755 --- a/analyzers/GoogleSafebrowsing/safebrowsing_analyzer.py +++ b/analyzers/GoogleSafebrowsing/safebrowsing_analyzer.py @@ -31,12 +31,13 @@ def summary(self, raw): taxonomy["value"] = "\"{} match\"".format(r) else: taxonomy["value"] = "\"{} matches\"".format(r) - + if r > 0: taxonomy["level"] = "malicious" # level : info, safe, suspicious, malicious - taxonomies.append(taxonomy) + taxonomies.append(taxonomy) + result = {"taxonomies": taxonomies} return result