How m-uzair-asif/sentinel-dash works
This repository is the Tracer security operations console frontend. Users onboard and configure a workspace, then monitor assets, host metrics, security events and incidents; analysts can inspect and analyze logs, while teams manage members and settings. The frontend uses an API client for backend operations and WebSocket-backed hooks/providers for live data. The README is empty, so capability coverage comes from the source index and sampled excerpts; some route-level interactions are therefore left unlinked.
Main entry points: axiosInstance.ts HTTP API client · dashboard/page.tsx Root dashboard · onboarding/page.tsx Workspace onboarding · useSystemMetricsStream.tsx Host metrics stream
Components 27
Public and onboarding
- Workspace onboarding
frontend/app/(auth)/onboarding/page.tsx - Product and pricing
frontend/app/page.tsx
Security monitoring
- Employee dashboard
frontend/app/employee/dashboard/page.tsx - Root dashboard
frontend/app/root/dashboard/page.tsx - Asset setup
frontend/component/dashboard/ConnectAssetWizardModal.tsx - Host metrics stream
frontend/hook/useSystemMetricsStream.tsx - Security event history
frontend/hook/useSecurityEvents.tsx - Incident views
frontend/app/root/dashboard/incidents/page.tsx - Attack storyboard
frontend/component/dashboard/AttackStoryboard.tsx - Employee incident views
frontend/app/employee/dashboard/incidents/page.tsx
Logs and response
- Log management
frontend/app/root/dashboard/logs/page.tsx - Log inspection and analysis
frontend/app/root/dashboard/logs/[id]/page.tsx - Log upload
frontend/component/dashboard/logs/LogUploaderModal.tsx - Assigned log detail
frontend/app/employee/dashboard/logs/[id]/page.tsx - Audit history
frontend/app/root/dashboard/audit/page.tsx
Shared platform
- Live SOC stream
frontend/component/layout/LiveStreamProvider.tsx - Team management
frontend/app/root/dashboard/team/page.tsx - Employee team view
frontend/app/employee/dashboard/team/page.tsx - SOC settings
frontend/app/root/dashboard/settings/page.tsx - Employee profile
frontend/app/employee/dashboard/profile/page.tsx - Session and role helpers
frontend/lib/authHelper.ts - Plans and feature access
frontend/lib/plan.ts - SOC preferences
frontend/lib/socSettings.ts - HTTP API client
frontend/lib/axiosInstance.ts
Other components
- Visitor
- Tracer API
- API WebSocket
Connections 30
- Visitor → Product and pricing: explores
frontend/app/page.tsx - Visitor → Workspace onboarding: starts setup
frontend/app/(auth)/onboarding/page.tsx - Workspace onboarding → SOC preferences: saves preferences
frontend/app/(auth)/onboarding/page.tsx - Workspace onboarding → Plans and feature access: saves plan
frontend/app/(auth)/onboarding/page.tsx - Workspace onboarding → HTTP API client: uses API
frontend/app/(auth)/onboarding/page.tsx - Employee dashboard → HTTP API client: fetches dashboard data
frontend/app/employee/dashboard/page.tsx - Root dashboard → HTTP API client: fetches dashboard data
frontend/app/root/dashboard/page.tsx - Root dashboard → Host metrics stream: reads live metrics
frontend/app/root/dashboard/page.tsx - Root dashboard → Security event history: reads event feed
frontend/app/root/dashboard/page.tsx - Root dashboard → Attack storyboard: renders storyboard
frontend/app/root/dashboard/page.tsx - Host metrics stream → Session and role helpers: checks session
frontend/hook/useSystemMetricsStream.tsx - Host metrics stream → HTTP API client: requests stream ticket
frontend/hook/useSystemMetricsStream.tsx - Host metrics stream → API WebSocket: receives host metrics
frontend/hook/useSystemMetricsStream.tsx - Security event history → HTTP API client: loads stored events
frontend/hook/useSecurityEvents.tsx - Security event history → Live SOC stream: merges live events
frontend/hook/useSecurityEvents.tsx - Live SOC stream → Session and role helpers: checks session
frontend/component/layout/LiveStreamProvider.tsx - Live SOC stream → API WebSocket: receives live updates
frontend/component/layout/LiveStreamProvider.tsx - Incident views → HTTP API client: loads incidents
- Employee incident views → HTTP API client: loads incidents
- Log management → HTTP API client: loads log records
- Log inspection and analysis → HTTP API client: requests analysis
- Log upload → HTTP API client: uploads logs
- Assigned log detail → HTTP API client: loads assigned log
- Audit history → HTTP API client: loads audit history
- Team management → HTTP API client: manages members
frontend/app/root/dashboard/team/page.tsx - SOC settings → HTTP API client: loads account data
frontend/app/root/dashboard/settings/page.tsx - SOC settings → SOC preferences: saves monitoring settings
frontend/app/root/dashboard/settings/page.tsx - SOC settings → Plans and feature access: checks feature access
frontend/app/root/dashboard/settings/page.tsx - HTTP API client → Tracer API: sends HTTP requests
frontend/lib/axiosInstance.ts - Asset setup → HTTP API client: connects assets