Skip to content

Commit

Permalink
chore: disable trivy scan because it's unstable
Browse files Browse the repository at this point in the history
init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from any source
  • Loading branch information
takaishi committed Nov 18, 2024
1 parent f4c879a commit ab32ed0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
exit-code: '0'
ignore-unfixed: true
severity: 'CRITICAL,HIGH'
# vulnerability DBのダウンロードにしょっちゅう失敗するのでしばらく無効にする
# - name: Run Trivy vulnerability scanner in fs mode
# uses: aquasecurity/trivy-action@master
# with:
# scan-type: 'fs'
# scan-ref: '.'
# exit-code: '0'
# ignore-unfixed: true
# severity: 'CRITICAL,HIGH'

0 comments on commit ab32ed0

Please sign in to comment.