From aa24bd7ab7a729b7fbebc1b891c832d0ae20bacf Mon Sep 17 00:00:00 2001 From: "l.h. riley" Date: Thu, 24 Aug 2023 10:10:59 -0700 Subject: [PATCH] Add --tty to container entries --- .pre-commit-hooks.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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