How salman-sensei/soc-model-tester works
SOC Model Tester is a local web application for interactive network-flow inference and SOC triage, alongside a notebook-based model-development workflow. Analysts load a model, submit one record or a CSV, review predictions and provisional priority, and export batch results. The README documents model-family detection and evaluation capabilities; sampled backend excerpts show model inspection, prediction, triage, and metric logic, but do not expose every route implementation. The notebook’s internal stages are documented rather than sampled here.
Main entry points: app.py Flask API · App.jsx React Console · soc_intrusion_detection_pipeline.ipynb Development Pipeline · soc_model.joblib Model Artifact
Components 13
Analyst Interface
- React Console
frontend/src/App.jsx - CSV Batch Input
frontend/src/App.jsx - Results and Export
frontend/src/App.jsx
Inference and Triage
- Flask API
backend/app.py - Model Inspection
backend/app.py - Model Artifact
soc_model.joblib - Binary Detection
backend/app.py - Attack Family
backend/app.py - Triage Priority
backend/app.py - Batch Evaluation
backend/app.py
Model Development
- Development Pipeline
notebooks/soc_intrusion_detection_pipeline.ipynb - Benchmark Datasets
Other components
- SOC Analyst
Connections 14
- SOC Analyst → React Console: uses
README.md - React Console → Flask API: sends requests
README.md - React Console → Model Inspection: uploads model
README.md - Model Inspection → Model Artifact: loads
README.md - Model Inspection → Flask API: reports status
backend/app.py - Flask API → Binary Detection: predicts
backend/app.py - Flask API → Attack Family: estimates family
README.md - Flask API → Triage Priority: assigns priority
backend/app.py - CSV Batch Input → Flask API: submits batch
README.md - Flask API → Batch Evaluation: evaluates labels
backend/app.py - Flask API → Results and Export: returns predictions
README.md - React Console → Results and Export: presents and exports
frontend/src/App.jsx - Benchmark Datasets → Development Pipeline: audits and aligns
README.md - Development Pipeline → Model Artifact: prepares artifact
README.md