diff --git a/analyzers/Cyberprotect/CyberprotectAnalyzer.py b/analyzers/Cyberprotect/CyberprotectAnalyzer.py
index 5314329c7..662060117 100755
--- a/analyzers/Cyberprotect/CyberprotectAnalyzer.py
+++ b/analyzers/Cyberprotect/CyberprotectAnalyzer.py
@@ -35,7 +35,8 @@ def run(self):
if self.service == 'ThreatScore' and (self.data_type == 'domain' or self.data_type == 'ip'):
try:
response = requests.get("{}{}".format(self.URI, self.get_data()))
- self.report({'result': response.json()})
+ result = response.json()
+ self.report(result if len(result) > 0 else {})
except Exception as e:
self.unexpectedError(e)
else:
diff --git a/thehive-templates/Cyberprotect_ThreatScore_1_0/long.html b/thehive-templates/Cyberprotect_ThreatScore_1_0/long.html
index 714978715..ceab3b796 100755
--- a/thehive-templates/Cyberprotect_ThreatScore_1_0/long.html
+++ b/thehive-templates/Cyberprotect_ThreatScore_1_0/long.html
@@ -4,20 +4,20 @@
Report for
{{artifact.data}}
-
Date | Score |
---|---|
{{score.date}} | {{score.score}} |