fix taxonomies name

This commit is contained in:
Davide 2020-02-18 15:12:08 +01:00
parent 1c4329fc5f
commit 0eebd4afa1

View File

@ -28,14 +28,14 @@ class ClamAnalyzer(Analyzer):
# return raw
def summary(self, raw):
taxonomies = []
namespace = "Clamscan"
namespace = "ClamAV"
predicate = "Match"
if raw["results"]:
value = "{} rule matched".format(raw["results"])
value = "{}".format(raw["results"])
level = "malicious"
else:
value = "No matched rules"
value = "No matches"
level = "safe"
taxonomies.append(self.build_taxonomy(level, namespace, predicate, value))