How akashmsd16/ai-cyber-defense-center works
AI Cyber Defense Center: collectors or lab scenarios supply telemetry that the backend analyzes into alerts and incidents, assigns explainable risk, correlates entities in a knowledge graph, and supports audited defensive response. Analysts use the web console to inspect incidents and approve or roll back actions. The graph retains README-documented capabilities whose implementation was not sampled; those links cite the README, and unsampled route wiring is not asserted beyond that documentation.
Main entry points: App.tsx SOC Web Console · api.ts API Client · routes FastAPI Routes · agents Specialized Agents
Components 25
Telemetry Collection
- Windows Collector
collectors/windows/agent.py - Lab Simulator
collectors/lab/simulator.py
Detection and Investigation
- Agent Orchestrator
backend/app/agents/agent_orchestrator.py - Specialized Agents
backend/app/agents - Agent Base
backend/app/agents/base_agent.py - Detection Rules
backend/app/detection/rule_engine.py - Malware Analyzer
backend/app/detection/malware_analyzer.py - Behavior Anomaly Model
backend/app/ml/anomaly_detector.py - Risk Scoring
backend/app/services/risk_engine.py - Knowledge Graph
backend/app/knowledge_graph/graph_engine.py
SOC Backend
- FastAPI Routes
backend/app/api/routes - SOC Data Models
backend/app/models/models.py - Relational Database
backend/app/core/database.py
Response and Audit
- Response Controller
backend/app/response/response_controller.py - Audit Service
backend/app/services/audit_service.py
Analyst Console
- SOC Web Console
frontend/src/App.tsx - Authentication Context
frontend/src/context/AuthContext.tsx - API Client
frontend/src/services/api.ts - Incident Triage
frontend/src/pages/IncidentsPage.tsx - Graph Explorer
frontend/src/pages/KnowledgeGraphPage.tsx - SOC Dashboard
frontend/src/pages/DashboardPage.tsx - Threat Intelligence
frontend/src/pages/ThreatIntelPage.tsx - Response Center
frontend/src/pages/ResponsePage.tsx - Audit Logs
frontend/src/pages/AuditLogsPage.tsx
Other components
- SOC Analyst
Connections 32
- Windows Collector → FastAPI Routes: submits telemetry
README.md - Lab Simulator → FastAPI Routes: produces test events
README.md - FastAPI Routes → Agent Orchestrator: dispatches analysis
README.md - Agent Orchestrator → Specialized Agents: runs agents
backend/app/agents/agent_orchestrator.py - Specialized Agents → Agent Base: inherits common behavior
backend/app/agents/behavior_agent.py - Specialized Agents → Detection Rules: evaluates signatures
backend/app/agents/threat_detection_agent.py - Specialized Agents → Malware Analyzer: analyzes files
backend/app/agents/malware_agent.py - Specialized Agents → Behavior Anomaly Model: scores behavior
backend/app/agents/behavior_agent.py - Agent Orchestrator → Risk Scoring: calculates risk
backend/app/agents/agent_orchestrator.py - Agent Orchestrator → Knowledge Graph: correlates entities
README.md - FastAPI Routes → SOC Data Models: persists SOC records
README.md - SOC Data Models → Relational Database: uses ORM base
backend/app/models/models.py - FastAPI Routes → Response Controller: executes approved actions
README.md - Response Controller → Audit Service: records actions
README.md - SOC Analyst → SOC Web Console: uses console
README.md - SOC Web Console → Authentication Context: provides authentication
frontend/src/App.tsx - Authentication Context → API Client: requests profile
frontend/src/context/AuthContext.tsx - SOC Web Console → Incident Triage: routes to triage
frontend/src/App.tsx - SOC Web Console → Graph Explorer: routes to graph
frontend/src/App.tsx - SOC Web Console → SOC Dashboard: routes to dashboard
frontend/src/App.tsx - SOC Web Console → Threat Intelligence: routes to intelligence
frontend/src/App.tsx - SOC Web Console → Response Center: routes to response
frontend/src/App.tsx - SOC Web Console → Audit Logs: routes to audit
frontend/src/App.tsx - Incident Triage → API Client: requests incidents
frontend/src/pages/IncidentsPage.tsx - Graph Explorer → API Client: requests graph data
frontend/src/pages/KnowledgeGraphPage.tsx - SOC Dashboard → API Client: requests dashboard data
frontend/src/pages/DashboardPage.tsx - Threat Intelligence → API Client: requests indicators
frontend/src/services/api.ts - Response Center → API Client: requests response actions
frontend/src/services/api.ts - Audit Logs → API Client: requests audit records
README.md - API Client → FastAPI Routes: calls backend API
frontend/src/services/api.ts - Incident Triage → Response Center: initiates mitigation
README.md - Incident Triage → Risk Scoring: displays risk breakdown
README.md