Files
blog/content/posts/commits/2026-05-26-commit-b14f3db.md
Betty 4627e8b0d6
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled
post: commit b14f3db in bojemoi
2026-05-26 17:24:44 +02:00

47 lines
1.3 KiB
Markdown

---
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 <noreply@anthropic.com>
### 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(+)
```