How goutham-hegde/vigil works
Vigil is a threat-detection and attack-simulation engine paired with a SOC dashboard. Raw telemetry—either injected by the simulator or sent to the API—is converted into streaming features, scored by supervised and anomaly detectors, folded into alerts, and correlated into ATT&CK-mapped incidents with explanations and playbooks; the dashboard supports triage and simulation. The graph emphasizes documented runtime ownership and the sampled frontend flow. Several key modules are represented because the README documents their role, but their internal calls were not sampled.
Main entry points: detection.py Detection engine · features.py Streaming features · train.py Model training · Overview.tsx SOC views
Components 21
Detection engine
- Raw events
vigil/schema.py - Streaming features
vigil/features.py - Asset context
vigil/environment.py - Threat classifier
vigil/model.py - Model training
vigil/train.py - Detection engine
vigil/detection.py - Alert management
vigil/detection.py - Incident correlation
vigil/detection.py - Response playbooks
vigil/playbooks.py
Simulation and data
- Attack simulator
vigil/simulator.py - LANL data
vigil/data/lanl.py
API and dashboard
- Runtime orchestration
vigil/runtime.py - HTTP and SSE API
vigil/api.py - SOC dashboard
web/src/App.tsx - Dashboard state
web/src/lib/store.ts - API client
web/src/lib/api.ts - SOC views
web/src/pages/Overview.tsx - Security visualizations
web/src/components/charts.tsx - Security components
web/src/components/security.tsx
Other components
- SOC analyst
- Telemetry source
Connections 24
- Telemetry source → HTTP and SSE API: submits telemetry
README.md - Attack simulator → Raw events: generates events
README.md - Raw events → Streaming features: extracts features
vigil/features.py - Streaming features → Asset context: uses asset roles
vigil/features.py - Streaming features → Threat classifier: scores vectors
vigil/model.py - Model training → Attack simulator: replays telemetry
vigil/train.py - Model training → Streaming features: trains on features
vigil/train.py - Model training → Threat classifier: fits model
vigil/train.py - Detection engine → Streaming features: extracts features
vigil/detection.py - Detection engine → Threat classifier: scores events
vigil/detection.py - Detection engine → Alert management: folds detections
vigil/detection.py - Detection engine → Incident correlation: correlates alerts
README.md - Alert management → Response playbooks: adds guidance
README.md - Runtime orchestration → Attack simulator: runs campaigns
vigil/runtime.py - Runtime orchestration → Detection engine: processes events
vigil/runtime.py - HTTP and SSE API → Runtime orchestration: controls engine
vigil/api.py - SOC dashboard → Dashboard state: bootstraps state
web/src/App.tsx - SOC dashboard → SOC views: renders views
web/src/App.tsx - Dashboard state → API client: fetches and streams
web/src/lib/store.ts - API client → HTTP and SSE API: calls endpoints
web/src/lib/api.ts - SOC analyst → SOC dashboard: triages and simulates
README.md - SOC views → Security visualizations: renders metrics
web/src/pages/Overview.tsx - SOC views → Security components: renders security UI
web/src/pages/Overview.tsx - LANL data → Model training: supplies evaluation data
README.md