Audit log
Settings → Workspace → Audit log shows who did what in the workspace and when, newest first: invites, joins, role changes, deactivations and removals, seats, domains, the directory group requirement, SCIM, billing seat changes, legal holds, storage, exports, item downloads and backups, and connected apps (an app connected, signed in or revoked, and each change it made through a tool). Every plan includes it. Workspace admins and owners only.
- Each line reads in plain words, such as “Ana invited bob@example.com as member”, with the time, the person and how it happened: the web app, a connected app by its name, SCIM or the system. Details opens the fields recorded with it.
- Filter by source (workspace and members, or connected apps), by person and by date. Load more goes further back.
- Entries are kept as long as the workspace exists. Tokens and token hashes, IP addresses, invite, export and billing ids, and what a tool was given are never shown (tool arguments are never recorded at all). People show by name; the MCP tool also returns the account ids it filters by.
- Over MCP, admins can read it with
list_audit_log. Tyn can’t. - GitHub entries (names only, never titles, descriptions or tokens):
github.app_registerandgithub.app_key,github.connect,github.disconnect(by an admin, or because GitHub removed the app),github.suspend,github.repos(GitHub shared or stopped sharing repositories),github.scope(a repository connected to or removed from a team or project),github.rules,github.settings,github.link,github.unlink,github.read(a description read for Tyn or a connected app) andgithub.person(someone connected their GitHub name). Status moves are item changes: they show in the item’s activity, not here.
Connected apps by name. A workspace or member change made through a connected app shows the app’s name, as it was named at the time (a later rename does not change old entries). A CIMD app shows with the domain it was verified by, such as “Claude Code (claude.ai)”; an app that registered itself is marked “unverified app”; an app named like one of termynl’s own labels shows as “Unnamed app”. The streamed events carry it too (actor.app_name, and the app’s details under unmapped.termynl.via_client). A status move a connector made shows the connector’s name.
tyn.legacy_access_revoked: termynl removed the access Tyn’s old shared account had to spaces (one entry per workspace, listing the spaces). Tyn writes as each person now and needs no access of its own.
Custom statuses adds five actions, written by the team admin who made the change (or by Tyn or a connected app on their behalf, shown as “via”). Status names are recorded as written.
team.status_create: a status was added (set, name, category, colour).team.status_update: a status was renamed, recoloured or given another category (the fields changed, with before and after, and how many items, saved views and GitHub rules were rewritten).team.status_reorder: a set was reordered (old and new order).team.status_default: another status became the default (from and to).team.status_delete: a status was deleted (name, where its items moved, how many items and saved views were rewritten).
A move that mapped statuses to another team’s set also shows in the log as an item or project move that lists what it mapped.
Tyn and the web adds eleven actions (see Tyn and the web). Queries are shortened to 200 characters; page addresses are kept in full (up to 512 characters) because they are the record of what left the workspace. Page text and answers are never in the log.
web.settings: an admin changed web access (on, auto mode, site crawls).web.personal: a person turned the web off or on for themselves, or turned auto mode on or off.web.firecrawl_key: the Firecrawl key was saved, replaced, tested or removed, and whether the check passed.web.search: Tyn searched the web (provider, engine, model, the query, the number of results).web.read: Tyn read a page (the address, the engine, the result, how it was allowed:typed,search,confirmedorauto).web.crawl: Tyn crawled a site (the address, the pages, the result).web.refused: Tyn did not open an address or run a search (not asked for, not https, not a public address, it looked like it held a secret, or the limit was reached).web.confirm: a person let Tyn open an address on the Open card.web.applyandweb.discard: a person applied or discarded the changes Tyn held.web.retention: termynl removed a saved chat’s answers that used Google Search after two years (the chat and how many answers, never their text).
Streaming
Section titled “Streaming”Settings → Audit log → Streaming sends every new audit log entry to your own log system as it happens, in the standard OCSF 1.3.0 JSON format: Splunk, Datadog, Microsoft Sentinel, Wazuh, Graylog and others. Every plan includes it. It’s off until a workspace admin or owner adds a destination.
- Up to 3 destinations per workspace: a web address (HTTPS), an S3 or S3-compatible bucket, or a syslog server over TLS (RFC 5424 messages with RFC 5425 framing, port 6514 by default, with an optional CA certificate for a private server; it adds to the usual trusted roots).
- Only new entries. A destination gets the entries written after it was added. Nothing older is sent.
- Adding, changing, pausing and removing a destination happens in the browser, by an owner or admin who signed in recently (otherwise termynl asks you to confirm it’s you). Every new destination emails the workspace’s owners and admins, and every change is in the audit log.
- Test sends one test event (OCSF API Activity with
unmapped.termynl.test = true) and tells you whether the destination accepted it. It works while a destination is paused, so you can check a fix before resuming. Each test is recorded in the audit log. - Credentials (the web address, its Authorization header, S3 keys, the CA certificate) are stored encrypted and never shown again. Leave a field blank when editing to keep what’s saved.
What each event holds. One OCSF event per audit entry: class_uid, activity_id, type_uid, time, status_id, severity_id, message (the entry’s plain-words line), actor, user (the person it was about), and metadata. metadata.uid is the event’s id: delivery is at least once, so deduplicate on it. It starts with your install’s own random id, so it never repeats, even for a workspace restored onto another install. metadata.tenant_uid is your workspace. The termynl action name is in metadata.event_code, and the entry’s shown fields are in unmapped.termynl. An event is at most 64 KB. The same things that never show in the audit log never leave in an event: no tokens or token hashes, no IP addresses, no tool arguments.
| termynl action | OCSF class | Activity | Notes |
|---|---|---|---|
member.reactivate |
3001 Account Change | 2 Enable | |
member.deactivate |
3001 Account Change | 5 Disable | |
member.deactivate_skipped |
3001 Account Change | 5 Disable | failure |
account.purge |
3001 Account Change | 6 Delete | |
account.purge_skipped |
3001 Account Change | 6 Delete | failure |
scim.adopt, account.transfer_set |
3001 Account Change | 99 Other | |
mfa.enroll |
3001 Account Change | 10 MFA Factor Enable | |
mfa.remove |
3001 Account Change | 11 MFA Factor Disable | |
mfa.reset |
3001 Account Change | 11 MFA Factor Disable | an admin or support reset, severity 3 |
mfa.backup.regenerate, mfa.device.remove |
3001 Account Change | 99 Other | |
auth.signin |
3002 Authentication | 1 Logon | |
auth.signin.fail |
3002 Authentication | 1 Logon | failure |
auth.session.mfa |
3002 Authentication | 2 Logoff | an open session stopped because the workspace requires two-factor sign-in |
mfa.stepup |
3002 Authentication | 99 Other | a two-factor check for a sensitive action |
mfa.challenge.fail |
3002 Authentication | 99 Other | failure |
app.token.issue |
3002 Authentication | 1 Logon | |
app.token.revoke |
3002 Authentication | 2 Logoff | |
app.token.refresh |
3002 Authentication | 5 Service Ticket Renew | |
app.token.reuse |
3002 Authentication | 99 Other | failure, severity 4 |
seat.add, invite.create, domain.add, doc.publish, app.client.register, audit.stream.create |
3004 Entity Management | 1 Create | |
domain.verify, workspace.reopen |
3004 Entity Management | 10 Activate | |
domain.unverify |
3004 Entity Management | 11 Deactivate | |
team.archive, project.archive, item.archive, legal.hold, storage.migrate.pause, audit.stream.pause |
3004 Entity Management | 12 Suspend | |
gate.breaker |
3004 Entity Management | 12 Suspend | severity 3 |
team.unarchive, project.unarchive, item.unarchive, legal.release, storage.migrate.resume, audit.stream.resume |
3004 Entity Management | 13 Resume | |
workspace.export, workspace.export_download, item.exported |
3004 Entity Management | 2 Read | |
invite.resend, invite.share, invite.unshare, scim.token.rotate, policy.set, notify.set, gate.set, doc.publish_settings, doc.new_link, workspace.public_links, workspace.rename, workspace.backup_settings, billing.seats, remap.blank_orphans, storage.set, audit.stream.update, mfa.policy.set |
3004 Entity Management | 3 Update | |
invite.revoke, domain.remove, doc.unpublish, billing.duplicate_canceled, mail.purge, storage.migrate.purge, audit.stream.delete |
3004 Entity Management | 4 Delete | |
doc.move, storage.migrate.start |
3004 Entity Management | 5 Move | |
item.move, project.move |
3004 Entity Management | 5 Move | failure when it did not succeed |
feature.set |
3004 Entity Management | 8 Enable or 9 Disable | |
zoom.phone_consent |
3004 Entity Management | 8 Enable when granted, else 99 Other | |
directory.connect, storage.connect, import.notion.connect, zoom.connect |
3004 Entity Management | 8 Enable | |
scim.disable, directory.disconnect, storage.disconnect, import.notion.disconnect, zoom.disconnect, zoom.deauthorized |
3004 Entity Management | 9 Disable | |
workspace.delete_request, workspace.delete_scheduled, workspace.delete_cancel, workspace.resweep, workspace.restore, workspace.backup_run, storage.migrate.superseded, storage.migrate.done, import.start, import.run, import.cancel |
3004 Entity Management | 99 Other | |
legal.cancel_refused, import.refuse |
3004 Entity Management | 99 Other | failure |
storage.test, audit.stream.test |
3004 Entity Management | 99 Other | failure when it did not succeed |
member.admit, owner.transfer, invite.accept, invite.transfer, project.share, item.share, app.consent.approve |
3005 User Access Management | 1 Assign Privileges | |
join.refused, app.consent.deny |
3005 User Access Management | 1 Assign Privileges | failure |
member.remove, project.unshare, item.unshare, app.grant.revoke |
3005 User Access Management | 2 Revoke Privileges | |
member.pending_seat, member.role, guest.spaces |
3005 User Access Management | 99 Other | |
gate.miss |
3005 User Access Management | 99 Other | failure |
team.member |
3006 Group Management | 3 Add User or 4 Remove User | |
team.join |
3006 Group Management | 3 Add User | |
team.create |
3006 Group Management | 6 Create | |
team.update, team.notify_set, team.scim_link, team.scim_unlink |
3006 Group Management | 99 Other | |
web.settings, web.personal |
3004 Entity Management | 3 Update | |
web.retention |
3004 Entity Management | 4 Delete | |
web.firecrawl_key |
3004 Entity Management | 3 Update, 4 Delete (remove) or 99 Other (test) | failure when the check did not pass |
github.app_register, github.connect |
3004 Entity Management | 8 Enable | |
github.disconnect |
3004 Entity Management | 9 Disable | |
github.suspend |
3004 Entity Management | 9 Disable when paused, else 8 Enable | |
github.app_key, github.repos, github.scope, github.rules, github.settings, github.link, github.unlink, github.person |
3004 Entity Management | 3 Update | |
github.read |
6003 API Activity | 99 Other | |
app.tool.call |
6003 API Activity | 99 Other | failure when it did not succeed |
web.search, web.read, web.crawl |
6003 API Activity | 99 Other | failure when it did not succeed |
web.refused |
6003 API Activity | 99 Other | failure |
web.confirm, web.discard |
6003 API Activity | 99 Other | |
web.apply |
6003 API Activity | 99 Other | failure when a change failed |
An action added later that isn’t in this table still streams: sign-in actions as Authentication, others as Entity Management (Other), with the action name in metadata.event_code.
Web address. termynl sends a POST with a JSON array of events (or NDJSON, one per line, if you choose it), at most 1 MB per request. Headers: content-type, user-agent: termynl-audit-stream/1, x-termynl-timestamp (Unix seconds), x-termynl-signature, x-termynl-delivery, and your Authorization header if you set one. Any 2xx counts as delivered; redirects are never followed. You get the signing secret once, when you add the destination (and again whenever a new one is made). Check every request, and reject a timestamp older than 300 seconds:
import { createHmac, timingSafeEqual } from "node:crypto";// rawBody: the request body exactly as received (a Buffer), before any JSON parsingfunction fromTermynl(headers, rawBody, secret) { const ts = Number(headers["x-termynl-timestamp"]); if (!Number.isInteger(ts) || Math.abs(Date.now() / 1000 - ts) > 300) return false; const want = "v1=" + createHmac("sha256", secret).update(ts + ".").update(rawBody).digest("hex"); const got = Buffer.from(String(headers["x-termynl-signature"] ?? "")); const exp = Buffer.from(want); return got.length === exp.length && timingSafeEqual(got, exp); // timingSafeEqual throws on unequal lengths}- Splunk: the HTTP Event Collector’s raw endpoint, such as
https://http-inputs-acme.splunkcloud.com/services/collector/raw, with the Authorization headerSplunk <your HEC token>. - Datadog:
https://http-intake.logs.datadoghq.com/api/v2/logs?dd-api-key=<your API key>. The whole address is stored encrypted, key included. - If you move a destination to a different site, the saved Authorization header is removed and a new signing secret is made, so nothing from the old site carries over.
S3 bucket. Each batch is one gzip-compressed NDJSON object, at most 5 MB before compression, named [folder/]termynl-audit/<workspace>/YYYY/MM/DD/HHmmssZ-<first>-<last>.ndjson.gz. A retried batch writes the same name.
When a destination is down. termynl retries with growing waits, from 30 seconds up to an hour. After 10 failed attempts in a row it pauses the destination and emails the owners and admins; new entries keep waiting for it, up to 100,000 (beyond that the oldest waiting entries are dropped and counted). Resume sends the backlog, oldest first. If a destination refuses a batch outright (HTTP 400, 413 or 422), termynl narrows it down to the event it refuses, sets that one aside as refused and carries on; Retry sends the refused ones again. Up to 10,000 refused entries are kept per destination (beyond that the oldest refused are dropped and counted), so Retry recovers only what is kept. A destination that refuses even single events three times in a row is treated as failing (the waits and the pause above), so it can’t quietly set the whole stream aside. Ordering is best effort: events go out in the order they were queued (which can differ from their own times by a moment), a set-aside event goes out later on Retry, and nothing is skipped except the oldest entries dropped past the two caps above (100,000 waiting, 10,000 refused); each event carries its own time and id. Each row on the card shows what’s waiting, refused and dropped, and the last error.
- Over MCP, admins can list destinations with
list_audit_streamsand send a test event withsend_test_audit_event; Tyn can do the same for an admin. No tool can add, change, pause or remove a destination. - Backups and restore: destinations are never exported. A restore doesn’t bring them back (its report says so); add them again in Settings → Audit log.