Skip to content

Commit

Permalink
fix(dockerfile): fix Docker image scan (bridgecrewio#5617)
Browse files Browse the repository at this point in the history
* fix Docker image scan

* removed block completely
  • Loading branch information
gruebel committed Oct 4, 2023
1 parent d741966 commit 05972f3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions checkov/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05972f3

Please sign in to comment.