How saharshkrishna/sentinel works
SentinelAI monitors Windows event logs, enriches events with process details, combines rule-based and Ollama classifications, and emits alerts for detected anomalies. Users can run monitoring in console or as a Windows service, inspect events in the desktop UI, and manage service status and alert notifications from the tray. README also describes a web dashboard, but it is absent from the supplied tree, so it is represented only as a documented capability; source excerpts are incomplete.
Main entry points: decision_engine.py Hybrid Decision Engine · desktop_app.py Desktop Dashboard · log_reader.py Log Reader · main.py IDS Manager
Components 17
Event Monitoring
- Log Reader
ids_project/core/log_reader.py - Process Enrichment
ids_project/core/process_tracker.py
Detection and Alerts
- Hybrid Decision Engine
ids_project/core/decision_engine.py - Rule Engine
ids_project/core/rule_engine.py - AI Analysis
ids_project/core/ai_engine.py - Alert Writer
ids_project/core/alert.py - Alert Log
ids_project/config/settings.py
User Interfaces
- IDS Manager
ids_project/main.py - Desktop Dashboard
ids_project/ui/desktop_app.py - Limitations Guidance
ids_project/core/limitations.py - System Tray
ids_project/tray/tray_app.py - Windows Service
ids_project/service/service_runner.py - Web Dashboard
ids_project
Response and Configuration
- Process Controls
ids_project/core/process_control.py
Other components
- Operator
- Windows Event Logs
- Ollama Model
Connections 22
- Operator → IDS Manager: selects mode
ids_project/main.py - IDS Manager → Log Reader: starts monitoring
ids_project/main.py - IDS Manager → Windows Service: manages service
ids_project/main.py - IDS Manager → System Tray: launches tray
ids_project/main.py - IDS Manager → Desktop Dashboard: launches desktop
ids_project/main.py - Windows Event Logs → Log Reader: provides events
ids_project/core/log_reader.py - Log Reader → Process Enrichment: enriches event
ids_project/core/log_reader.py - Log Reader → Hybrid Decision Engine: submits event
ids_project/core/log_reader.py - Hybrid Decision Engine → Rule Engine: evaluates event
ids_project/core/decision_engine.py - Hybrid Decision Engine → AI Analysis: analyzes event
ids_project/core/decision_engine.py - AI Analysis → Ollama Model: requests classification
ids_project/core/ai_engine.py - Hybrid Decision Engine → Alert Writer: triggers alert
ids_project/core/decision_engine.py - Alert Writer → Alert Log: appends alerts
ids_project/core/alert.py - Hybrid Decision Engine → Desktop Dashboard: notifies subscribers
ids_project/core/decision_engine.py - Desktop Dashboard → Log Reader: starts live reader
ids_project/ui/desktop_app.py - Desktop Dashboard → Hybrid Decision Engine: processes offline logs
ids_project/ui/desktop_app.py - Desktop Dashboard → Process Controls: manages processes
ids_project/ui/desktop_app.py - Desktop Dashboard → Limitations Guidance: uses guidance
ids_project/ui/desktop_app.py - Windows Service → Log Reader: runs reader
ids_project/service/service_runner.py - System Tray → Alert Log: tails alerts
ids_project/tray/tray_app.py - System Tray → Windows Service: controls service
ids_project/tray/tray_app.py - Operator → Web Dashboard: views dashboard
README.md