PRODUCT DOCUMENTATION

Architecture

A concise map of the documented web, API, data, identity, queue and SNMP components.

REVIEWED 28 NOVEMBER 2026 · ALPHA-1.0.0 · DOCUMENTED CAPABILITIES & LIMITS

Based on the Civernode alpha-1.0.0 documentation, reviewed 28 November 2026. Version and deployment settings affect availability.

01 / SERVICE RELATIONSHIPS

Service relationships

This view follows the project architecture and Compose service boundary. Arrows describe documented request or job flow, not every internal call.

Civernode service relationshipsBrowser requests pass through the Next.js web app to the NestJS API. The API uses PostgreSQL, Keycloak for identity, and Redis BullMQ queues. Workers consume discovery jobs and communicate with managed network devices. The separate SNMP service reads jobs and exchanges polling and traps with devices.HTTPSAPI requestsread / writeOIDCenqueueconsumescanpoll / trapsBrowserOperator sessionWeb applicationNext.js · ReactApplication APINestJS · PrismaPostgreSQLApplication dataKeycloakOIDC · JWT / JWKSRedisBullMQ queuesBackground workersDiscovery · maintenanceSeparate SNMP serviceManageddevices

On narrow screens, scroll horizontally to read the full diagram.

Control plane and data flow shown from the project architecture. SNMP polling and traps depend on host networking and the configured receiver.
Management App repository
02 / AUTHENTICATION FLOW

Authentication flow

Keycloak authenticates the user and issues an access token. The API validates the token signature, issuer and audience/authorized party using its AuthGuard and JWKS configuration; recognized roles and resource scopes are then checked on protected operations.

Authentication request flowThe user signs in through Keycloak. The browser sends a bearer token to the API. The API AuthGuard validates the JWT signature with Keycloak JWKS and checks issuer and audience before role and scope authorization.User / browserOIDC sign-inKeycloakJWT access token · JWKSAPI AuthGuardSignature · issuer · audienceRole + scopePer endpointsign inBearer tokenauthorize

On narrow screens, scroll horizontally to read the full diagram.

Identity is validated by the API; role and resource-scope checks are applied at the protected endpoints.
03 / BACKGROUND WORK

Background work

Discovery jobs are queued by the API in Redis BullMQ. The worker executes the selected ICMP/TCP checks and persists pending results for review. The API does not scan the subnet itself.

Approval promotes the IP record and may create/update Host and TCP Service records. Redis and the worker must be available for processing.

04 / SNMP SERVICE

SNMP service

SNMP polling and trap handling are provided by a separate service. Real-device validation depends on deployment and network configuration and is not established by showcase screens.

05 / VALIDATION STATUS

Validation status

The project pilot report marks its documented technical checks as passed. The unassisted five-operator session and real-device SNMP lab remain readiness gates; this guide does not represent them as complete.

Based on the Civernode alpha-1.0.0 README and docs/setup.md, api.md, architecture.md, security.md, troubleshooting.md and SNMP review; checked 28 November 2026. Source project