Skip to content

Commit

Permalink
Fix trivy output
Browse files Browse the repository at this point in the history
  • Loading branch information
goodsong81 committed Jun 4, 2024
1 parent d50675b commit efda5d3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/code_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
run: |
pip install .
pip freeze > requirements.txt
- name: Trivy Scanning
- name: Run Trivy scan
uses: aquasecurity/[email protected]
with:
scan-type: fs
scan-ref: requirements.txt
format: json
output: .tox/trivy-scan-result.spdx.json
- name: Upload Trivy results artifact
format: spdx-json
output: trivy-scan-results.spdx.json
- name: Upload Trivy scan results
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: trivy-scan-results
path: .tox/trivy-scan-results.spdx.json
path: trivy-scan-results.spdx.json

0 comments on commit efda5d3

Please sign in to comment.