Skip to content

Commit

Permalink
Add --tty to container entries
Browse files Browse the repository at this point in the history
  • Loading branch information
lhriley committed Oct 16, 2023
1 parent 2a37ec6 commit cd8bad8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- id: checkov_container
name: Checkov
description: This hook runs checkov.
entry: bridgecrew/checkov:latest -d .
entry: --tty bridgecrew/checkov:latest -d .
args: []
language: docker_image
pass_filenames: false
Expand All @@ -37,7 +37,7 @@
- id: checkov_diff_container
name: Checkov Diff
description: This hook runs checkov against all changed files.
entry: bridgecrew/checkov:latest --enable-secret-scan-all-files
entry: --tty bridgecrew/checkov:latest --enable-secret-scan-all-files
args: ["-f"] # required and must come last
language: docker_image
require_serial: true
Expand All @@ -54,7 +54,7 @@
- id: checkov_secrets_container
name: Checkov Secrets
description: This hook looks for secrets with checkov.
entry: bridgecrew/checkov:latest --framework secrets --enable-secret-scan-all-files
entry: --tty bridgecrew/checkov:latest --framework secrets --enable-secret-scan-all-files
args: ["-f"] # required and must come last
language: docker_image
always_run: true
Expand Down

0 comments on commit cd8bad8

Please sign in to comment.