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.
One writer
Section titled “One writer”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.
Four sources feed one ingest service, which appends to one ledger per workspace; a daily scan verifies it, and dashboards read a mirror.
Where events come from
Section titled “Where events come from”| 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.
Identity provider (automated)
Section titled “Identity provider (automated)”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.
Kubernetes API (automated)
Section titled “Kubernetes API (automated)”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.
Workflow engine and connectors
Section titled “Workflow engine and connectors”| 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 |
Normalised schema
Section titled “Normalised schema”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.
Tamper evidence and integrity
Section titled “Tamper evidence and integrity”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.
Workspace isolation
Section titled “Workspace isolation”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.
Relationship to other compliance topics
Section titled “Relationship to other compliance topics”| 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.
Related documentation
Section titled “Related documentation”- Activity log: human and AI changes in Flow with their initiator chain
- Observability overview: operational telemetry and security audit planes
- Security audit (WORM): ledger categories and review
- Security: isolation, encryption, and the SOC 2 control summary
- Compliance evidence: workflow lineage overview
- Identity and access: Zitadel, SSO, MFA, and application RBAC