How roldtech/centralsoc works
CentralSOC is a Flask-based defensive security log analyzer and SOC workflow application. Analysts upload or inspect logs; the analyzer parses them into normalized events, applies rules and correlation, extracts IOCs, scores risk, and produces alerts. Analysts then triage alerts, track incidents, search saved decisions, and generate investigations or reports. The graph preserves the documented email-security, response, and export capabilities; unsampled implementations are shown only where the README or source index supports them.
Main entry points: dashboard.py SOC dashboard · analyzer.py Analysis coordinator · models.py SOC records · service.py Ingest and alert workflow
Components 22
Web and access
- Flask application
CentralSOC_v1_Visible_UI_Refresh/regexsoc/web/__init__.py - Authentication
CentralSOC_v1_Visible_UI_Refresh/regexsoc/web/routes/auth.py - SOC dashboard
CentralSOC_v1_Visible_UI_Refresh/regexsoc/web/routes/dashboard.py - Log upload
CentralSOC_v1_Visible_UI_Refresh/regexsoc/web/upload.py - Role permissions
CentralSOC_v1_Visible_UI_Refresh/regexsoc/security/rbac.py
Log analysis
- Analysis coordinator
CentralSOC_v1_Visible_UI_Refresh/regexsoc/services/analyzer.py - Log parsers
CentralSOC_v1_Visible_UI_Refresh/regexsoc/parsers - Normalized events
CentralSOC_v1_Visible_UI_Refresh/regexsoc/models.py - Detection rules
CentralSOC_v1_Visible_UI_Refresh/regexsoc/rules/definitions.py - Detection and correlation
CentralSOC_v1_Visible_UI_Refresh/regexsoc/detectors - Alert construction
CentralSOC_v1_Visible_UI_Refresh/regexsoc/services/alerts.py - Risk scoring
CentralSOC_v1_Visible_UI_Refresh/regexsoc/services/risk.py - IOC extraction
CentralSOC_v1_Visible_UI_Refresh/regexsoc/detectors/ioc.py
SOC operations
- Incident tracking
CentralSOC_v1_Visible_UI_Refresh/regexsoc/db/incidents.py - Investigation briefs
CentralSOC_v1_Visible_UI_Refresh/regexsoc/services/investigation.py - Evidence snapshots
CentralSOC_v1_Visible_UI_Refresh/regexsoc/services/response.py - Reports and export
CentralSOC_v1_Visible_UI_Refresh/regexsoc/services/export.py
Persistence and integrity
- Ingest and alert workflow
CentralSOC_v1_Visible_UI_Refresh/regexsoc/db/service.py - SOC records
CentralSOC_v1_Visible_UI_Refresh/regexsoc/db/models.py - Audit logging
CentralSOC_v1_Visible_UI_Refresh/regexsoc/security/audit.py
Email security
- Email analysis
CentralSOC_v1_Visible_UI_Refresh/regexsoc/email_security/parser.py
Other components
- Analyst
Connections 28
- Analyst → Flask application: uses
CentralSOC_v1_Visible_UI_Refresh/regexsoc/web/__init__.py - Flask application → Authentication: registers routes
CentralSOC_v1_Visible_UI_Refresh/regexsoc/web/__init__.py - Flask application → SOC dashboard: registers routes
CentralSOC_v1_Visible_UI_Refresh/regexsoc/web/__init__.py - Authentication → SOC records: authenticates against
CentralSOC_v1_Visible_UI_Refresh/regexsoc/web/routes/auth.py - Authentication → Role permissions: checks permissions
CentralSOC_v1_Visible_UI_Refresh/regexsoc/web/routes/auth.py - SOC dashboard → Role permissions: checks permissions
CentralSOC_v1_Visible_UI_Refresh/regexsoc/web/routes/dashboard.py - SOC dashboard → Log upload: uses upload handling
CentralSOC_v1_Visible_UI_Refresh/regexsoc/web/routes/dashboard.py - SOC dashboard → Ingest and alert workflow: updates SOC records
CentralSOC_v1_Visible_UI_Refresh/regexsoc/web/routes/dashboard.py - SOC dashboard → Reports and export: requests exports
CentralSOC_v1_Visible_UI_Refresh/regexsoc/web/routes/dashboard.py - SOC dashboard → Incident tracking: supports case workflow
README.md - SOC dashboard → Investigation briefs: supports investigations
README.md - SOC dashboard → Email analysis: offers email analysis
- Log upload → Ingest and alert workflow: submits logs
- Ingest and alert workflow → Analysis coordinator: analyzes input
CentralSOC_v1_Visible_UI_Refresh/regexsoc/db/service.py - Analysis coordinator → Log parsers: parses lines
CentralSOC_v1_Visible_UI_Refresh/regexsoc/services/analyzer.py - Log parsers → Normalized events: produces events
CentralSOC_v1_Visible_UI_Refresh/regexsoc/parsers/structured.py - Analysis coordinator → Detection rules: loads rules
CentralSOC_v1_Visible_UI_Refresh/regexsoc/services/analyzer.py - Analysis coordinator → Detection and correlation: detects and correlates
CentralSOC_v1_Visible_UI_Refresh/regexsoc/services/analyzer.py - Detection and correlation → Detection rules: uses rule definitions
CentralSOC_v1_Visible_UI_Refresh/regexsoc/detectors/correlation.py - Analysis coordinator → IOC extraction: extracts indicators
CentralSOC_v1_Visible_UI_Refresh/regexsoc/services/analyzer.py - Analysis coordinator → Alert construction: builds alerts
CentralSOC_v1_Visible_UI_Refresh/regexsoc/services/analyzer.py - Analysis coordinator → Risk scoring: scores entities
CentralSOC_v1_Visible_UI_Refresh/regexsoc/services/analyzer.py - Ingest and alert workflow → SOC records: persists records
CentralSOC_v1_Visible_UI_Refresh/regexsoc/db/service.py - Ingest and alert workflow → Audit logging: records actions
CentralSOC_v1_Visible_UI_Refresh/regexsoc/db/service.py - Investigation briefs → SOC records: reads evidence
CentralSOC_v1_Visible_UI_Refresh/regexsoc/services/investigation.py - Evidence snapshots → SOC records: records response
README.md - Email analysis → SOC records: stores analysis
README.md - SOC dashboard → SOC records: reads dashboard data
CentralSOC_v1_Visible_UI_Refresh/regexsoc/web/routes/dashboard.py