Skip to content

Commit

Permalink
fix trivy scan timing out, disable trivy secret scanner.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattops committed Jul 25, 2023
1 parent b4a0007 commit aface4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/trivy_scan_latest.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Trivy Scan Images
on:
push:
workflow_dispatch:
# Run Trivy Scan every week day
schedule:
Expand Down Expand Up @@ -35,7 +36,9 @@ jobs:
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
scanners: 'vuln'
severity: 'CRITICAL,HIGH'
#trivyignores: '${{ matrix.dockerfile-dir }}/.trivyignore'
timeout: 15m

- name: Slack notification
Expand All @@ -55,6 +58,7 @@ jobs:
image-ref: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.dockerfile-dir }}:latest
ignore-unfixed: true
vuln-type: 'os,library'
scanners: 'vuln'
severity: 'CRITICAL,HIGH'
exit-code: '1'
format: 'sarif'
Expand Down

0 comments on commit aface4e

Please sign in to comment.