Tweak fail threshold
This commit is contained in:
parent
657bc24ce0
commit
27d875ae12
|
@ -16,12 +16,12 @@ jobs:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
# Fail the job on critical vulnerabiliies with fix available
|
# Fail the job on high/critical vulnerabiliies with fix available
|
||||||
- name: Scan Dependencies and secrets
|
- name: Scan Dependencies and secrets
|
||||||
uses: aquasecurity/trivy-action@master
|
uses: aquasecurity/trivy-action@master
|
||||||
with:
|
with:
|
||||||
scan-type: 'fs'
|
scan-type: 'fs'
|
||||||
ignore-unfixed: true
|
ignore-unfixed: true
|
||||||
format: 'table'
|
format: 'table'
|
||||||
severity: 'CRITICAL'
|
severity: 'HIGH,CRITICAL'
|
||||||
exit-code: '1'
|
exit-code: '1'
|
||||||
|
|
Loading…
Reference in New Issue