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
8 lines
454 B
Docker
8 lines
454 B
Docker
# Only needed when HTTPS is intercepted by a proxy with its own CA (as in the sandbox used for the post).
|
|
# Copy that CA bundle next to this file as ca.crt, then:
|
|
# docker build -f scripts/Dockerfile.trivy -t trivy-local:0.76.2 scripts/
|
|
# On a normal network use ghcr.io/aquasecurity/trivy:0.76.2 directly (TRIVY_IMAGE in env.sh).
|
|
FROM ghcr.io/aquasecurity/trivy:0.76.2
|
|
COPY ca.crt /tmp/ca.crt
|
|
RUN cat /tmp/ca.crt >> /etc/ssl/certs/ca-certificates.crt
|