File tree Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Original file line number Diff line number Diff line change 2828 - name : Run dependency check
2929 env :
3030 NVD_API_KEY : ${{ secrets.NVD_API_KEY }}
31- run : ./gradlew dependencyCheckAnalyze -Dnvd.api.key=$NVD_API_KEY
32-
33- - name : Upload Dependency Check Report
34- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
35- if : always() # Load even if there are vulnerabilities
36- with :
37- name : dependency-check-report
38- path : |
39- ${{ github.workspace }}/build/reports/dependency-check-report.html
40- ${{ github.workspace }}/build/reports/dependency-check-report.json
41- ${{ github.workspace }}/build/reports/dependency-check-report.xml
42- retention-days : 5
31+ run : ./gradlew dependencyCheckAnalyze -Dnvd.api.key=$NVD_API_KEY --quiet
4332
4433 # Upload the results to GitHub's code scanning dashboard (optional).
4534 # Commenting out will disable upload of results to your repo's Code Scanning dashboard
Original file line number Diff line number Diff line change 5353 # Filter SARIF File and only keep enabled checks
5454 cat results.sarif | jq '.runs[].results |= map(select(.ruleId as $id | '$ENABLED_CHECKS_IN_JSON' | index($id)))' > filteredResults.sarif
5555
56- # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
57- # format to the repository Actions tab.
58- - name : " Upload artifact"
59- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
60- with :
61- name : SARIF file
62- path : results.sarif
63- retention-days : 5
64-
6556 # Upload the results to GitHub's code scanning dashboard (optional).
6657 # Commenting out will disable upload of results to your repo's Code Scanning dashboard
6758 - name : " Upload to code-scanning"
You can’t perform that action at this time.
0 commit comments