diff --git a/checkov/arm/graph_builder/context_definitions.py b/checkov/arm/graph_builder/context_definitions.py index c38a94bf10a..9083b3a169c 100644 --- a/checkov/arm/graph_builder/context_definitions.py +++ b/checkov/arm/graph_builder/context_definitions.py @@ -7,4 +7,4 @@ def build_definitions_context(definitions: Dict[Path, Any], definitions_raw: Dict[Path, List[Tuple[int, str]]] ) -> Dict[str, Dict[str, Any]]: # TODO - pass + return {} diff --git a/checkov/arm/graph_builder/graph_to_tf_definitions.py b/checkov/arm/graph_builder/graph_to_tf_definitions.py index 45dc88b4a17..9f392c70991 100644 --- a/checkov/arm/graph_builder/graph_to_tf_definitions.py +++ b/checkov/arm/graph_builder/graph_to_tf_definitions.py @@ -10,4 +10,4 @@ def convert_graph_vertices_to_tf_definitions( vertices: list[ArmBlock], root_folder: str | Path | None ) -> tuple[dict[Path, Any], dict[str, dict[str, Any]]]: # TODO - pass + return ({},{}) diff --git a/checkov/arm/graph_builder/local_graph.py b/checkov/arm/graph_builder/local_graph.py index 4fdaf1a065b..38e50f1d631 100644 --- a/checkov/arm/graph_builder/local_graph.py +++ b/checkov/arm/graph_builder/local_graph.py @@ -120,7 +120,7 @@ def _create_explicit_edge(self, origin_vertex_index: int, resource_name: str, de def _create_edge(self, element_name: str, origin_vertex_index: int, label: str) -> None: dest_vertex_index = self.vertices_by_name.get(element_name) - if origin_vertex_index == dest_vertex_index: + if origin_vertex_index == dest_vertex_index or dest_vertex_index is None: return edge = Edge(origin_vertex_index, dest_vertex_index, label) self.edges.append(edge)