How sattyajeetmaharana/cyberguard works
CyberGuard is a cybersecurity monitoring and response platform: its backend accepts security activity, runs detection and risk/policy assessment, then coordinates scoring, incident handling, alerts, and response. Users access organization, threat, incident, and score views through a web portal; the repository also contains ML detector and inference components. The graph emphasizes documented backend orchestration and the web route structure. Other UI-to-API wiring and several listed capabilities are not evidenced by the sampled source, so those connections are omitted.
Main entry points: security_pipeline.py Security pipeline · v1 API endpoints · account_takeover_detector.py Account takeover · App.tsx Web app
Components 24
Web portal
- Web app
web/src/App.tsx - Page routing
web/src/routes/AppRoutes.tsx - Security views
web/src/pages - API client
web/src/services/api.ts
Backend API
- Backend entry
backend/app/main.py - API routing
backend/app/api/router.py - API endpoints
backend/app/api/v1
Security processing
- Security pipeline
backend/app/pipeline/security_pipeline.py - Alert orchestration
backend/app/orchestration/service.py - Risk assessment
backend/app/risk/engine.py - Policy evaluation
backend/app/policy/engine.py - Incident handling
backend/app/incidents/service.py - Response actions
backend/app/response/service.py - Security scoring
backend/app/scoring/service.py - Notifications
backend/app/notifications/service.py
Identity and data
- Authentication
backend/app/services/auth_service.py - Organization context
backend/app/services/security_context_service.py - Persistent models
backend/app/db/models
ML detection
- Threat detectors
ml/detectors - Account takeover
ml/detectors/account_takeover_detector.py - ATO inference
ml/inference/account_takeover/predictor.py - ATO features
ml/preprocessing/account_takeover/feature_extractor.py - Detection result
ml/common/detection.py
Other components
- Portal user
Connections 22
- Portal user → Web app: uses
- Web app → Page routing: renders routes
web/src/App.tsx - Page routing → Security views: routes to
web/src/routes/AppRoutes.tsx - Security views → API client: requests data
- Backend entry → API routing: mounts
backend/app/main.py - API routing → API endpoints: registers
backend/app/api/router.py - API endpoints → Security pipeline: dispatches
- API endpoints → Authentication: uses authentication
- API endpoints → Organization context: uses context
- Security pipeline → Risk assessment: assesses risk
backend/app/pipeline/security_pipeline.py - Security pipeline → Policy evaluation: evaluates policy
backend/app/pipeline/security_pipeline.py - Security pipeline → Security scoring: records score
backend/app/pipeline/security_pipeline.py - Security pipeline → Incident handling: correlates incidents
backend/app/pipeline/security_pipeline.py - Security pipeline → Alert orchestration: creates alerts
backend/app/pipeline/security_pipeline.py - Security pipeline → Response actions: recommends actions
backend/app/pipeline/security_pipeline.py - Security pipeline → Notifications: notifies
backend/app/pipeline/security_pipeline.py - Authentication → Persistent models: reads and writes
backend/app/services/auth_service.py - Organization context → Persistent models: reads and writes
backend/app/services/security_context_service.py - Account takeover → ATO inference: runs inference
ml/detectors/account_takeover_detector.py - Account takeover → Detection result: returns detection
ml/detectors/account_takeover_detector.py - ATO inference → ATO features: extracts features
ml/inference/account_takeover/predictor.py - Threat detectors → Security pipeline: supplies detections