Skip to content

Commit

Permalink
ci/security: make trivy fail on CRITICALs only (#207)
Browse files Browse the repository at this point in the history
* ci/security: make trivy fail on CRITICALs only

* ci/snyk: adjust threshold to critical
  • Loading branch information
Roberto Santalla authored Jul 15, 2022
1 parent 065ccd7 commit 3fcc95a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
format: table
exit-code: 1
ignore-unfixed: true
severity: CRITICAL,HIGH
severity: CRITICAL

- name: Run Snyk to check Docker image for vulnerabilities
uses: snyk/actions/docker@master
env:
SNYK_TOKEN: ${{ secrets.CAOS_SNYK_TOKEN }}
with:
image: ${{ env.DOCKER_IMAGE }}:${{ env.DOCKER_IMAGE_TAG }}
args: --file=Dockerfile
args: --file=Dockerfile --severity-threshold=critical

0 comments on commit 3fcc95a

Please sign in to comment.