From 9bbdc81eb343b661a654cb045c639d4a811962c8 Mon Sep 17 00:00:00 2001 From: Pratishtha Verma Date: Tue, 4 Jan 2022 12:39:39 +0530 Subject: [PATCH] Checkov Action Added --- .pre-commit-hooks.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 89b985b2..66939cbc 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -110,3 +110,14 @@ entry: ./hooks/check_skip_env.py language: script files: \.go$ + +- id: checkov + name: Checkov + description: Runs checkov on Terraform templates. + entry: checkov -d . + language: script + pass_filenames: false + always_run: false + files: \.tf$ + exclude: \.+.terraform\/.*$ + require_serial: true