How kpatel3360-eng/aegisnet works
AegisNet is a network-security monitoring platform: users view a dashboard or upload compatible flow data for binary attack detection and multiclass threat classification, alongside a separate one-minute traffic forecast. The graph includes the documented analytics, health, and model-information capabilities. Sampled code confirms CSV validation, model loading, preprocessing, and forecasting; unsampled route and analytics internals are represented only at their exact tree paths, with uncertain calls omitted.
Main entry points: App.jsx Application Shell · app.py Flask App · prediction.py Prediction API · analytics_service.py Flow Analytics
Components 21
Command Center
- Application Shell
frontend/src/App.jsx - Dashboard
frontend/src/pages/Dashboard.jsx - Threat View
frontend/src/pages/ThreatDetection.jsx - Traffic View
frontend/src/pages/TrafficPrediction.jsx - Analytics View
frontend/src/pages/Analytics.jsx - About View
frontend/src/pages/About.jsx - CSV Upload
frontend/src/components/FileUploadModal.jsx - API Client
frontend/src/services/api.js - Frontend Server
frontend/server.js
Backend API
- Flask App
backend/app.py - Health API
backend/routes/health.py - Dashboard API
backend/routes/dashboard.py
Threat Analysis
- Prediction API
backend/routes/prediction.py - CSV Validation
backend/utils/validation.py - Flow Analytics
backend/services/analytics_service.py - Feature Preparation
backend/services/preprocessing_service.py - Model Runtime
backend/services/model_service.py
Traffic Forecasting
- Traffic API
backend/routes/traffic.py - Forecast Service
backend/services/traffic_service.py - Traffic History
Other components
- Operator
Connections 22
- Operator → Application Shell: uses
- Application Shell → API Client: fetches summary
- Application Shell → Dashboard: renders
- Application Shell → Threat View: renders
- Application Shell → Traffic View: renders
- Application Shell → Analytics View: renders
- Application Shell → About View: renders
- Application Shell → CSV Upload: opens
- CSV Upload → API Client: uploads CSV
- API Client → Frontend Server: sends API request
- Frontend Server → Flask App: proxies API
- Flask App → Health API: registers routes
- Flask App → Dashboard API: registers routes
- Flask App → Prediction API: registers routes
- Flask App → Traffic API: registers routes
- Prediction API → CSV Validation: validates upload
- Prediction API → Flow Analytics: analyzes flows
- Flow Analytics → Feature Preparation: prepares features
- Flow Analytics → Model Runtime: uses classifiers
- Traffic API → Forecast Service: requests forecast
- Forecast Service → Traffic History: reads history
- Forecast Service → Model Runtime: uses forecaster