From f5b413e06aadae0fa03d9b48ae738678edd6f007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leonard?= Date: Wed, 5 Dec 2018 15:54:42 +0100 Subject: [PATCH] #389 update predicate and adapt it to analyzer's flavor --- analyzers/VirusTotal/virustotal.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/analyzers/VirusTotal/virustotal.py b/analyzers/VirusTotal/virustotal.py index a8af2a82a..413bc1a52 100755 --- a/analyzers/VirusTotal/virustotal.py +++ b/analyzers/VirusTotal/virustotal.py @@ -68,9 +68,12 @@ def summary(self, raw): taxonomies = [] level = "info" namespace = "VT" - predicate = "Score" + predicate = "GetReport" value = "0" + if self.service == "scan": + predicate = "Scan" + result = { "has_result": True }