Skip to content
Beltr documentation home
beltr.ai

IT and OT security

The audit log

What Beltr records in each workspace's audit log, how to read, verify and export it, and what to do when a log is damaged.

Each workspace keeps an audit logAudit log The record of what Beltr did in a workspace, such as every statement sent to a source and every request to the model provider, kept in the workspace folder as a hash chain.: a record of what Beltr did in it, kept in the workspace folder on your computer. It is how you check afterwards which statements went to a source and which requests went to the model provider.

  • Every statement sent to a source, in full. Beltr writes the statement to the log before it sends it; if the entry cannot be written, the statement is not sent.
  • Every request to the model provider, allowed or blocked, with the provider, model, host, size and a fingerprint of the content. If the entry cannot be written, the request is blocked.
  • Your messages, the assistant’s tool calls, data loads, approvals and their decisions, catalog changes, exports, changes to settings and to the sharing level, and each time the workspace opens and closes.

An entry never holds a password or key, a row or value of your data, the text of a request to the model provider or of its answer, a redaction pattern or a connection string.

The entries are files in the workspace’s audit folder, one per day (UTC). Beltr never deletes an entry; the log stays until you delete the workspace.

  1. Open the workspace and choose Activity in the dock.
  2. Choose the Audit log tab.
  3. Narrow the list with the search field (Search summaries and IDs), the time range (All time, Last 24 hours, Last 7 days, Last 30 days or Custom range), the actor (You, Agent or System) and the kind. More filters adds a session ID and exact start and end times.
  4. Choose an entry to see its details: its sequence number, hash, previous hash and Recorded fields.

You should see

You should see the entries grouped by day, each with its time, actor, summary and kind.
The Audit log tab of Activity for the demo workspace: the Workspace log selected, the search and filters, the buttons Verify and Export…, Chain status Not verified yet, and the entries the demo's set-up wrote under Today, such as catalog.changed, settings.changed and source.query.
The Audit log tab of Activity for the demo workspace: the Workspace log selected, the search and filters, the buttons Verify and Export…, Chain status Not verified yet, and the entries the demo's set-up wrote under Today, such as catalog.changed, settings.changed and source.query.

Log switches between the Workspace log and the User-level log. The user-level log is kept outside any workspace, for this user on this computer. It records the app’s starts, provider keys being stored, changes to user settings such as the model, licence warnings, and each workspace open and close, with the newest entry of that workspace’s log at that moment.

Show what was sent on an entry of a model request says that request payload history is unavailable in this version. The entry itself records the request’s metadata, not the text that was sent.

The entries form a hash chain: each entry contains the hash of the one before it. Verify checks the whole chain as a job. The result is “chain intact”, with the number of entries, or “mismatch found”, with the first entry that does not match.

Each time a workspace opens, Beltr also compares its log with the newest entry recorded for it in the user-level log, and shows a finding at the top of the Audit log if they disagree.

Export… saves the entries of the selected time range, of all kinds and actors, to a folder you choose. The export is a folder named strata-audit- followed by the workspace and the time, with:

  • segments/, the log files of the range, unchanged, so the chain inside the export can be verified;
  • quarantine/, any damaged parts of those files that Beltr set aside;
  • manifest.json, with the size and SHA-256 of each file;
  • verify-report.json, the result of verifying the exported files;
  • README.txt, which explains how to verify the export.

The export contains the statements sent to sources and the text of your messages; treat it like the workspace itself. An export estimated at more than 1 GiB asks for confirmation first.

If a workspace’s log is damaged so badly that the workspace cannot open, the message that says so offers Move the audit log aside…. “The existing log and index evidence will be preserved beside a new log. This records a permanent break in the audit history; it does not repair or delete the old evidence.” To confirm, type the workspace’s name exactly. The old log stays in the workspace folder, renamed, and the new log starts with an entry that records the break.

If the user-level log cannot be opened, the workspace list says “The user-level audit log could not be opened. Audit-dependent actions are unavailable.” and offers the same action for it.