How awish-lab/cybersecurity-incident-reporting-system works
This is a web-based cybersecurity incident reporting and monitoring system. Users sign in, submit incident reports, and review or update incident records; administrators also manage assignments, comments, notifications, audit logs, and SOC metrics. The browser clients call Express API routes, which enforce session and role checks and query SQL Server through a shared connection pool. The README describes search and filtering as product capabilities, though their specific implementation is not fully shown in the excerpts. Edges reflect explicit README statements or sampled calls; unsampled details are not inferred.
Main entry points: script.js Incident workflow · db.js SQL connection pool · server.js Incident API · index.html Web interface
Components 14
Web clients
- Web interface
public/index.html - Incident workflow
public/script.js - SOC dashboard
public/soc-dashboard.js - Search and filtering
public/script.js
Application API
- Authentication
server.js - Incident API
server.js - Comments and assignments
server.js - Notifications
server.js - Audit logs
server.js - Dashboard metrics
server.js - Sessions and access checks
server.js
Persistence
- SQL connection pool
db.js - Incident database
Other components
- User
Connections 19
- User → Web interface: uses
README.md - Web interface → Incident workflow: hosts
README.md - Incident workflow → Authentication: signs in
public/script.js - Incident workflow → Incident API: submits reports
public/script.js - Incident workflow → Comments and assignments: loads comments
public/script.js - Incident workflow → Notifications: marks read
public/script.js - Incident workflow → Audit logs: loads logs
public/script.js - Incident workflow → Search and filtering: filters incidents
public/script.js - User → SOC dashboard: views metrics
- SOC dashboard → Dashboard metrics: fetches summary
public/soc-dashboard.js - Incident API → SQL connection pool: queries
server.js - Comments and assignments → SQL connection pool: queries
server.js - Notifications → SQL connection pool: queries
server.js - Audit logs → SQL connection pool: queries
server.js - Dashboard metrics → SQL connection pool: queries
server.js - Authentication → Sessions and access checks: creates sessions
server.js - Incident API → Sessions and access checks: checks access
server.js - Dashboard metrics → Sessions and access checks: checks access
server.js - SQL connection pool → Incident database: connects
db.js