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
|
|
@ -22,6 +22,9 @@ function main {
|
|||
ARGS+=("--no-color")
|
||||
fi
|
||||
|
||||
common::colorify "yellow" "tfsec tool was deprecated, and replaced by trivy. You can check trivy hook here:"
|
||||
common::colorify "yellow" "https://github.com/antonbabenko/pre-commit-terraform/tree/master#terraform_trivy"
|
||||
|
||||
common::per_dir_hook "$HOOK_ID" "${#ARGS[@]}" "${ARGS[@]}" "${FILES[@]}"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue