Skip to content

fix: ZAP script#87

Merged
thced merged 2 commits into
masterfrom
fix/zap-script
May 21, 2026
Merged

fix: ZAP script#87
thced merged 2 commits into
masterfrom
fix/zap-script

Conversation

@thced

@thced thced commented May 21, 2026

Copy link
Copy Markdown
Contributor

No description provided.

thced added 2 commits May 21, 2026 08:14
The previous script passed `-t` twice; the second occurrence
silently overwrote the OpenAPI spec target, so the scan never
loaded `src/test/resources/openapi.json`. The host override for
`zap-api-scan.py` is `-O`, not a second `-t`.

Also add a shebang, `set -euo pipefail`, `--rm` on docker run,
and a usage comment pointing at the ServerLauncher prerequisite.
gen.conf and zap-report.html are regenerated on every ./zap.sh run.
@thced thced marked this pull request as ready for review May 21, 2026 06:44
@thced thced merged commit e0f0432 into master May 21, 2026
4 checks passed
@thced thced deleted the fix/zap-script branch May 21, 2026 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant