From 5fcc480c67d66b2d4e60a61505af8675bdb22287 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Wed, 26 Jan 2022 08:56:02 +0000 Subject: [PATCH] fix: avoid passing filenames to pre-commit hook (#1389) Add pass_filenames: false to pre-commit --- .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 3e3c870d3b..6481b4ea70 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -3,18 +3,18 @@ description: TFsec is a tool to statically analyze Terraform templates to spot potential security issues. language: golang entry: tfsec - types: [terraform] + pass_filenames: false - id: tfsec-docker name: TFSec Docker description: TFsec is a tool to statically analyze Terraform templates to spot potential security issues, uses projects official docker image. language: docker_image entry: aquasec/tfsec-alpine - types: [terraform] + pass_filenames: false - id: tfsec-system name: TFSec system description: TFsec is a tool to statically analyze Terraform templates to spot potential security issues, uses systems installed tfsec. language: system entry: tfsec - types: [terraform] + pass_filenames: false