Files
java-devops-demo/vuln-scan/output/05b-dc-keyless-nvd-update.txt
T
Ankur MhatreandClaude Sonnet 5.5 7c677a39d2 Add vuln-scan: Dependency-Check 13.0.0 vs Trivy 0.76.2 vs OSV-Scanner 2.7.1
Same Maven project scanned three ways (pom.xml, SBOM, jars): captured output,
false-positive evidence, suppression files with expiry, CI gate, -Pfixed profile.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b7h4ZNF4BDUpJk3Zou
2026-11-29 02:29:18 +05:30

10 lines
844 B
Plaintext

$ mvn org.owasp:dependency-check-maven:13.0.0:update-only (no -DnvdDatafeedUrl, no NVD API key)
[DEBUG] requesting URI: https://services.nvd.nist.gov/rest/json/cves/2.0?resultsPerPage=2000&startIndex=0
[DEBUG] Status Code: 404
[DEBUG] Reason: Not Found
[DEBUG] Key : message ,Value : Invalid apiKey.
Caused by: io.github.jeremylong.openvulnerability.client.nvd.NvdApiException: Invalid API Key, length of 0 too short to provided a masked partial key
[INFO] BUILD FAILURE
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:13.0.0:update-only (default-cli) on project orders: An exception occurred while downloading updates. Please see the log file for more details. Error updatin
Caused by: io.github.jeremylong.openvulnerability.client.nvd.NvdApiException: Invalid API Key, length of 0 too short to provided a masked partial key