Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

Fixed type for custom type in type_registry_service to revert back to using name as to not break graph

Erica7d5861d5b02
diff --git a/flowsint-core/src/flowsint_core/core/services/type_registry_service.py b/flowsint-core/src/flowsint_core/core/services/type_registry_service.py
index 5dc24814..417ad7ab 100644
--- a/flowsint-core/src/flowsint_core/core/services/type_registry_service.py
+++ b/flowsint-core/src/flowsint_core/core/services/type_registry_service.py
@@ -202,7 +202,7 @@ class TypeRegistryService(BaseService):
custom_type_obj = {
"id": custom_type.id,
- "type": custom_type.category or "custom_types_category",
+ "type": custom_type.name,
"key": custom_type.name.lower(),
"label_key": label_key,
"icon": custom_type.icon or "custom",
diff --git a/uv.lock b/uv.lock
index d0d46c08..2651c287 100644
--- a/uv.lock
+++ b/uv.lock
@@ -1205,6 +1205,7 @@ dependencies = [
{ name = "python-dotenv" },
{ name = "python-jose", extra = ["cryptography"] },
{ name = "python-multipart" },
+ { name = "pyyaml" },
{ name = "redis" },
{ name = "requests" },
{ name = "sqlalchemy" },
@@ -1243,6 +1244,7 @@ requires-dist = [
{ name = "python-dotenv", specifier = ">=1.0,<2.0" },
{ name = "python-jose", extras = ["cryptography"], specifier = ">=3.3,<4.0" },
{ name = "python-multipart", specifier = ">=0.0.27,<0.1.0" },
+ { name = "pyyaml", specifier = ">=6.0,<7.0" },
{ name = "redis", specifier = ">=5.0,<6.0" },
{ name = "requests", specifier = ">=2.31,<3.0" },
{ name = "sqlalchemy", specifier = ">=2.0,<3.0" },