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
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
f32c088174
commit
7c677a39d2
@@ -0,0 +1,12 @@
|
||||
# Tool locations used by run-all.sh. Override with environment variables.
|
||||
MODULE="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
OUT="$MODULE/output"
|
||||
export JAVA_HOME="${JAVA_HOME:-/tmp/tools/jdk-25.0.5.1+2}"
|
||||
export PATH="$JAVA_HOME/bin:$PATH"
|
||||
OSV="${OSV:-/tmp/gopath/bin/osv-scanner}"
|
||||
TRIVY_IMAGE="${TRIVY_IMAGE:-trivy-local:0.76.2}"
|
||||
DC_VERSION="${DC_VERSION:-13.0.0}" # org.owasp:dependency-check-maven
|
||||
DC_DATA="${DC_DATA:-/tmp/dcdata}" # persisted Dependency-Check H2 database
|
||||
TRIVY_CACHE="${TRIVY_CACHE:-/tmp/trivy-cache}"
|
||||
# Strip sandbox noise from anything that is committed.
|
||||
clean() { grep -v -E '^Picked up|^WARNING: |sun.misc.Unsafe' | sed -e "s#$MODULE#<module>#g" -e "s#$HOME#~#g"; }
|
||||
Reference in New Issue
Block a user