mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
feat(trivy): Add terraform_trivy hook and deprecate terraform_tfsec (#606)
This commit is contained in:
parent
cf0f3168e7
commit
f3c819a747
6 changed files with 152 additions and 4 deletions
|
|
@ -86,13 +86,21 @@
|
|||
exclude: \.terraform\/.*$
|
||||
|
||||
- id: terraform_tfsec
|
||||
name: Terraform validate with tfsec
|
||||
name: Terraform validate with tfsec (deprecated, use "terraform_trivy")
|
||||
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: terraform_trivy
|
||||
name: Terraform validate with trivy
|
||||
description: Static analysis of Terraform templates to spot potential security issues.
|
||||
require_serial: true
|
||||
entry: hooks/terraform_trivy.sh
|
||||
files: \.tf(vars)?$
|
||||
language: script
|
||||
|
||||
- id: checkov
|
||||
name: checkov (deprecated, use "terraform_checkov")
|
||||
description: Runs checkov on Terraform templates.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue