From a88b3ced3334ea3c37f9fa69a131db776bd237f9 Mon Sep 17 00:00:00 2001 From: niclas Date: Tue, 5 Mar 2024 16:15:58 +0100 Subject: [PATCH] Chg [groups] change name for Volt Typhoon duplicate --- clusters/tidal-groups.json | 2 +- tools/tidal-api/models/cluster.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/clusters/tidal-groups.json b/clusters/tidal-groups.json index 2543872..c07c474 100644 --- a/clusters/tidal-groups.json +++ b/clusters/tidal-groups.json @@ -9947,7 +9947,7 @@ }, "related": [], "uuid": "3290dcb9-5781-4b87-8fa0-6ae820e152cd", - "value": "Volt Typhoon" + "value": "Volt Typhoon - Tidal" }, { "description": "[[Secureworks BRONZE SILHOUETTE May 2023](https://app.tidalcyber.com/references/77624549-e170-5894-9219-a15b4aa31726)]", diff --git a/tools/tidal-api/models/cluster.py b/tools/tidal-api/models/cluster.py index bcb328b..f0487ee 100644 --- a/tools/tidal-api/models/cluster.py +++ b/tools/tidal-api/models/cluster.py @@ -254,6 +254,11 @@ class GroupCluster(Cluster): uuid=entry.get("id"), value=entry.get("name"), ) + + # Code Block for handling duplicate from Tidal API data (hopefully only temporary) + if value.uuid == "3290dcb9-5781-4b87-8fa0-6ae820e152cd": + value.value = "Volt Typhoon - Tidal" + self.values.append(value.return_value())