Skip to content

Commit

Permalink
fix: Run terraform_tfsec only on terraform code changes (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymVlasov committed Sep 15, 2023
1 parent ea0b9e3 commit 4253162
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4253162

Please sign in to comment.