feat(trivy): Add terraform_trivy hook and deprecate terraform_tfsec (#606)

This commit is contained in:
Arnau Llamas 2023-12-15 15:54:13 +01:00 committed by GitHub
commit f3c819a747
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 152 additions and 4 deletions

View file

@ -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[@]}"
}