From b245899ea0708cfc623240d1588dda5f31afdd42 Mon Sep 17 00:00:00 2001 From: emalderson Date: Mon, 29 Jul 2024 01:20:07 +0200 Subject: [PATCH] fix: previously ignored category orange now is malicious --- analyzers/KasperskyTIP/KasperskyTIP.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzers/KasperskyTIP/KasperskyTIP.py b/analyzers/KasperskyTIP/KasperskyTIP.py index 0783ed9c9..140b88f96 100755 --- a/analyzers/KasperskyTIP/KasperskyTIP.py +++ b/analyzers/KasperskyTIP/KasperskyTIP.py @@ -20,7 +20,7 @@ def summary(self, raw): level = "safe" elif value == "Yellow": level = "suspicious" - elif value == "Red": + elif value in ["Orange", "Red"]: level = "malicious" taxonomies.append(self.build_taxonomy(level, namespace, predicate, value)) return {'taxonomies': taxonomies}