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
|
||||
|
||||
- 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue