Skip to content

Commit 690ac5f

Browse files
committed
GH-247 OWASP Dependency-Checker logs adjust
Signed-off-by: Uladzislau Kalesnikau <[email protected]>
1 parent c6e15e5 commit 690ac5f

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

.github/workflows/dependency-check.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,7 @@ jobs:
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

.github/workflows/scorecard.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,6 @@ jobs:
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"

0 commit comments

Comments
 (0)