diff --git a/content/posts/commits/2026-05-26-commit-b14f3db.md b/content/posts/commits/2026-05-26-commit-b14f3db.md new file mode 100644 index 0000000..0652b0c --- /dev/null +++ b/content/posts/commits/2026-05-26-commit-b14f3db.md @@ -0,0 +1,46 @@ +--- +title: "[bojemoi] fix(zap): reset session entre chaque scan + maintenance DB périodique" +date: 2026-05-26T17:24:43+02:00 +draft: false +tags: ["commit", "bojemoi", "main"] +categories: ["Git Activity"] +summary: "Commit b14f3db par Betty dans bojemoi" +author: "Betty" +--- + +## Commit `b14f3db` + +| | | +|---|---| +| **Repository** | bojemoi | +| **Branch** | `main` | +| **Author** | Betty | +| **Hash** | `b14f3db9befe9ad8d87843a9adf77cd685ccc355` | + + +### Description + +- zap_scanner: appel newSession avant chaque scan pour vider le tmpfs + HSQLDB (2GB cap) — évite les crashes OutOfDiskSpace sur les gros sites +- maintenance: ajout service db-maintenance avec deux jobs cron : + - dim 04h : VACUUM ANALYZE hosts/services/nuclei_scan_log/zap_scan_log + - lun 05h : purge des erreurs/timeouts >7j et running stale >1j + dans zap_scan_log et nuclei_scan_log (réouvre les hosts au re-scan) +- maintenance: ajout network backend + secret postgres_password au stack + +Co-Authored-By: Claude Sonnet 4.6 + +### Files Changed + +``` +M oblast-1/zap_scanner.py +M stack/02-service-maintenance.yml +``` + +### Diff Summary + +``` + oblast-1/zap_scanner.py | 10 +++++++ + stack/02-service-maintenance.yml | 60 ++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 70 insertions(+) +```