IncidentOPS
Incident management with RBAC, secure sessions and transactional audit logging.
React and TypeScript client over a FastAPI and PostgreSQL API: searchable queues, analyst assignment, investigation notes, Argon2 password hashing, CSRF-protected sessions and append-only audit history, tested in CI.
- Year
- 2026
- Role
- Sole developer: API, data model, security, frontend and CI
- Built with
- React, TypeScript, FastAPI, PostgreSQL, Docker
- Type
- Security operations platform
The 30-second summary
- Problem
- Incident handlers need a clear record of what changed and who changed it.
- What I built
- I built a role-aware incident workspace that writes each change and its audit record in one transaction.
- Result
- 50 of 51 backend tests passed locally. One PostgreSQL-only test was skipped. All eight frontend tests passed.
Screenshots from the IncidentOPS repository, recorded against the seeded synthetic demo. Every name and incident is fictional.

The problem
An incident is rarely one action by one person. Analysts need a searchable queue, clear ownership, investigation notes, and a record of what changed. A polished dashboard is only useful if the underlying record holds up.
I built a React and FastAPI workspace for reporting, triage, investigation, and resolution. Server-backed filters, analyst assignments, notes, and chronological history keep the incident lifecycle in one place.
Key decisions
Permissions live in the API.
Admin, Analyst, and Viewer permissions are enforced by the backend. Argon2 password hashing, opaque server-side sessions with hashed tokens, HttpOnly cookies, and CSRF/origin checks support account security.
Every change has a companion record.
Incident mutations and audit events commit in the same database transaction. History has no edit or delete API. This preserves application-level audit integrity; it is not tamper-evident against a database administrator.
Test persistence, not just responses.
The project documents PostgreSQL workflows through Docker Compose in GitHub Actions, including migrations, container restarts, session and data persistence, and backup restoration.
Architecture
Layer 1 of 3
Investigation interface
React and TypeScript provide the overview, searchable incident queue, case details, assignments, notes, and history.
Layer 2 of 3
API & authorization
FastAPI, Pydantic validation, session authentication, role enforcement, and CSRF checks serve the same-origin application.
Layer 3 of 3
Transactional storage
SQLAlchemy transactions and Alembic migrations manage PostgreSQL. Docker and CI support repeatable integration verification.
Security and testing
Security and integrity
Eight-hour server sessions, hashed session tokens, HttpOnly SameSite cookies, CSRF/origin checks, and login throttling are documented. The application has no MFA, SSO, or tenant isolation; process-local throttling requires shared enforcement when scaling.
Testing and evidence
I re-ran the suites on December 1, 2026 for this case study. The backend collects 51 pytest tests: 50 passed locally and one PostgreSQL-only test was skipped because Docker was not available on that machine. All 8 frontend tests passed. In GitHub Actions the suite runs against PostgreSQL through Docker Compose, including restart persistence and backup restore.
Status and limits
Independent portfolio application. The public demo uses fictional shared data. This is an incident workflow platform, not a live intrusion detector or an audited commercial security product.
Operational software earns trust through what happens after the click: permissions, transactions, recoverability, and a history someone can follow.