How tamilselvan-cs/zerotrustsiem-project works
Zero-Trust SIEM is a defensive security-monitoring demo pairing a Flask enterprise app with a desktop SOC dashboard. The main workflow is user activity and authentication in the web app, event logging and detection of brute force, impossible travel, or privilege escalation, persistence in MongoDB, then dashboard monitoring and user-blocking response. The dashboard also provides logs, alerts, risk profiles, threat visualization, rules controls, and settings/reporting. Source excerpts show the web and dashboard entry points and several view behaviors; some dashboard details and the analytics engine’s integration are documented or indexed but not fully shown.
Main entry points: main_ui.py Dashboard Shell · db_config.py DB Connection · app.py Enterprise Web App · dashboard_view.py Threat Dashboard
Components 14
Victim Web App
- Enterprise Web App
ZeroTrust_SIEM/Ecommerce/app.py - Detection & Logging
ZeroTrust_SIEM/Ecommerce/app.py
Shared Event Store
- MongoDB
- DB Connection
ZeroTrust_SIEM/database/db_config.py
SOC Dashboard
- Dashboard Shell
ZeroTrust_SIEM/Dashboard/main_ui.py
Monitoring Views
- Threat Dashboard
ZeroTrust_SIEM/Dashboard/views/dashboard_view.py - Live Logs
ZeroTrust_SIEM/Dashboard/views/logs_view.py - Alert Feed
ZeroTrust_SIEM/Dashboard/views/alerts_view.py - User Risk Profiles
ZeroTrust_SIEM/Dashboard/views/users_view.py
SOC Operations
- Detection Rules
ZeroTrust_SIEM/Dashboard/views/rules_view.py - Settings & Export
ZeroTrust_SIEM/Dashboard/views/settings_view.py - Analytics Engine
ZeroTrust_SIEM/Dashboard/analytics.py
Other components
- Web Users
- SOC Operator
Connections 22
- Web Users → Enterprise Web App: use app
README.md - Enterprise Web App → Detection & Logging: checks and logs
ZeroTrust_SIEM/Ecommerce/app.py - Enterprise Web App → DB Connection: gets connection
ZeroTrust_SIEM/Ecommerce/app.py - Detection & Logging → MongoDB: reads and writes
ZeroTrust_SIEM/Ecommerce/app.py - DB Connection → MongoDB: connects to
ZeroTrust_SIEM/database/db_config.py - SOC Operator → Dashboard Shell: operates
README.md - Dashboard Shell → DB Connection: gets connection
ZeroTrust_SIEM/Dashboard/main_ui.py - Dashboard Shell → Threat Dashboard: opens view
ZeroTrust_SIEM/Dashboard/main_ui.py - Dashboard Shell → Live Logs: opens view
ZeroTrust_SIEM/Dashboard/main_ui.py - Dashboard Shell → Alert Feed: opens view
ZeroTrust_SIEM/Dashboard/main_ui.py - Dashboard Shell → User Risk Profiles: opens view
ZeroTrust_SIEM/Dashboard/main_ui.py - Dashboard Shell → Detection Rules: opens view
ZeroTrust_SIEM/Dashboard/main_ui.py - Dashboard Shell → Settings & Export: opens view
ZeroTrust_SIEM/Dashboard/main_ui.py - Threat Dashboard → MongoDB: polls events
README.md - Live Logs → MongoDB: queries logs
ZeroTrust_SIEM/Dashboard/views/logs_view.py - Alert Feed → MongoDB: queries alerts
ZeroTrust_SIEM/Dashboard/views/alerts_view.py - Alert Feed → MongoDB: resolves incidents
ZeroTrust_SIEM/Dashboard/views/alerts_view.py - User Risk Profiles → MongoDB: scores from logs
ZeroTrust_SIEM/Dashboard/views/users_view.py - Threat Dashboard → MongoDB: blocks or allows
ZeroTrust_SIEM/Dashboard/views/dashboard_view.py - Settings & Export → MongoDB: exports and clears
ZeroTrust_SIEM/Dashboard/views/settings_view.py - Analytics Engine → DB Connection: gets connection
ZeroTrust_SIEM/Dashboard/analytics.py - Analytics Engine → MongoDB: analyzes logs
ZeroTrust_SIEM/Dashboard/analytics.py