Skip to content

Commit 1d6395a

Browse files
committed
Add NVD API key to OWASP dependency check workflow
1 parent 15f45ce commit 1d6395a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/dependency-check.yaml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ jobs:
3030
-DfailBuildOnCVSS=7 \
3131
-DsuppressedPaths=./dependency-check-suppressions.xml \
3232
-Dformats=HTML,JSON \
33-
-Danalyzer.ossindexAnalyzerEnabled=true
33+
-Danalyzer.ossindexAnalyzerEnabled=true \
34+
-DnvdApiKey=${{ secrets.NVD_API_KEY }}
35+
env:
36+
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
3437
- name: Upload report
3538
uses: actions/upload-artifact@v7
3639
if: always()

0 commit comments

Comments
 (0)