How yasirpz/mini-siem works
Mini-SIEM is a defensive web-based SIEM for administrators. Its main workflow is to authenticate, collect or import host events, normalize and retain them, detect suspicious activity, and review alerts and telemetry in a live dashboard. Separate capabilities cover host and threat-IP administration, scheduled collection, USB events, and file-integrity monitoring. The graph follows documented and indexed relationships; some unsampled route details are represented only where the README or source index supports them.
Main entry points: models.py Application database · api.js Browser API client · collection.py Host collection · log_analyzer.py Event normalization
Components 27
Web experience
- Web pages
app/blueprints/ui.py - Session authentication
app/blueprints/auth.py - Browser API client
app/static/js/api.js - Live dashboard
app/static/js/dashboard.js - Live refresh
app/static/js/live.js - Alert and event views
app/static/js/alerts.js - Admin interface
app/static/js/admin.js
Administration
- Host management API
app/blueprints/api/hosts.py - Threat IP API
app/blueprints/api/threat_intel.py - API input validation
app/validators.py
Collection and ingestion
- Event import API
app/blueprints/api/events.py - Sample log loader
app/services/sample_loader.py - Host collection
app/services/collection.py - Linux log collection
app/services/log_collector.py - SSH remote client
app/services/remote_client.py - Windows event client
app/services/win_client.py - Automatic scheduler
app/services/scheduler.py
Detection and evidence
- Integrity API
app/blueprints/api/integrity.py - File integrity monitor
app/services/file_integrity.py - Event normalization
app/services/log_analyzer.py - Forensic Parquet archive
app/services/data_manager.py - Rule detection engine
app/services/detection.py - ATT&CK rule catalog
app/rule_catalog.py - Alert triage API
app/blueprints/api/alerts.py - Dashboard statistics API
app/blueprints/api/stats.py
Persistent state
- Application database
app/models.py
Other components
- Lab administrator
Connections 37
- Lab administrator → Session authentication: signs in
README.md - Lab administrator → Web pages: uses dashboard
README.md - Web pages → Live dashboard: presents
- Live dashboard → Browser API client: requests data
app/static/js/dashboard.js - Live dashboard → Live refresh: refreshes through
app/static/js/dashboard.js - Alert and event views → Browser API client: requests data
app/static/js/alerts.js - Admin interface → Browser API client: requests data
app/static/js/admin.js - Browser API client → Host management API: calls API
- Browser API client → Event import API: calls API
- Browser API client → Alert triage API: calls API
- Browser API client → Dashboard statistics API: calls API
- Host management API → API input validation: validates input
app/blueprints/api/hosts.py - Threat IP API → API input validation: validates input
app/blueprints/api/threat_intel.py - Event import API → Sample log loader: loads samples
app/blueprints/api/events.py - Event import API → Event normalization: ingests events
app/blueprints/api/events.py - Host management API → Host collection: collects host logs
app/blueprints/api/hosts.py - Host management API → Windows event client: queries host
app/blueprints/api/hosts.py - Host collection → Linux log collection: collects Linux logs
app/services/collection.py - Host collection → Windows event client: collects Windows logs
app/services/collection.py - Host collection → SSH remote client: uses SSH client
app/services/collection.py - Host collection → Event normalization: submits events
app/services/collection.py - Automatic scheduler → Host collection: schedules collection
app/services/scheduler.py - Automatic scheduler → File integrity monitor: schedules scans
app/services/scheduler.py - Integrity API → File integrity monitor: runs scans
app/blueprints/api/integrity.py - Event normalization → Forensic Parquet archive: archives batch
app/services/log_analyzer.py - Event normalization → Rule detection engine: runs detection
app/services/log_analyzer.py - File integrity monitor → Event normalization: ingests findings
app/services/file_integrity.py - Rule detection engine → ATT&CK rule catalog: uses rule metadata
- Rule detection engine → Application database: stores alerts
app/services/detection.py - Event normalization → Application database: stores events
app/services/log_analyzer.py - Forensic Parquet archive → Application database: records archive metadata
app/services/data_manager.py - Host management API → Application database: manages hosts
app/blueprints/api/hosts.py - Threat IP API → Application database: manages IP registry
app/blueprints/api/threat_intel.py - Alert triage API → Application database: reads and updates alerts
app/blueprints/api/alerts.py - Dashboard statistics API → Application database: queries telemetry
app/blueprints/api/stats.py - Dashboard statistics API → ATT&CK rule catalog: reports rule coverage
app/blueprints/api/stats.py - Session authentication → Application database: checks user credentials
app/blueprints/auth.py