From 05972f38f19966bee5f89ee79c2408e5c6085813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Gr=C3=BCbel?= Date: Wed, 4 Oct 2023 11:20:54 +0200 Subject: [PATCH] fix(dockerfile): fix Docker image scan (#5617) * fix Docker image scan * removed block completely --- checkov/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/checkov/main.py b/checkov/main.py index 0009e1109c6..e4c44e3ae52 100755 --- a/checkov/main.py +++ b/checkov/main.py @@ -554,9 +554,7 @@ def run(self, banner: str = checkov_banner, tool: str = checkov_tool, source_typ self.config.branch) bc_integration.persist_run_metadata(self.run_metadata) - if bc_integration.enable_persist_graphs: - bc_integration.persist_graphs(self.graphs) - bc_integration.persist_resource_subgraph_maps(self.resource_subgraph_maps) + # there is no graph to persist self.url = self.commit_repository() should_run_contributor_metrics = bc_integration.bc_api_key and self.config.repo_id and self.config.prisma_api_url