Skip to content

Commit

Permalink
Fix trivy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gbikkiintel committed Oct 30, 2024
1 parent dfa1b75 commit e58e28b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,14 @@ jobs:

- name: Run Trivy code vulnerability scanner (SPDX-JSON Output)
run: |
trivy --quiet fs --format spdx-json --output trivy-code-spdx-results.json --ignore-unfixed --vuln-type os,library --severity CRITICAL,HIGH,MEDIUM,LOW .
trivy --quiet fs \
--format spdx-json \
--output trivy-code-spdx-results.json \
--ignore-unfixed \
--vuln-type os,library \
--severity CRITICAL,HIGH,MEDIUM,LOW \
--db-repository ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db \
.
- name: Upload Code Vulnerability Scan Results
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit e58e28b

Please sign in to comment.