netsec-agent/netsec_scan
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sirius DevOps 5e45aa0713 netsec-scan: hold current-state tripwires on a seed tick instead of printing them
A seed tick's contract is 'stdout empty + one summary line'. PromQL rules
run before the seed block and their findings were still printed, so a cold
start on a cluster with an active drop-spike (or four new-port lines) was
NOT silent and its cron delivery outcome was 'delivered', not 'suppressed'
— i.e. the seed tick still looked like the alert storm it exists to
prevent. Observed live at 07:17Z: drop-spike + 4x new-port were firing.

They are now absorbed with no cooldown clock (last_alert='') so the first
warm tick reports them: the silence costs one interval, never a 24 h
STATE_COOLDOWN.
2026-11-27 02:18:26 -05:00
..
__init__.py netsec-scan: deterministic sensor (6 PromQL tripwires + 2 flow-store novelty rules) 2026-11-27 00:20:46 -05:00
__main__.py netsec-scan: hold current-state tripwires on a seed tick instead of printing them 2026-11-27 02:18:26 -05:00
config.py netsec-scan: HTTP attack-shape rules over the gateway access log (§4d) 2026-11-27 02:17:50 -05:00
flows.py netsec-scan: read flows-*.jsonl.gz so a cold start baselines the retained window, not the live file 2026-11-27 02:09:51 -05:00
http_rules.py netsec-scan: HTTP attack-shape rules over the gateway access log (§4d) 2026-11-27 02:17:50 -05:00
loki.py netsec-scan: HTTP attack-shape rules over the gateway access log (§4d) 2026-11-27 02:17:50 -05:00
prom.py netsec-scan: deterministic sensor (6 PromQL tripwires + 2 flow-store novelty rules) 2026-11-27 00:20:46 -05:00
report.py netsec-scan: HTTP attack-shape rules over the gateway access log (§4d) 2026-11-27 02:17:50 -05:00
rules.py netsec-scan: a seed is silent for its whole span, --dry-run included 2026-11-27 02:17:16 -05:00
state.py netsec-scan: read flows-*.jsonl.gz so a cold start baselines the retained window, not the live file 2026-11-27 02:09:51 -05:00