-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update Trivy vulnerability scanner configuration to use action…
…s/checkout@v4 and include OS vulnerabilities
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ jobs: | |
lint-gradle-project: | ||
runs-on: ubuntu-latest | ||
|
||
needs: check-cve | ||
|
||
steps: | ||
- name: Checkout project source | ||
uses: actions/checkout@v4 | ||
|
@@ -48,7 +50,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: Run Trivy vulnerability scanner | ||
uses: aquasecurity/[email protected] | ||
with: | ||
|
@@ -59,7 +61,7 @@ jobs: | |
output: trivy.md | ||
exit-code: '1' | ||
ignore-unfixed: true | ||
vuln-type: 'library' | ||
vuln-type: 'os,library' | ||
severity: 'CRITICAL,HIGH' | ||
- run: cat trivy.md >> $GITHUB_STEP_SUMMARY | ||
if: always() |