Skip to main content

Logging and monitoring architecture

Use the controls to enlarge the diagram. Pan horizontally and vertically when zoomed.

Log sources

SourceSecurity and operational valueAccess consideration
Application monitoringExceptions, performance traces, release context, selected replay and application logsMinimise personal data; mask sensitive fields; restrict replay and source-map access
Supabase Logs ExplorerAPI, database, authentication, storage, realtime, and serverless service eventsRetention depends on plan; administrator access and exports require control
Supabase security advisorConfiguration and database-security findingsFindings need ownership, disposition, and review dates
Cloudflare PagesDeployment history and build logsBuild metadata is present; secret values are excluded from retained and public evidence
Cloudflare security analytics/eventsEdge traffic and mitigated-request evidence where configured and entitledCapability and retention depend on plan and zone configuration
Application audit recordsSensitive workflow transitions and business attributionRetention and access approval is not currently available

Operating requirements

  • alert on authentication abuse, privileged failures, repeated authorization denials, provider callback failures, elevated error rates, and critical workflow breakage;
  • use role-limited access and review administrator activity;
  • redact secrets, credentials, tokens, payment data, document contents, and unnecessary personal data;
  • preserve timestamps, correlation identifiers, actor, tenant, action, target class, and outcome where appropriate without exposing sensitive payloads;
  • link confirmed events to incident response and vulnerability management;
  • review retention, alert routing, on-call ownership, and test notifications at least quarterly.

Security event catalogue

Event familyMinimum attributesDetection use
AuthenticationOutcome, method, time, coarse client context, account state, and correlation reference without passwords or raw tokensRepeated failures, anomalous success, disabled-account use, refresh or recovery abuse
AuthorizationActor, tenant context, target class, operation, policy result, and denial reason classCross-tenant probes, repeated forbidden operations, privilege misuse, policy regression
Privileged operationInitiating actor or workload, target, approved operation, result, duration, and change referenceAdministrator misuse, abnormal bulk action, unapproved configuration or data change
Provider callbackProvider class, correlation reference, authenticity result, replay result, normalized status, and processing outcomeForged callback, duplicate event, delivery gap, reconciliation mismatch
Data export and document accessActor, scope, record class, volume band, result, and business reason where requiredUnusual export, bulk access, sensitive-object access, failed ownership checks
Application exceptionRelease, route or operation class, error fingerprint, trace, affected tenant band, and redacted diagnostic contextNew regression, repeated workflow failure, availability degradation
Deployment and recoveryProvider, environment, release or recovery point, actor, result, and rollback linkageUnauthorized release, failed build, configuration drift, incomplete recovery

Telemetry becomes actionable only after a rule or human review assigns severity, owner, and response deadline. Alerts use deduplication and correlation so one incident does not create unbounded noise. Monitoring cannot authorize a business operation; missing telemetry never converts a failed or unknown provider action into success.

Current limitations

Application and provider logging capabilities are present, but a complete retention matrix, central correlation strategy, verified security alerts, on-call roster, and account-level Cloudflare security-event configuration were not available. Supabase changed its Management API logging endpoint in 2026. Operational log integration is not confirmed against the current interface.