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
23 lines
1.1 KiB
Plaintext
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
|