Evidence and the ledger
Every drill that passes or fails gets a dated evidence page, a PDF, canonical JSON and one entry in your organisation’s hash-chained ledger. This page says what each holds and how someone outside your organisation can check them.
A drill’s evidence
Everyone in your organisation can open it from Drills on the asset’s page, the Ledger page, or the email sent when a drill fails or passes again. It gives the result, and for a failure the likely cause and next step (Results and failures); when the backup was taken, its age and the restore time, against any recovery targets; the secret-free configuration the runner was handed, which later edits to the asset do not change; every check and what it found; what was not tested and why; how the drill was run; the SHA-256 of each file; and the ledger entry. A WordPress drill can add a screenshot of the restored homepage.
The PDF and the JSON
- Download the PDF
- The evidence on A4, without the configuration JSON but with what each check was set to expect and the sandbox’s limits. Its Verification section gives the evidence document’s SHA-256, the ledger entry’s number and hash and, while verification links are on, the address that checks them.
- Download canonical JSON
- The evidence document exactly as stored when the drill finished: schema
downdrill.evidence/1, one line, keys sorted, no spaces between items, every field present. Its SHA-256 (sha256sum, orshasum -a 256on a Mac) is theevidence_sha256in the drill’s ledger entry.
The ledger
Every drill that passes or fails, warm standby starts included, adds one drill.completed entry to your organisation’s ledger, numbered from 1. The database refuses to change or remove an entry. Each entry records the drill’s result, failure cause, times and check outcomes, and the SHA-256 of the evidence document and of every file. Its hashes are made like this:
payload_hash- The SHA-256 of the payload as canonical JSON: keys sorted, no spaces between items, UTF-8 with characters beyond ASCII left unescaped.
prev_hash- The
entry_hashof the entry before. For entry 1, 64 zeros. entry_hash- The SHA-256 of
prev_hash,tenant_seq(the entry’s number),entry_type,created_atandpayload_hash, in that order, with a newline between each.
What the chain shows
Each entry’s hash covers the one before, so changing, removing or reordering an entry breaks the chain, and an evidence document or file changed afterwards no longer matches its entry. The chain alone cannot show a ledger rewritten with every later hash recomputed. A copy kept outside DownDrill can, for the entries it covers: an earlier export, the entry hash a PDF prints, or a signed checkpoint.
The Ledger page
Ledger in the app says whether the chain is intact, with its length and head hash, or where it first breaks. It lists the newest 200 entries; Export as JSON Lines gives all of them as ledger.jsonl. Everyone in your organisation can read it. One exported line, laid out for reading:
{
"created_at": "2026-11-24T03:00:49.730215+00:00",
"entry_hash": "608559c4bb09f9b9bd577bec05b6139233789058a94420a428bd2f34d7a2b396",
"entry_type": "drill.completed",
"payload": {
"artifacts": [{"name": "archive-contents.txt", "sha256": "bf4593a90dceff038e8d9e6a9945583c26f7b3af0a0579437b0d22f56bfacc0d"}],
"asset": {"id": "c2d7a9e4-1f53-4b8a-a6e0-93b5d1c47f28", "kind": "postgres", "name": "Orders database", "version": 4},
"attempt": 1,
"backup_timestamp": "2026-11-24T01:00:05+00:00",
"checks": [
{"key": "pg.archive_integrity", "outcome": "passed"},
{"key": "pg.restore", "outcome": "passed"},
{"key": "pg.table_count", "outcome": "passed"},
{"key": "pg.schema_version", "outcome": "passed"},
{"key": "pg.row_counts", "outcome": "passed"},
{"key": "pg.sample_query", "outcome": "not_tested"},
{"key": "pg.referential_integrity", "outcome": "passed"},
{"key": "pg.app_connection", "outcome": "not_tested"},
{"key": "target.rpo", "outcome": "passed"},
{"key": "target.rto", "outcome": "passed"}
],
"copy": {
"captured_at": "2026-11-24T03:00:49.730215+00:00",
"files": [{"name": "orders-2026-11-24.dump", "sha256": "077abdbc4948920bd4fb521f36b071d94d0e217c8cfda368aa69fdf5c0fa847c", "size_bytes": 18734203}],
"id": "a91f3d5c-6e28-4b07-8c4d-e2f7b0a3c165",
"size_bytes": 18734203,
"time_source": "when the dump file was stored"
},
"data_age_seconds": 7228.417,
"drill_run_id": "8e4b1f6a-2c9d-4e73-b5a1-0d6f3c8e9a47",
"duration_seconds": 47.611809,
"evidence_sha256": "b137e6fcdce72f43c2c56700149cfa056756a931d3d99d3dc82204081fb48f61",
"failure_cause": null,
"finished_at": "2026-11-24T03:00:49.730215+00:00",
"restore_seconds": 6.214,
"result": "passed",
"runner": {"image": "downdrill", "version": "0.1.0"},
"started_at": "2026-11-24T03:00:02.118406+00:00",
"trigger": "schedule"
},
"payload_hash": "a0d3fcbe633a5854c728ba8b11694ddff1f33eae1f8b0bc25dc254f5cae0e6b7",
"prev_hash": "c239acaed04db72f12f681feb8013a1016f8c552262ead76e497a8b4711d96f1",
"tenant_id": "5f0c8e2a-7b41-4c3e-9d26-1a8b3e7f4c90",
"tenant_seq": 12
}
Verification links
Each drill has its own link, https://app.downdrill.com/e/ and a long random token, shown on its signed-in evidence page and in the email sent when it fails or passes again. Whoever holds it can open that drill’s evidence page, PDF, JSON and files without signing in, and nothing else. With /verify on the end, the address the PDF prints, it answers with DownDrill’s own check, in JSON:
| Field | What it says |
|---|---|
evidence_matches | Whether the stored document still hashes to evidence_sha256. |
ledger_entry_matches | Whether the drill’s ledger entry still matches its own hashes and names this drill. |
database_matches | Whether the result, finish time and asset name in the database are those in the entry. A renamed asset shows false. |
chain_ok | Whether your whole ledger is intact. chain_length counts its entries. |
artifacts | Each evidence file, and whether it still matches. |
Links are on for a new asset. An administrator can press Switch verification links off on the asset’s page: every link to its drills stops working, and PDFs made and emails sent while they are off leave the link out. Switching them on brings the same links back.
Auditor links
An administrator presses Create auditor link on the Ledger page to give someone your organisation’s whole ledger without an account. The link is shown once, and DownDrill keeps only its hash. It opens a read-only list of every entry, with the chain checked each time it is opened, and an export of all of them, and nothing else. It does not expire; Revoke on the Ledger page stops it at once. Members can read the ledger but cannot create or revoke links (People and signing in).
The monthly evidence pack
Reports in the app makes one for any UTC calendar month, as a page and a PDF, from the ledger alone: each drill that finished in the month with its result, failure cause, times, check outcomes, evidence hash and ledger entry; totals for the month and per asset; the ledger head at the month’s end; and whether the chain is intact (Alerts and reports). A month of more than 500 drills is refused rather than cut short: export the ledger instead.
Signed daily checkpoints
While they are on, once each UTC day DownDrill signs your ledger’s head with Ed25519: the format, your organisation’s id, the date, the number of entries, the head hash and the public key. It emails the checkpoint as one line of JSON, with the key’s fingerprint, to each address on Settings whose alerts are on (who receives them). This sample, laid out for reading, signs the ledger above at entry 12, so its head_hash is that entry’s entry_hash:
{
"date": "2026-11-25",
"entry_count": 12,
"format": "downdrill-ledger-checkpoint-v1",
"head_hash": "608559c4bb09f9b9bd577bec05b6139233789058a94420a428bd2f34d7a2b396",
"public_key": "azECgVJsVPvWp5lJ4mLt8dpmJKFZoYSNEN2uSRBD4fs=",
"signature": "bvCiwBj8lqZvCleXU/SNQyeG4FCj1C0yZc9NEtsrLJC12R8Xz6zw7OG3nr9Y8M84dUH9Z1Vi6kGoC09D+05QBg==",
"tenant_id": "5f0c8e2a-7b41-4c3e-9d26-1a8b3e7f4c90"
}
DownDrill cannot change an email once it is in your mailbox. If an entry it covers were changed later, the chain would break or, with every later hash recomputed, entry entry_count would no longer have the signed head_hash. So keep the emails, and now and then check an export against one. With the JSON saved as checkpoint.json, the email gives this command for DownDrill’s verifier, with the fingerprint filled in:
downdrill verify --file ledger.jsonl --checkpoint checkpoint.json --fingerprint FINGERPRINT
It checks the signature and that the key you name made it, that every entry is your organisation’s, that the first entry_count entries form a valid chain ending at head_hash, and that the whole export is valid, so later entries are accepted. The signature is Ed25519 over the canonical JSON of the six other fields.
A checkpoint carries its own public key, so a checkpoint and key replaced together prove nothing: note once the fingerprint that Settings shows, and check every checkpoint against that one.
On a day your ledger does not verify, no checkpoint is signed and the same addresses are emailed to say so. The checkpoints you already hold still show the ledger as it was.