diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 4f554ea..7b5152b 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -90,6 +90,7 @@ description: Static analysis of Terraform templates to spot potential security issues. require_serial: true entry: hooks/terraform_tfsec.sh + files: \.tf(vars)?$ language: script - id: checkov