diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index cf0fe9da302..ee2cffd158d 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -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 @@ -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 @@ -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