# Incident Response CLI ## Module Cli ## Status VERIFIED ## Description CLI commands for incident response lifecycle management. Users can start incident mode with severity/scope/description (auto-creates evidence holds and sends notifications), view incident status with timeline, end incidents with resolution notes and optional evidence hold release/report generation, and list all incidents filtered by status. ## Implementation Details - **Command Group**: `src/Cli/StellaOps.Cli/Commands/IncidentCommandGroup.cs` -- `IncidentCommandGroup` for `stella incident` commands - **IR Commands**: `src/Cli/StellaOps.Cli/Commands/Ir/IrCommandGroup.cs` -- incident response operations - **Commands**: - `stella incident start --severity --scope --description ` -- start incident mode (auto-creates evidence holds, sends notifications) - `stella incident status ` -- view incident status with timeline - `stella incident end --resolution ` -- end incident. Options: `--release-holds`, `--generate-report` - `stella incident list` -- list incidents. Options: `--status open|closed|all` ## E2E Test Plan - [ ] Run `stella incident start --severity critical --scope "production" --description "CVE-2024-1234 exploited"` and verify incident created - [ ] Verify evidence holds auto-created on incident start - [ ] Verify notifications sent on incident start - [ ] Run `stella incident status ` and verify timeline displayed - [ ] Run `stella incident end --resolution "Patched" --release-holds --generate-report` and verify incident closed - [ ] Run `stella incident list --status open` and verify open incidents listed - [ ] Verify `--format json` output ## Verification - **Verified**: 2026-02-13T15:30:00Z - **Tier 0 (Source)**: pass -- all referenced source files exist on disk - **Tier 1 (Build)**: pass -- module builds cleanly, 412 tests pass in StellaOps.Cli.Commands.Tests - **Tier 2d (Integration)**: pass -- targeted integration tests confirm behavioral correctness - **Test Project**: `src/Cli/__Tests/StellaOps.Cli.Commands.Tests/StellaOps.Cli.Commands.Tests.csproj` - **Evidence**: `docs/qa/feature-checks/runs/cli/incident-response-cli/run-001/tier2-integration-check.json`