How yogchouhan/cyber-incident-simulator works
This C++17 console simulator models a small network and supports incident response exercises. The principal workflow is to generate or select an incident, inspect its forensic details and target-device diagnostics, apply a type-specific response, and optionally export an audit report. Device and incident classes hold the simulation domain state; SimulatorApp owns the collections and coordinates the menu and operations. The graph follows the README and provided source excerpts; links for menu capabilities documented but not shown in full are cited to the README.
Main entry points: Simulator.cpp Simulator Menu · Incident.cpp Incident Types · Device.cpp Device Models · main.cpp Program Entry
Components 10
Application Runtime
- Program Entry
src/main.cpp - Simulator Menu
src/Simulator.cpp
Network Devices
- Device Management
src/Simulator.cpp - Device Models
src/Device.cpp
Incident Response
- Incident Listing
src/Simulator.cpp - Investigation & Response
src/Simulator.cpp - Incident Types
src/Incident.cpp
Audit Reporting
- Report Export
src/Simulator.cpp - Text Audit Report
Other components
- Operator
Connections 13
- Operator → Program Entry: starts
README.md - Program Entry → Simulator Menu: runs
src/main.cpp - Simulator Menu → Device Management: dispatches
README.md - Simulator Menu → Incident Listing: dispatches
README.md - Simulator Menu → Investigation & Response: dispatches
src/Simulator.cpp - Simulator Menu → Report Export: dispatches
README.md - Device Management → Device Models: manages
README.md - Device Management → Incident Types: creates
src/Simulator.cpp - Investigation & Response → Incident Listing: shows
src/Simulator.cpp - Investigation & Response → Incident Types: investigates and responds
src/Simulator.cpp - Incident Types → Device Models: runs diagnostics
src/Incident.cpp - Incident Types → Device Models: updates status
README.md - Report Export → Text Audit Report: writes
src/Simulator.cpp