Audit log
Weik.io 2026.2Every change made through the API gets an audit record with its diff and who made it, and Weik.io keeps the trail for 400 days. Video
Watch: Watching the whole installation, 3:10
The video watches the whole installation from Home, Observability and Health.
This part of the video couldn't be loaded.
On this page
Weik.io writes an audit record for every change made through the API, whether you made it in the admin UI, with the weikio CLI or from a pipeline. Use the trail to find who changed what, and to follow everything one request did.
Weik.io keeps the trail for 400 days, in a stream that the backend’s credentials can’t delete or shorten.
What is audited#
The trail has a record of these events:
| Area | What gets a record |
|---|---|
| Changes | Every request that changes something, with the diff of the record before and after |
| Upgrades | Every step an upgrade applied |
| Backups | Backups taken |
| Restores | Restores run and documents restored |
| Agents | Enrolments, revocations, new bundles and repoints |
| Sign-in | Sign-ins with the grants a claim mapping gave, and sign-outs |
| Accounts | Failed sign-ins and account locks, and password and authenticator changes |
| Break-glass | Windows opened and closed, and every request of a break-glass session |
| Secrets | Each reveal, and each delivery of secrets to a deployment |
| Audit trail | Every read of the trail |
A configuration apply gets one record of the whole file and one record per document it changed. Its records have the commit the pipeline applied from, with its repository and branch.
Each record has these fields:
- The time
- The actor and the caller’s address
- The action
- The target
- The outcome
- The reason given
- A correlation ID shared by everything one request did
A record of a change applied from a pipeline also has its commit, the same one that weikio describe integration shows as applied from weikio-integrations@a1b2c3d.
Query the trail#
$ weikio audit query --since 7d --target-kind secretThe command prints the records newest first, up to 1,000 in pages of 100. Each line shows the record’s fields apart from the reason and the correlation ID. It gives the actor by e-mail and the action in the admin UI’s words.
These flags filter the records:
| Flag | What it filters by |
|---|---|
--, or --from and --to |
The time window |
-- |
A user’s or a key’s ID |
-- |
An action, such as SecretRevealed or UpgradeStepApplied |
--, -- |
One record, such as -- |
-- |
ok, denied, refused or error |
--, --env |
A project’s or an environment’s records |
When there are more records, the page ends with the command that shows the older ones.
-o json prints the records as the API returns them, each with its sequence number.
To see everything one request did, run weikio audit show <correlation-id>. It prints every audit record and every log line of that correlation ID in time order. The CLI sends a correlation ID with every call.
Who may read it#
A platform administrator sees every record. A member whose grant in a project has the members verb and no limits sees that project’s records.
Everyone else follows their projects’ changes with weikio activity, which leaves out the other records, such as sign-ins and dry runs. Running weikio activity isn’t audited.
In the admin UI#
To read the trail in the admin UI, go to Settings › Operations › Audit log. Open a record there to see everything its request did.




weikio audit query line.Forward the trail to a SIEM#
The telemetry forwarder sends every audit record to Splunk or to any other system that accepts OTLP. It keeps each record on its disk until the destination accepts it.
Each record arrives as one log record with the event name weikio.audit.record. Its attributes include these:
weikio.audit.actionweikio.audit.actor.displayweikio.audit.target.nameweikio.audit.outcomeweikio.audit.origin.commitweikio.audit.diff
Telemetry forwarding shows how to set up the forwarder and how to remove repeated records.
Audit and backups#
Every backup archive contains the audit trail, so a restore brings it back. The restored trail ends just before the archive’s BackupTaken record. The restore itself appears in the trail as RestoreRun, with the archive it restored.