Latitude 10 docs

Audit log

The audit log records who did what in a workspace, and when. Each event carries only the detail keys listed for its action, so a secret can’t ride along.

What it records

Sign-ins and access

ActionWhat happenedDetails
sso.signed_inSomeone signed in through the workspace’s SSO. joined says whether that made them a member.joined
sso.refusedAn SSO sign-in was refused, with the reason.reason
sso.break_glassAn owner opened a workspace that requires SSO without an SSO session. Recorded once a day per person.method
sso.requiredA member without an SSO session was turned away from a workspace that requires SSO. Recorded once a day per person.method

SSO settings

ActionWhat happenedDetails
sso.connection_savedThe SSO connection was saved.issuer, client_id
sso.connection_testedThe SSO connection was tested with a sign-in.issuer
sso.connection_deletedThe SSO connection was deleted.issuer
sso.domain_addedAn email domain was added for SSO.domain
sso.domain_verifiedAn email domain’s TXT record was verified.domain
sso.domain_check_failedA check of an email domain’s TXT record failed.domain
sso.domain_removedAn email domain was removed.domain
sso.enforcement_changedRequiring SSO was turned on or off.on
sso.joining_changedJoining through SSO changed: the role new people get, or off.role

Members

ActionWhat happenedDetails
member.invitedSomeone was invited, with a role.role
member.invite_revokedAn invitation was revoked.None
member.joinedSomeone joined, by an invitation or through SSO.role, via
member.role_changedA member’s role changed.from, to
member.removedA member was removed.role
member.leftA member left the workspace.role

Projects

ActionWhat happenedDetails
project.createdA project was created.None
project.deletedA project was deleted.None
project.version_uploadedA version was added on the project page: uploaded, fetched from a URL, or the sample.seq, source
reference.changedThe hosted reference was published or unpublished, or its indexing or download setting changed.change
docs.changedThe docs site was published or unpublished, or its indexing changed.change
docs.branch_changedThe branch the docs site serves changed.branch
docs.build_deletedA docs build was deleted.build
docs.domain_addedA custom domain was added to the docs site.hostname
docs.domain_removedA custom domain was removed from the docs site.hostname
playground.changedTry it, or its proxy, was turned on or off.change
playground.host_addedA host was added for the proxy.host
playground.host_verifiedA proxy host was verified.host, by
playground.host_removedA proxy host was removed.host
collection.createdA shared collection was created.name
collection.deletedA shared collection was deleted.name, requests
collection.publishedA shared collection was published to readers.name, requests
collection.unpublishedA shared collection was unpublished.name
collection.importedA collection was imported.name, requests
collection.exportedA collection was exported.name, format, requests

Keys and credentials

ActionWhat happenedDetails
key.createdA CI key was created. Only its shown prefix is recorded.prefix, label
key.revokedA CI key was revoked.None
mcp.changedA hosted MCP server setting changed, such as turning it on, pinning a version or its host.change, value
mcp.credential_setThe MCP server’s API credential was stored. Its kind and name are recorded, never its value.kind, name
mcp.credential_clearedThe MCP server’s API credential was removed.None
mcp.key_createdAn MCP key was created. Only its shown prefix is recorded.prefix, label, scoped
mcp.key_revokedAn MCP key was revoked.None
mcp.oauth_changedThe MCP server’s sign-in changed, such as its identity provider, its mode or a claim rule.change, value

Billing

ActionWhat happenedDetails
billing.plan_changedThe workspace’s plan changed.from, to, source
billing.subscription_cancelledThe subscription was cancelled.by

Workspace

ActionWhat happenedDetails
workspace.renamedThe workspace was renamed.from, to
workspace.deletedThe workspace was deleted.None

The audit log

ActionWhat happenedDetails
audit.exportedThe audit log was exported.from, to, format, rows

Exporting it

Owners and admins export a range of up to 31 days from the audit settings page, as CSV or JSON Lines. The columns are at, actor_type, actor_id, actor_label, action, target_type, target_id, target_label, ip, country, details. JSON Lines carries the same fields and the event's id, with details as JSON. A CSV cell that a spreadsheet would run as a formula starts with a quote.

The response's x-content-sha256 header is the SHA-256 of the file, so you can tell whether a copy was changed after download.

How many rows one export holds depends on your plan: see Plans and limits.

How long it’s kept

Events are kept for your plan’s retention: see Plans and limits. No event is ever changed, and none younger than 30 days can be deleted, whatever runs against the database.

Where this comes from

  • app/enterprise/_lib/actions.ts
  • app/enterprise/_lib/export.ts
  • app/enterprise/_lib/filter.ts
  • app/enterprise/_lib/audit.ts
  • migrations/0015_enterprise.sql