Skip to content

Commit

Permalink
fix reference
Browse files Browse the repository at this point in the history
  • Loading branch information
omriyoffe-panw committed Oct 27, 2024
1 parent d61f228 commit fe5a7e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkov/arm/graph_builder/local_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def _create_edge(self, element_name: str, origin_vertex_index: int, label: str)
def _create_implicit_edges(self, origin_vertex_index: int, resource_name: str, d: dict[str, Any]) -> None:
for _, value in d.items():
if isinstance(value, str):
if 'reference' in value:
if 'reference(' in value:
self._create_implicit_edge(origin_vertex_index, resource_name, value)

def _create_implicit_edge(self, origin_vertex_index: int, resource_name: str, reference_string: str) -> None:
Expand Down

0 comments on commit fe5a7e9

Please sign in to comment.