feat(reporter): add rolling 24h drift/heal counters to state snapshot

This commit is contained in:
patrick committed 2026-03-06 17:38:42 -05:00
1 parent 8c7b0768b0
commit 469a30df6a
3 files changed
+121 -1

No files matched your search

+1
View File
@@ -32,6 +32,7 @@ The standard `crowdsec-firewall-bouncer` can occasionally experience "ghost" des
- Persists structured heal history, including pre/post fingerprints and heal result.
- Exposes lightweight node metrics in state (`uptime_seconds`, `checks_total`, `heals_total`, `heal_failures_total`).
- Tracks drift activity counters (`drift_events_total`, `drift_heal_attempts_total`) for suppression/load visibility.
- Exposes rolling 24h counters (`drift_events_24h`, `drift_heal_attempts_24h`, `heals_24h`, `heal_failures_24h`).
- Default state path: `/root/threat-engine-agent/threat-agent-state.json`.
## 📂 Project Structure