Matheus Sergio.
← Back to portfolio
Case study · Operations + Software Engineering

NOC Flow Cloud

A multi-tenant full-stack platform that turns fragmented NOC operations into a centralized, traceable flow protected by server-side identity and authorization controls.

FastAPIPostgreSQLAngularOIDC/RBACDocker

Documented case baseline: Sprint 4 approved · Sprint 5 under review. This edition preserves the delivery states and evidence of the Portuguese case.

53Backend tests
24Frontend tests
95%Backend coverage
0Known vulnerabilities reported by dependency audits

Baseline measured in the CI run for PR #61 on September 25, 2026. These figures describe that execution, not a production guarantee or a current security certification.

Visual identity

Roots, networks and a guiding star.

Nocflow logo: a tree connected by network nodes beneath a golden star
Original Nocflow identity supplied by the project owner.
01 · Context

The problem was fragmentation, not a lack of tools.

In a NOC, operational information can be scattered across monitoring tools, ITSM, spreadsheets, chats and shift handover records.

When incident context, decisions and updates live in multiple channels, teams face rework, lost history, duplicate actions and communication gaps. NOC Flow Cloud brings the incident, timeline, actor and context into a single operational source of truth.

02 · Architecture and trade-offs

Decisions for consistency, security and evolution.

Each technical choice addresses a specific domain problem.

FastAPI · Clear HTTP contracts

Pydantic validation, integrated OpenAPI documentation and a thin HTTP layer. Presentation, application, domain and infrastructure are separated so business rules do not become scattered across routes.

PostgreSQL · State and history

PostgreSQL, SQLAlchemy and Alembic support transactional persistence and reproducible migrations. Current incident state is separate from the event timeline, preserving operational traceability.

Multi-tenancy · Server-defined scope

The model uses a shared database and schema with an explicit tenant_id. Clients cannot freely select a tenant: scope is resolved from the authenticated context and enforced server-side.

Docker and CI · Reproducible environment

Frontend, API and PostgreSQL run through Docker Compose. CI checks backend, frontend, migrations, tests, dependency audits and integrated stack smoke tests.

Accepted trade-offs
DecisionBenefitAccepted cost
Modular monolithSimpler deployment and debugging at this stageModules cannot scale independently
Shared schemaLower cost and simpler operationsTenant scoping is mandatory on every access
Database-backed RBACInternal, auditable authorizationMemberships need their own lifecycle
Append-only timelinePreserves the operational trailCorrections require a new event
Cloudflare AccessProtects the demo before requests reach the applicationExternal dependency and real-session acceptance testing
03 · Security

OIDC authenticates. The database authorizes.

External identity establishes who the user is; final authorization remains under application control.

Authorization flow: external OIDC/Cloudflare Access token → cryptographic validation → internal membership → server-side RBAC permissions → tenant-scoped resource.

OIDC / JWT · Cryptographic identity validation

The backend checks the signature through JWKS, issuer, audience, expiration and subject. The private demo can also run behind Cloudflare Access.

Server-side RBAC · Token roles are not trusted

After authenticating identity, the backend queries users and tenant_memberships to resolve the internal role. Permissions come from that membership, reducing the privilege-escalation surface.

Four roles

Admin, Supervisor, Operator and Viewer. Viewer is read-only; writes require explicit permissions such as incident:create, incident:update and incident:normalize.

Negative security tests

Tests cover expired tokens, invalid tenants, missing or inactive memberships, cross-tenant access attempts and denied writes for roles without permission.

04 · Execution

Incident state and timeline answer different questions.

Current state answers “what is happening now”; the timeline answers “how did we get here”.

Creation, updates and normalization produce chronological events. The supported HTTP flow has no endpoints for editing or deleting recorded events: the timeline is append-only.

tenant_id, actor, identifiers and timestamps are defined or resolved by the server. The frontend is not the authority for sensitive metadata.

Operational flow: alert detection → triage of context, impact and evidence → carrier contact and protocol → follow-up updates → normalization and outcome recording.

Architecture: Angular interface → FastAPI contracts → Application and Domain rules → Repository persistence → PostgreSQL through SQLAlchemy and Alembic.

Zabbix, notifications and ITSM platforms remain in the post-v1.0 backlog; they are not features of this release.

Synthetic portfolio mockup of the NOC Flow Cloud operational dashboard
Operational dashboard: consolidated indicators, incidents and next steps.
Synthetic portfolio mockup of incident triage and follow-up
Triage and follow-up: timeline, incident context, actions and normalization.
Synthetic portfolio mockup of the versioned shift handover flow
Shift handover: visual representation of the Sprint 4 flow, including preview, immutable finalization and versioned history. Not a production screenshot.
05 · Evidence

Every delivery claim needs verifiable evidence.

Implemented, under review and planned are distinct states. The case explicitly preserves that separation.

All public product images are portfolio mockups with synthetic names, IDs, sites, carriers, metrics and contacts.

Evidence matrix — Portuguese case baseline
CapabilityStateEvidence
PostgreSQL and AlembicImplementedMigrations and PostgreSQL CI job
Docker ComposeImplementedNginx → FastAPI → PostgreSQL smoke test
OIDC/JWT and RBACImplementedToken, membership and permission tests
Multi-tenant isolationImplementedNegative cross-tenant scenarios
Dashboard and handoverAcceptedSprint 4 Functional Smoke and v0.4.0-beta acceptance
Auditing and structured loggingUnder reviewPRs #59 and #60; outside the main baseline
Azure and Application InsightsPlannedSprint 6 roadmap
Zabbix, WhatsApp and ITSMBacklogPost-v1.0 backlog
  • Public production and Azure deployment have not been accepted.
  • Metrics, tracing and Application Insights are still evolving.
  • There is no benchmark supporting claims about tenant count, concurrency or incidents per day.
  • Public images do not represent a real corporate environment.
Reflection

Decisions I would revisit today.

  • Measure coverage from the first sprint.
  • Introduce OpenTelemetry earlier while keeping the domain vendor-neutral.
  • Keep protected-authentication E2E testing as an explicit external gate.
  • Evaluate PostgreSQL RLS as additional defense, not a replacement for application tenant scoping.
My contribution

From operational problem to acceptance.

I led problem discovery, requirements, backlog, architecture, modeling, contracts, implementation, security, test strategy, CI, documentation and acceptance gates.

AI tools supported implementation and review; requirements, decisions, validation and technical accountability remained human-led.

A capability is described as delivered only when it exists in the applicable baseline, has corresponding tests or evidence and is documented consistently. Open PRs remain under review; intentions remain planned.

06 · Current state and next steps

Sprint 4 accepted; Sprint 5 under review.

The documented v0.4.0-beta release covers incidents, timeline, dashboard, versioned shift handover, PostgreSQL migrations, Docker Compose, automated tests, OIDC/JWT, Cloudflare Access, server-side RBAC and multi-tenant isolation.

Auditing and observability are under review; Azure and integrations remain on the roadmap. The architecture aims to provide a foundation that can evolve safely without rewriting the domain, not to promise high availability prematurely.

Sources and evidence

Inspect the implementation and its limits.

Source documents and original product screenshots may be in Portuguese. Their language does not change the delivery state or the scope of the evidence.