Files
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

27 lines
1.5 KiB
Plaintext

$ mvn org.owasp:dependency-check-maven:13.0.0:update-only -DdataDirectory=<dir> -DretireJsAnalyzerEnabled=false -DnvdDatafeedUrl=https://nvd.nist.gov/feeds/json/cve/2.0/nvdcve-2.0-{0}.json.gz
(first build of the database, empty data directory; the 26 "Download Started" lines are omitted)
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------------------< x:warm >-------------------------------
[INFO] Building warm 1
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- dependency-check:13.0.0:update-only (default-cli) @ warm ---
[INFO] Checking for updates
[INFO] NVD API Cache / Data Feed requires several updates; this could take a couple of minutes.
[INFO] Begin database maintenance
[INFO] Updated the CPE ecosystem on 153865 NVD records
[INFO] Removed the CPE ecosystem on 5366 NVD records
[INFO] End database maintenance (41084 ms)
[INFO] Updating CISA Known Exploited Vulnerability list: https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json
[INFO] Begin database defrag
[INFO] End database defrag (11462 ms)
[INFO] Check for updates complete (360919 ms)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:03 min
[INFO] Finished at: 2026-11-29T02:02:34+05:30
[INFO] ------------------------------------------------------------------------