enodia-sentinal/tests
Luna f2d896a2d7 Add status command (roadmap v0.8: status --json)
Add `enodia-sentinel status [--json]` — a local health and alert
summary: daemon running state, heartbeat freshness, per-severity alert
counts, last alert time, and eBPF state. Reuses web.daemon_status (the
same data behind /api/status), so the CLI and dashboard never diverge.

Exit code reflects health (0 = running and fresh, 1 = down or stale), so
it doubles as a cron/monitoring probe. Three CLI tests drive it against a
temp log_dir; no daemon or root needed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 05:17:29 -07:00
..
__init__.py Relicense under GPL-3.0-or-later 2026-05-31 06:52:34 -07:00
test_detectors.py Relicense under GPL-3.0-or-later 2026-05-31 06:52:34 -07:00
test_exec_rules.py Add event-driven eBPF execve layer with a Snort-style rule engine 2026-05-31 07:16:53 -07:00
test_fim.py Add file integrity monitoring (Tripwire-style), auto-refreshed via pacman hook 2026-05-31 22:18:42 -07:00
test_netutil.py Relicense under GPL-3.0-or-later 2026-05-31 06:52:34 -07:00
test_notify.py Add read-only web dashboard and phone push notifications 2026-05-31 16:18:00 -07:00
test_posture.py Add host posture checks (roadmap v0.8: posture check) 2026-06-10 05:15:06 -07:00
test_rootcheck.py Add signed-package verification and anti-rootkit cross-view (v0.7) 2026-06-01 05:42:57 -07:00
test_status.py Add status command (roadmap v0.8: status --json) 2026-06-10 05:17:29 -07:00
test_tamper.py Add signed-package verification and anti-rootkit cross-view (v0.7) 2026-06-01 05:42:57 -07:00
test_triage.py Add false-positive triage via package-ownership provenance 2026-05-31 22:05:00 -07:00
test_web.py Add read-only web dashboard and phone push notifications 2026-05-31 16:18:00 -07:00