Skip to content

Commit

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

0 comments on commit 91ea89c

Please sign in to comment.