diff --git a/Packs/VirusTotal/Integrations/VirusTotalV3/VirusTotalV3.py b/Packs/VirusTotal/Integrations/VirusTotalV3/VirusTotalV3.py index 14433ce1b96f..d9b9faa7f9c5 100644 --- a/Packs/VirusTotal/Integrations/VirusTotalV3/VirusTotalV3.py +++ b/Packs/VirusTotal/Integrations/VirusTotalV3/VirusTotalV3.py @@ -851,17 +851,10 @@ def is_preferred_vendors_pass_malicious(self, analysis_results: dict) -> bool: item for item in preferred_vendor_scores.values() if item.get('category') == 'malicious' ] if len(malicious_trusted_vendors) >= self.trusted_vendors_threshold: - self.logs.append( - f'{len(malicious_trusted_vendors)} trusted vendors found the hash malicious. \n' - f'The trusted vendors threshold is {self.trusted_vendors_threshold}. \n' - f'Malicious check: {(len(malicious_trusted_vendors) >= self.trusted_vendors_threshold)=}. ' - ) + return True else: - self.logs.append( - f'Those preferred vendors found the hash malicious: {malicious_trusted_vendors}. ' - f'They do not pass the threshold {self.trusted_vendors_threshold}. ' - ) + return False def is_malicious_by_threshold(self, analysis_stats: dict, threshold: int) -> bool: diff --git a/Packs/VirusTotal/Integrations/VirusTotalV3/VirusTotalV3.yml b/Packs/VirusTotal/Integrations/VirusTotalV3/VirusTotalV3.yml index c4656f24a653..3b062030caf6 100644 --- a/Packs/VirusTotal/Integrations/VirusTotalV3/VirusTotalV3.yml +++ b/Packs/VirusTotal/Integrations/VirusTotalV3/VirusTotalV3.yml @@ -1666,7 +1666,7 @@ script: description: The analysis ID. type: String - dockerimage: demisto/python3:3.10.13.89009 + dockerimage: demisto/python3:3.10.14.92207 tests: - VirusTotalV3-test - VirusTotal (API v3) Detonate Test