fix(cicd): replace tfsec with trivy
- tfsec is deprecated
This commit is contained in:
parent
ba83c03b6d
commit
85caf24a93
1 changed files with 6 additions and 3 deletions
|
@ -66,10 +66,13 @@ jobs:
|
||||||
tflint --init
|
tflint --init
|
||||||
tflint
|
tflint
|
||||||
|
|
||||||
- name: tfsec
|
- name: Run Trivy vulnerability scanner in IaC mode
|
||||||
uses: aquasecurity/tfsec-action@v1.0.0
|
uses: aquasecurity/trivy-action@0.28.0
|
||||||
with:
|
with:
|
||||||
soft_fail: true
|
scan-type: 'config'
|
||||||
|
hide-progress: true
|
||||||
|
exit-code: '1'
|
||||||
|
severity: 'CRITICAL,HIGH'
|
||||||
|
|
||||||
terraform-plan:
|
terraform-plan:
|
||||||
name: Terraform Plan
|
name: Terraform Plan
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue