Files
blog/content/posts/commits/2026-03-26-commit-2195edf.md
Betty 8b3df064e1
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 9s
post: commit 2195edf in bojemoi
2026-03-26 18:34:03 +01:00

1.0 KiB

title, date, draft, tags, categories, summary, author
title date draft tags categories summary author
[bojemoi] fix(zap-scanner): handle DOES_NOT_EXIST + add timeout to scan wait loops 2026-03-26T18:34:02+01:00 false
commit
bojemoi
main
Git Activity
Commit 2195edf par Betty dans bojemoi Betty

Commit 2195edf

Repository bojemoi
Branch main
Author Betty
Hash 2195edf5009018178f410e8e1a197ae412d059d4

Description

  • wait_for_active_scan_completion: break on DOES_NOT_EXIST response (ZAP restarted → old scan ID gone), add 3600s timeout
  • wait_for_spider_completion: same fix, 1800s timeout
  • Add timeout=10s to requests.get() calls in both loops
  • Scanner was stuck since 2026-03-20 polling dead scan ID 3

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Files Changed

M	oblast-1/zap_scanner.py

Diff Summary

 oblast-1/zap_scanner.py | 55 +++++++++++++++++++++++++++++++++----------------
 1 file changed, 37 insertions(+), 18 deletions(-)