fix(cicd): replace tfsec with trivy
Some checks failed
Terraform CI/CD / Terraform Format, Validate, Lint, Scan (push) Failing after 7m1s
Terraform CI/CD / Terraform Plan (push) Has been skipped
Terraform CI/CD / Terraform Apply (push) Has been skipped

- tfsec is deprecated
This commit is contained in:
Ben Martin 2025-04-20 10:35:23 +00:00
parent ba83c03b6d
commit 85caf24a93
Signed by: ben
GPG key ID: 859A655FCD290E4A

View file

@ -66,10 +66,13 @@ jobs:
tflint --init
tflint
- name: tfsec
uses: aquasecurity/tfsec-action@v1.0.0
- name: Run Trivy vulnerability scanner in IaC mode
uses: aquasecurity/trivy-action@0.28.0
with:
soft_fail: true
scan-type: 'config'
hide-progress: true
exit-code: '1'
severity: 'CRITICAL,HIGH'
terraform-plan:
name: Terraform Plan