Onboarding guide
6. Evidence
EnterpriseSome features on this page are in the Enterprise edition.
Riskbound keeps a record of everything that matters about your agents. This page explains what is in it, how it is protected, and how you, an auditor or an insurer can check it without trusting us.
What is recorded#
Every entry is an event. Riskbound writes these:
| Event | Written when |
|---|---|
decision.made | An agent asked to act. Holds the agent, tool, params, outcome, reasons and policy version |
decision.result | The action ran (executed) or failed (failed, with the error message) |
approval.resolved | A person approved or rejected. Holds who, how (dashboard, API or Slack) and their note |
approval.expired | Nobody answered in time |
policy.activated | A policy version went live, and who did it |
agent.status_changed | An agent was paused, resumed or killed, and by whom |
tenant.kill_switch_changed | The kill switch went on or off, by whom and why |
slack.settings_changed, slack.approver_changed | The Slack setup changed |
How it is protected#
- Nothing is edited or deleted. The log only grows. A correction is a new event.
- Each event is chained to the one before. Each event holds a hash of itself and of the event before it. Change or remove one event in the middle and every hash after it stops matching.
- Each event is signed. Our server signs each event's hash with an Ed25519 key when the event is written. If signing fails, nothing is written and the agent's request is refused. Enterprise The key can instead be held in AWS KMS, so the private key never leaves AWS.
- Sealing, optional (Enterprise). An Enterprise server can also copy your events, in batches, to write-once storage (S3 Object Lock) that nobody can change before a retention date, us included. A check then also catches events removed from the end of the log. It is off by default, and Community does not have it. Ask us whether it is on for your account.
Check it in the dashboard#
Open Evidence. It runs the full check and shows the result:
- the chain is intact,
- every signature verifies, with a key that was in use at the time,
- the log matches its seals, if sealing is on.
It also lists every key that signed your events. Press Check again to run it again, and Download export to save the whole log as a file.
Check it with the API#
curl -s "$RISKBOUND_URL/v1/events/verify" -H "Authorization: Bearer $RISKBOUND_ADMIN_KEY"The parts to read first:
{"ok":true,"checked":17,"brokenAtSeq":null,"problem":null,"fullySigned":true, "...": "..."}ok: true means the chain and every signature check out. If it is
false, brokenAtSeq is the first event that fails and problem says
why.
Download the export. It is one JSON object per line: a header, then every event in order:
curl -s "$RISKBOUND_URL/v1/events/export" \
-H "Authorization: Bearer $RISKBOUND_ADMIN_KEY" \
-o export.jsonlCheck it without us#
The check that matters most is the one that does not need Riskbound at all. It takes three things:
- The export (
export.jsonl). - Our public key, as a
.pemfile. Get it from us directly, over a channel you trust, not from the export. The export and the Evidence page also show the key, but only so you can compare. A key that came with the data proves nothing about the data. - The verify script,
scripts/verify-evidence.ts. It is one file. It needs Node.js 22.18 or later and nothing else: no database, no npm packages, no network.
Run it:
node verify-evidence.ts --public-key riskbound-evidence.pem export.jsonlTenant: 3231bacf-...
Events checked: 17
Signed: 17, unsigned: 0, invalid signatures: 0
Key ids: local:b3c2a141e4670445
Sealed: nothing
Unsealed: events 1 to 17, not sealed yet. Not a failure.
Result: OK. The chain is intact and every signature verifies. No seal files were given.Exit code 0 means it checks out. 1 means it does not. 2 means a file
could not be read.
See it catch a change. Edit one amount in the export, from $480 to $48, and run it again:
sed 's/"amount_minor":48000/"amount_minor":4800/' export.jsonl > changed.jsonl
node verify-evidence.ts --public-key riskbound-evidence.pem changed.jsonlResult: FAILED at event 5 (chain).After a key change. If our signing key changed, the log holds events
signed by more than one key. Pass every key, each with its own
--public-key. Each key is accepted only for events from the time it was
in use.
With seals (Enterprise). If sealing is on, download the seal objects from the
bucket and pass each one with --seal. Every event in a seal must be in
the export, unchanged.
What an auditor or insurer can check#
With the export, the public key and the script, someone outside your team and ours can confirm:
- Nothing was changed or removed from the middle of the record. Any change breaks the chain.
- Every event was signed by our key, while that key was in use.
- What the agent asked to do, and what Riskbound answered, with the rule behind each answer and the policy version that was live.
- Who approved what, when, how, and with what note.
- When the rules changed, and when someone paused an agent or pulled the kill switch, and who did it.
- Whether an allowed action then ran or failed.
What it cannot show on its own:
- Events cut from the very end, unless sealing (Enterprise) is on. Without seals, compare the event count and the last hash with an earlier export.
- Actions your agent took without asking. Riskbound records what passes through it. That is why page 4 moves the tool credentials into the gateway, and why the risk score counts how much traffic comes through it.
Standards packs, in every edition, map your controls to common frameworks. Enterprise Insure turns this record into an insurer pack with an indicative price.
Next: 7. Going to production.