How nishchaygaur/sentinelx works
SentinelX is a SOC and threat-intelligence platform. Its main workflow accepts security telemetry, validates and normalizes it, detects threats, enriches alerts, and supports incident investigation and response through a React SOC interface. The README also describes dashboards, MITRE ATT&CK views, AI investigation, simulated response actions, and PDF reports. Edges below are limited to relationships visible in the excerpts, SOURCE INDEX references, or README; unsampled capability links are documented but not inferred.
Main entry points: db.js PostgreSQL · detectionRules.js Detection Rules · ingestionController.js Ingestion Controller · App.jsx SOC Web Application
Components 27
Telemetry Ingestion
- Ingestion Controller
backend/src/controllers/ingestionController.js - Log Validator
backend/src/ingestion/logValidator.js - Log Normalizer
backend/src/ingestion/logNormalizer.js
Detection And Enrichment
- Detection Rules
backend/src/detection/detectionRules.js - Risk Scoring
backend/src/services/riskScoringService.js - Threat Intelligence
backend/src/services/threatIntelService.js - MITRE ATT&CK
backend/src/services/mitreService.js
Incident Operations
- Express API
backend/src/app.js - PostgreSQL
backend/src/config/db.js - Incident Lifecycle
backend/src/controllers/incidentController.js - Alerts
backend/src/controllers/alertController.js - Response Actions
backend/src/controllers/responseActionController.js - SOC Dashboard Metrics
backend/src/controllers/dashboardController.js - Simulated Incidents
backend/src/services/randomIncidentService.js
Investigation And Reporting
- AI Investigation API
backend/src/controllers/aiController.js - AI Analysis
backend/src/services/aiService.js - AI Copilot And Swarm
backend/src/services/aiCopilotService.js - PDF Report API
backend/src/controllers/reportController.js - PDF Report Generation
backend/src/services/pdfReportService.js
SOC Experience
- SOC Web Application
frontend/src/App.jsx - Copilot Interface
frontend/src/components/AICopilot.jsx - MITRE Heatmap
frontend/src/components/MitreHeatmap.jsx - Documentation Viewer
frontend/src/components/DocsViewer.jsx - Documentation Content
frontend/src/docsData.js - Custom Select
frontend/src/components/Select.jsx
Other components
- Log Shippers
scripts/linux_collector.py - OpenRouter
Connections 33
- Log Shippers → Ingestion Controller: sends logs
- SOC Web Application → Express API: uses REST API
- Express API → Ingestion Controller: routes ingestion
backend/src/app.js - Ingestion Controller → Log Validator: validates logs
backend/src/controllers/ingestionController.js - Ingestion Controller → Log Normalizer: normalizes logs
backend/src/controllers/ingestionController.js - Ingestion Controller → PostgreSQL: writes raw and normalized logs
backend/src/controllers/ingestionController.js - Ingestion Controller → Detection Rules: runs detection
backend/src/controllers/ingestionController.js - Detection Rules → PostgreSQL: reads and writes detections
backend/src/detection/detectionRules.js - Detection Rules → Risk Scoring: uses scoring
backend/src/detection/detectionRules.js - Detection Rules → Threat Intelligence: enriches alerts
backend/src/detection/detectionRules.js - Detection Rules → MITRE ATT&CK: maps techniques
backend/src/detection/detectionRules.js - Detection Rules → Incident Lifecycle: creates incidents
backend/src/detection/detectionRules.js - Incident Lifecycle → PostgreSQL: stores lifecycle
backend/src/controllers/incidentController.js - Incident Lifecycle → Simulated Incidents: requests simulation
backend/src/controllers/incidentController.js - Alerts → PostgreSQL: queries alerts
backend/src/controllers/alertController.js - Response Actions → PostgreSQL: records actions
backend/src/controllers/responseActionController.js - SOC Dashboard Metrics → PostgreSQL: queries metrics
- Express API → AI Investigation API: routes AI requests
backend/src/app.js - AI Investigation API → AI Analysis: analyzes alerts
backend/src/controllers/aiController.js - AI Investigation API → AI Copilot And Swarm: delegates chat and swarm
backend/src/controllers/aiController.js - AI Investigation API → PostgreSQL: loads and saves analysis
backend/src/controllers/aiController.js - AI Analysis → OpenRouter: requests AI completion
- AI Copilot And Swarm → OpenRouter: requests AI investigation
- Express API → PDF Report API: routes report requests
backend/src/app.js - PDF Report API → PDF Report Generation: generates PDFs
backend/src/controllers/reportController.js - PDF Report API → PostgreSQL: loads report data
backend/src/controllers/reportController.js - SOC Web Application → Copilot Interface: renders copilot
frontend/src/App.jsx - SOC Web Application → MITRE Heatmap: renders heatmap
frontend/src/App.jsx - SOC Web Application → Documentation Viewer: renders documentation
frontend/src/App.jsx - Documentation Viewer → Documentation Content: loads content
frontend/src/components/DocsViewer.jsx - SOC Web Application → Custom Select: uses control
frontend/src/App.jsx - Copilot Interface → Custom Select: uses control
frontend/src/components/AICopilot.jsx - MITRE Heatmap → Custom Select: uses control
frontend/src/components/MitreHeatmap.jsx