Files
java-devops-demo/vuln-scan/output/10-artifacts.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

23 lines
1.1 KiB
Plaintext

$ trivy rootfs target/lib (the real jars)
findings: 33
$ osv-scanner scan source -r --no-ignore target/lib (default plugins)
Starting filesystem walk for root: /
End status: 1 dirs visited, 9 inodes visited, 0 Extract calls, 132.787µs elapsed, 132.871µs wall time
No package sources found, --help for usage information.
$ osv-scanner scan source -r --no-ignore --x-plugins java/archive target/lib
End status: 1 dirs visited, 9 inodes visited, 8 Extract calls, 7.273061ms elapsed, 7.273144ms wall time
findings: 33
$ dependency-check (the Maven plugin always analyses the resolved jars; it has no manifest-only mode)
findings: 28. How it recognised jackson-databind-2.13.4.jar:
cpe:2.3:a:fasterxml:jackson-core:2.13.4:*:*:*:*:*:*:* confidence HIGHEST
cpe:2.3:a:fasterxml:jackson-databind:2.13.4:*:*:*:*:*:*:* confidence HIGHEST
cpe:2.3:a:fasterxml:jackson-modules-java8:2.13.4:*:*:*:*:*:*:* confidence LOW
pkg:maven/com.fasterxml.jackson.core/[email protected] confidence HIGH
$ osv-scanner scan source --no-ignore --x-plugins java/archive target/orders-1.0.0.jar (the thin application jar)
No issues found