How tomtimlt/jev-soc works
Jev-SOC is a shadow-mode Wazuh alert triage system: it normalizes alerts, correlates related activity, summarizes clusters, obtains typed model decisions, and derives analyst actions without changing or blocking alerts. Its live replay/demo and offline evaluation are distinct product workflows. The graph follows documented behavior and indexed module references; detailed live orchestration and UI internals were not excerpted, so those links rely on README statements where available.
Main entry points: live.py Live engine · eval.py Evaluation runner · demo.py Demo runner · jev_backend.py Decision backend
Components 18
Alert triage
- Live engine
src/jevsoc/live.py - Alert normalization
src/jevsoc/collector.py - Activity correlator
src/jevsoc/correlator.py - Cluster summary
src/jevsoc/serializer.py
Decision engine
- Decision backend
src/jevsoc/backends/jev_backend.py - Typed decisions
src/jevsoc/models.py - Action policy
src/jevsoc/policy.py - Probability calibration
src/jevsoc/calibration.py
Analyst experience
- Demo runner
scripts/demo.py - Activity naming
src/jevsoc/naming.py - SOC demo views
demo/index.html
Evaluation
- Labeled clusters
data/ait - Evaluation runner
eval/eval.py - Evaluation metrics
src/jevsoc/metrics.py - Evaluation results
Other components
- Wazuh alerts
- SOC analyst
- TypeSafe API
Connections 19
- Wazuh alerts → Demo runner: supplies alerts
README.md - Demo runner → Live engine: runs live engine
README.md - Live engine → Alert normalization: normalizes alerts
src/jevsoc/live.py - Live engine → Activity correlator: updates clusters
src/jevsoc/live.py - Live engine → Cluster summary: builds summaries
src/jevsoc/live.py - Live engine → Action policy: derives actions
src/jevsoc/live.py - Live engine → Activity naming: names activities
src/jevsoc/live.py - Demo runner → Decision backend: selects backend
scripts/demo.py - Decision backend → TypeSafe API: requests judgment
src/jevsoc/backends/jev_backend.py - Decision backend → Typed decisions: returns decision
src/jevsoc/backends/jev_backend.py - Action policy → Probability calibration: calibrates probability
src/jevsoc/policy.py - Demo runner → SOC demo views: serves demo
README.md - SOC demo views → SOC analyst: presents findings
README.md - Labeled clusters → Evaluation runner: provides clusters
README.md - Evaluation runner → Decision backend: builds selected backend
eval/eval.py - Evaluation runner → Action policy: derives actions
eval/eval.py - Evaluation runner → Probability calibration: loads calibration
eval/eval.py - Evaluation runner → Evaluation metrics: computes metrics
eval/eval.py - Evaluation runner → Evaluation results: writes report
eval/eval.py