A tamper-evident audit log is a record that cannot be quietly changed: entries can only be added, and any later edit to an existing entry shows up when the log is checked. The Governax decision ledger is one, kept as an append-only ledger per entity in which every entry is sealed with a SHA-256 hash over its own contents and the previous entry's hash.
Why does an audit log need to be tamper-evident?
An ordinary log is a table, and anyone with enough access can edit a table. When that log is handed to an auditor as evidence, its value rests on the auditor trusting that nobody changed it. A tamper-evident log replaces some of that trust with a check: if an entry was altered, there is a way to find out.
Tamper-evident is not the same as tamper-proof. Tamper-proof says alteration is impossible; tamper-evident says alteration would be visible. The Governax ledger is tamper-evident. It also enforces append-only rules in the database that refuse ordinary edits, which makes alteration hard but not impossible for someone with full database control, and it is worth being precise about what each part guarantees.
What does append-only mean in the Governax ledger?
Every entity, which is a unit inside your organisation such as a head office, a branch or a business unit, has its own ledger. Rows can be added to it. They cannot be changed.
- Database triggers - Three triggers on the ledger table reject every update, delete and truncate. They are database rules, not application checks, so a direct SQL session or a migration is refused in the same way the Governax application would be.
- No deleting the parent - An organisation or entity that has ledger rows cannot be deleted, so history cannot be removed by deleting what owns it.
- Insert only, on the database's terms - An insert cannot choose its own sequence number or hashes. The database assigns them, whatever the application sends.
There is no edit button, no soft delete and no redaction. If something was recorded wrongly, the correction is a new entry appended after it, and both stay visible in order.
How does a hash chain make tampering detectable?
When a new entry is written, the database finds the entity's last entry, assigns the next sequence number, copies that entry's hash into the new row as its previous hash, and computes the new row's hash with SHA-256 over six inputs, in this order:
- The previous entry's hash (empty for the first entry)
- The entity identifier
- The source tool that reported the change
- The event type, such as a group membership added or an admin role granted
- When the change happened in the source tool
- The payload, in its canonical stored form
Because each hash feeds the next, altering a covered field on one entry changes its hash, which no longer matches what the following entry recorded as its predecessor, and every link after it fails. Deleting an entry from the middle breaks both the sequence numbers and the links. Each entity's chain starts at sequence 1, and chains for different entities never interleave.
What does the hash not cover?
This is the question an auditor should ask, and a precise answer is worth more than a reassuring one. Some fields are stored on every entry but are not inputs to the hash:
- Actor and subject - who made the change and who or what it was made to, as an email address and the tool's own identifier
- Bookkeeping fields - the sequence number, the organisation identifier, the source tool's event identifier, the row identifier and the time Governax recorded the entry
So a change to who did something, or to whom, on a row that is already written would not be detected by verification today. What the event was, when it happened and what it contained are covered. Reaching the uncovered fields at all means bypassing the append-only triggers, which requires database-level privilege rather than anything reachable through Governax. Bringing actor and subject into the hash is a known planned change. The exact recipe is in the hash chain documentation.
There is a second, more fundamental limit. A hash chain proves that what was recorded has not changed. It cannot prove that everything that happened was recorded, because an event that never arrived leaves no gap to find.
How is the ledger verified?
Verification re-walks an entity's whole chain, recomputes every hash inside the database from the stored bytes, and checks every link. The run ends in one of three results:
- verified - every hash recomputed correctly and every link matched
- broken - a hash or a link did not match, and the result names the first entry where the chain fails, so everything before it is known to be intact
- failed - the check itself could not complete, which says nothing about integrity either way, so it should simply be run again
Every run is itself recorded: who started it, when, how many entries were checked and the outcome. A history of verifications is often what an auditor wants to see, because it shows that you check, not only that you can. Opening a single entry also recomputes that entry's hash as a quick spot check, though only a full run says whether the chain around it is intact.
A completed run produces a signed result. The signature is made with a secret held by the Governax server, so it shows the result came from Governax and has not been altered since. It does not let a third party check the result without trusting Governax. The details are in Verifying the ledger.
What can an auditor with read access do?
Each entity has a reader grade. A reader can read that entity's ledger and member list and run a verification, and can change nothing. In particular, a reader cannot connect or disconnect the tools that feed the ledger, so the evidence being checked cannot be switched off by the person checking it.
Reader access is scoped to one entity, so an auditor can be given one entity's ledger without seeing the others. If your auditor wants to check integrity for themselves, the honest route today is to give them reader access to the entity so they can run verification and inspect the chain directly. See roles and access.
What lands in the ledger?
Governax records changes that matter for governance, not everyday activity. Three sources write to the ledger:
- Access changes from seven read-only connectors - Slack, GitHub, Okta, Google Workspace, AWS (through CloudTrail), Microsoft Entra ID and GitLab. Examples include group membership changes, admin role grants and revocations, repository collaborator changes, token creation and IAM policy changes.
- A baseline snapshot - when a tool is connected, Governax records the access that already exists, so the ledger can answer who has access now and not only what changed since. Baseline entries carry the connect time, not the time the access was first granted, which Governax has no way to know.
- Slack access requests - the /governax command records a request, who was asked to decide, and the approval or denial, as ordinary ledger entries on the same chain. See Slack access requests.
Every connector maps its own vocabulary into one shared event shape, so one filter can span all seven tools, and a redelivered event is discarded rather than written twice. Slack, GitHub and Okta push changes within seconds; the other four are polled every ten minutes, plus the source tool's own delay. More in how events reach the ledger.
What does the ledger not do?
Governax is a system of record, not a control plane.
- It does not grant, revoke or block access. Events arrive after the change has already taken effect in the source tool.
- Approving a Slack access request records the decision. A person still makes the grant by hand in the relevant tool.
- It does not record messages, ordinary code pushes, routine sign-ins or other everyday activity.
- There is no policy engine, no compliance framework mapping and no data export today.
These limits are stated up front on purpose. A record is only useful as evidence when everyone reading it knows exactly what it proves and what it does not.