From 5029ce20220b36ba03a1c2b87d81f097a4b24f5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruben=20Tron=C3=A7on?= <22539654+rubentroncon@users.noreply.github.com> Date: Thu, 16 Jan 2025 12:48:19 +0100 Subject: [PATCH] Update helper.py Edited Line 169: Fixed [Issue 191](https://github.com/CrowdStrike/MISP-tools/issues/191) Changed `ta_galaxy_id = gal["Galaxy"]["uuid"]` to `ta_galaxy_id = gal["Galaxy"]["id"]` --- cs_misp_import/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cs_misp_import/helper.py b/cs_misp_import/helper.py index e0af72c..73256e5 100644 --- a/cs_misp_import/helper.py +++ b/cs_misp_import/helper.py @@ -166,7 +166,7 @@ def get_threat_actor_galaxy_id(client: ExpandedPyMISP): galaxies = client.galaxies() for gal in galaxies: if gal["Galaxy"]["name"] == "Threat Actor": - ta_galaxy_id = gal["Galaxy"]["uuid"] + ta_galaxy_id = gal["Galaxy"]["id"] return ta_galaxy_id