Skip to content

Immutable audit trail

Fontana keeps a security audit trail for every workspace: one normalised stream of who did what, when, and with what outcome. Events are written to an append-only, tamper-evident ledger (WORM: write once, read many), so a later edit or delete cannot rewrite history. That ledger is the system of record for security and compliance review. Loki mirrors the same events for day-to-day search in Grafana.

This trail is separate from workflow data lineage, which traces an output cell back through its transforms. Lineage explains how a number was derived; the audit trail explains privileged and security-relevant activity across the platform. See Compliance evidence for lineage and Security for platform controls.

Every security audit path converges on one audit ingest service inside the workspace namespace. Application code (Flow, the backend, the workflow engine) never writes to ImmuDB directly.

How a security event reaches the append-only ledgerIdentity events, cluster API audit records, Flow activities, and security alerts all enter one audit ingest service. It normalises each record, redacts secrets, drops duplicates, and appends the result to the append-only ledger. If the append fails, ingest returns an error. A daily integrity scan verifies the ledger. Search dashboards read a mirror of the ledger for incident search.EVENTSAUDIT LOGACTIVITIESALERTSAPPENDVERIFYMIRRORIdentity providersign-in, MFA, roles, SCIMKubernetes APIauth failures, secret accessFlow activitiespeople, agents, admin changesSecurity alertsfired and resolvedINGESTAudit ingestnormalise one schemaredact secretsdrop duplicatesappend fails: errorDaily integrity scanconsistency proof, manifestRECORDAppend-only ledgerone per workspaceSearch dashboardsincident search, alerting

Four sources feed one ingest service, which appends to one ledger per workspace; a daily scan verifies it, and dashboards read a mirror.

Signal In the ledger?
Browser errors and product telemetry No, operational logs only
AI conversation transcripts No, product data in each person’s private threads namespace in Fontana Files
Activities (every tracked change by a person or an agent) Yes, one line per activity after the change commits

Every tracked change in Flow is an activity: a workflow save, a run, a role or team change, a BYOK key saved, an agent request and the changes it led to. Each activity carries its actor, its owner, its place in the initiator chain, and a correlation id shared by every step of that chain, so the ledger lines for one chain group together. See Activity log.

The audit ingest service polls the workspace’s Zitadel event feed on a fixed interval with a service credential from Vault. Identity events (sign-in, MFA, federation, role assignment, deprovisioning, and related types) are normalised into the shared schema and appended. No configuration in Flow is needed for this path.

The cluster audit log is tailed by an OpenTelemetry collector pipeline. Events export to Loki and to the audit ingest service, which appends them to ImmuDB. Examples: authentication failures, access to secrets, destructive verbs in the workspace namespace.

Bundled Grafana alert rules watch these events (authentication failures, secret access, destructive verbs, ClusterRoleBinding changes). Every alert transition posts back to the audit ingest service, which appends an alert.fired or alert.resolved record, so the ledger also evidences that detection operated.

Signal In the ledger?
Lifecycle and capacity logs No, operational logs
Validation items on run outputs No, data-quality records on the workflow file store
Runs started, succeeded, and failed Yes, as activities linked to the person or schedule that caused them
Connector protocol logs No, operational logs

Security audit events share one shape: workspace id, timestamp, actor, action, resource, outcome, correlation id, source, and a dedupe id. Sensitive material is redacted before storage, including nested secrets inside a resource payload. If the append to ImmuDB fails, ingest returns an error (fail closed) rather than dropping the event.

Category Examples Source
Identity and access Sign-in, MFA, role and provisioning changes Zitadel event feed (automated)
Platform and cluster Failed auth, secret access, privileged API calls Kubernetes API audit
Security alerting Alert fired or resolved on Kubernetes audit events Grafana alert webhook
Application, admin, and agents RBAC, BYOK, admin configuration, workflow saves, runs, agent actions Flow activities

Together, these sources give risk and compliance teams one cross-cutting view: identity, cluster, and application activity in one tamper-evident stream.

Each append to the ledger is cryptographically chained to the prior state. Fontana runs a daily integrity scan per workspace:

Stage What happens Output
Scan Ledger verification tooling checks the full ledger A cryptographic consistency proof
Archive The result is written to an evidence volume in the workspace A timestamped scan log and a JSON manifest (SHA-256, workspace, outcome)
Off-cluster (optional) S3 Object Lock The same files, when wormAudit.s3.bucket is set in fontana.yaml
Operations OpenTelemetry to Loki A success or failure log line per scan

Your platform team can:

  • Search Grafana (the WORM audit dashboard) for scan history and alert rules
  • Read the manifests on the evidence volume for audit packs
  • Search mirrored security events in Grafana
  • Use the ledger’s REST interface or ledger verification tooling for direct verification when log search is not enough

Read-only auditor access is provisioned separately from the writer credential, so reviewers never share the secret the automated append pipeline uses.

Each workspace is a separate Kubernetes namespace with its own ImmuDB instance, Vault secrets, and persistent storage. Audit data shares no database or secret store with other workspaces, and NetworkPolicy restricts which workspace services may reach the ledger. A workspace can also be given its own cluster; see Workspace isolation.

Topic Immutable audit trail Workflow lineage
Question it answers Who did what on the platform? How was this output value computed from its inputs?
Storage Append-only ImmuDB per workspace Per-run lineage files on the workflow file store
Primary audience Security, risk, compliance, platform operations Operations, and auditors reviewing calculation provenance
Where to read it The Activity log in Flow for application activity; Grafana and ledger verification tooling for the full ledger Overview on the canvas, from a selected cell

For diligence packs and control narratives, contact Fontana under NDA.