mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
feat: Add checkov support (#143)
This commit is contained in:
parent
45e16de525
commit
293b64c0ea
2 changed files with 13 additions and 0 deletions
|
|
@ -71,3 +71,14 @@
|
|||
description: Static analysis of Terraform templates to spot potential security issues.
|
||||
entry: terraform_tfsec.sh
|
||||
language: script
|
||||
|
||||
- id: checkov
|
||||
name: Checkov
|
||||
description: Runs checkov on Terraform templates.
|
||||
entry: checkov -d .
|
||||
language: python
|
||||
pass_filenames: false
|
||||
always_run: false
|
||||
files: \.tf$
|
||||
exclude: \.+.terraform\/.*$
|
||||
require_serial: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue