Cloud Architecture
The Quint cloud runs on AWS ECS Fargate atapi.quintai.dev. Five services handle the end-to-end pipeline:
Ingest pipeline
See Ingestion for the event schema, batch parameters, and overflow/recovery rules.Data model
Postgres 16 on RDS. Key tables:
Row-level security is enabled on all tenant tables using the
app.current_org_id session variable.
Authentication
Two paths:- Daemon → Ingest: Bearer token. Token is SHA256-hashed and looked up in Redis (write-through cache from
api_tokens). Token types:install,enrollment,service,personal. Daemon boots with install token, registers, receives aservice_tokenfor subsequent calls. - Dashboard → API: Supabase JWT (cloud mode) or API key (local/CI mode).
Multi-tenancy
Every event carriesorg_id stamped at ingest from the token. Postgres RLS filters on app.current_org_id. Redis keys are org-prefixed. See Multi-tenancy for isolation guarantees.
Fleet aggregation
The Fleet service aggregates agent activity across machines in one org. A detection on one machine is distilled into a threat signature and pushed to every daemon in the fleet in ~30 seconds.Where to read next
- Sending events from the edge: Ingestion
- Per-action scoring: Scoring, a shadow-mode corroborating signal rather than the enforcement mechanism
- Dashboard architecture: Dashboard → Architecture