Point ZAP baseline script to GHCR image

This commit is contained in:
Tero Halla-aho 2025-12-06 18:35:35 +02:00
parent 682081b932
commit 31c61f5444

View file

@ -5,7 +5,8 @@ set -euo pipefail
# Usage: TARGET=https://test.lomavuokraus.fi ./scripts/zap-baseline.sh
TARGET="${TARGET:-https://test.lomavuokraus.fi}"
ZAP_IMAGE="${ZAP_IMAGE:-owasp/zap2docker-stable}"
# Defaults to GHCR image; override with ZAP_IMAGE if needed (e.g. zaproxy/zap-stable)
ZAP_IMAGE="${ZAP_IMAGE:-ghcr.io/zaproxy/zaproxy:stable}"
REPORT_DIR="${REPORT_DIR:-reports/security}"
TIMEOUT_MINUTES="${TIMEOUT_MINUTES:-5}"