Skip to content

Commit

Permalink
Update & Active Trivy-Code-Checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Argelbargel committed Aug 6, 2024
1 parent 8f72715 commit 24b9d6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ jobs:
test:
uses: ./.github/workflows/test.yml

trivy:
uses: ./.github/workflows/trivy-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ jobs:
- name: "Checkout repository"
uses: actions/checkout@v4

- name: Run Trivy vulnerability scanner in repo mode
- name: Run Trivy vulnerability scanner
uses: aquasecurity/[email protected]
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL'
severity: 'MEDIUM,HIGH,CRITICAL'

- name: Upload Trivy scan results to GitHub Security tab
- name: Upload Trivy scan results
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'

- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
- name: Generate SBOM
uses: aquasecurity/[email protected]
with:
scan-type: 'fs'
Expand Down

0 comments on commit 24b9d6a

Please sign in to comment.