From 9b7ae30b425b7aba0ea30bb224b295f010e5c613 Mon Sep 17 00:00:00 2001 From: Barak Fatal Date: Thu, 5 Oct 2023 15:53:49 +0300 Subject: [PATCH] Added source and target to edge data --- .../graph/db_connectors/rustworkx/rustworkx_db_connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkov/common/graph/db_connectors/rustworkx/rustworkx_db_connector.py b/checkov/common/graph/db_connectors/rustworkx/rustworkx_db_connector.py index c55170cb181..b2d1168cc96 100644 --- a/checkov/common/graph/db_connectors/rustworkx/rustworkx_db_connector.py +++ b/checkov/common/graph/db_connectors/rustworkx/rustworkx_db_connector.py @@ -37,7 +37,7 @@ def rustworkx_from_local_graph(self, local_graph: LocalGraph[_Block]) -> rx.PyDi ( e.origin, e.dest, - {"label": e.label}, + {"label": e.label, "source": e.origin, "target": e.dest}, ) for e in local_graph.edges ]