{"slug": "turning-an-exported-verifiable-log-into-evidence-for-your-own-assessment-no", "title": "Turning an exported, verifiable log into evidence for your own assessment (no certification claimed)", "summary": "A developer outlined a method for turning a platform's hash-chained audit log into SOC 2 evidence for AI agent controls, arguing that logs only count as evidence when they are complete, accurate and tied to a specific control. The approach maps Trust Services Criteria such as CC6.1 and CC7.2 onto concrete agent controls — sandbox identity, network allowlists, approval workflows and a kill switch — and uses hash chaining so that deleting or editing an entry breaks the chain, giving assessors a direct test of completeness and integrity over a period. The author stressed that a vendor's log does not confer certification and that accuracy still depends on the system recording the right identity at write time.", "body_md": "If your company goes through a SOC 2 examination, AI agents will come up. Your assessor will want to know who can start an agent, what it can reach, who approves risky actions and how you would notice if something went wrong. Saying \"we have logs\" is not an answer. An assessor tests controls by looking at evidence, and a log only counts as evidence if it is complete, accurate and tied to a control you actually operate.\n\nThis post is about that translation step: from a platform's audit log to evidence you can hand over. Two disclaimers up front. We are not auditors, and nothing here replaces your assessor's judgement. And a vendor's log never makes you certified or compliant; the controls are yours, and so is the report.\n\nAn audit log is raw material. Evidence is an answer to a specific control. So write the controls first, in your own words, and only then decide which log entries support each one.\n\nThe 2017 [Trust Services Criteria](https://www.aicpa-cima.com/resources/download/2017-trust-services-criteria-with-revised-points-of-focus-2022) used for SOC 2 are written broadly. A few of the common criteria map naturally onto agent work:\n\n| Criterion (summary) | A control you might write for agents | Log entries that support it | \n|---|---|---|\n| CC6.1: logical access is restricted | Agents run with the access of the person running them; network is limited by an allowlist | Sign-ins, sandbox starts with the starting identity, network policy in force | \n| CC6.2 and CC6.3: access is granted, changed and removed with authorization | Roles are granted through groups; access requests are approved by someone other than the requester | Role and group changes, access requests and who approved them | \n| CC7.2: system components are monitored for anomalies | Denied network attempts and blocked tool calls are reviewed | Egress denials, policy blocks, DLP hits | \n| CC7.3 and CC7.4: security events are evaluated and responded to | An organization-wide stop exists and is used when needed | Kill switch use, sandboxes stopped, keys revoked | \n| CC8.1: changes are authorized before they are implemented | Changes an agent proposes to production repos need human review | Approvals asked for and given, linked to the run | \n\nThe numbering above is from the criteria; the controls and the mapping are an example. Your assessor may map things differently, and that conversation is worth having before the period starts, not at the end of it.\n\nWhen a report or export is used as evidence, assessors generally want comfort on three points before they rely on it.\n\n**Completeness.** Does the population contain every relevant event in the period, not just the ones someone chose to export? If you hand over 200 approvals, the assessor needs some reason to believe there were not 220.\n\n**Accuracy.** Is each entry correct? Does \"approved by maya at 14:02\" reflect what happened?\n\n**Integrity since export.** Was the file changed between the system producing it and the assessor reading it?\n\nOrdinary logs are weak on all three. Entries can be deleted, edited or simply never written, and a CSV in a shared drive can be edited by anyone with access. This is where a tamper-evident log helps. In a [hash-chained log](https://sandscale.dev/blog/hash-chained-audit-logs-explained), each entry carries the hash of the one before it, so deleting or editing an entry breaks the chain at that point. A verification over a period is then a direct test of completeness and integrity for that period, which is much easier to defend than \"we did not touch it\".\n\nA chain does not prove accuracy by itself. It proves the record was not changed after it was written. Accuracy still rests on the system writing the right thing in the first place, which is why the identity in each entry should come from authentication, not from a field the caller filled in.\n\nAssessors rarely read every entry. They ask for a population (all approvals in the period, all access changes, all new members) and pick a sample to test. Make that easy:\n\nA Type II report covers a period of time, often several months to a year. Two practical consequences:\n\nStore the exports in a location with its own access control and its own record of who touched what. Object storage with versioning and restricted write access is a common choice.\n\nThe obvious entries (sandbox started, command run) are easy. These are the ones that usually come up in the walkthrough:\n\nA platform can give you a complete, verifiable record of what happened inside it. It cannot give you a control environment. Your assessor will still look at how you review the evidence, who reads denials, how often access is reviewed and what you do when something looks wrong. Evidence that nobody looks at supports a control on paper only.\n\nBe careful, too, with vendor claims. A provider's own certification, if it has one, covers the provider's controls, not yours. If a provider has no certification, its log can still be useful evidence for your controls; it just has to stand on its completeness and integrity, which is the point of the checks above.\n\nSandscale does not claim a certification, and any certification stays with you and your assessor ([audit concepts](https://sandscale.dev/docs/concepts/audit)). What it provides is the record. Every action in an organization is written to an audit log where each entry is chained to the one before it: sign-ins, sandboxes and workspaces started and stopped, commands run, files moved, secrets used, approvals asked for and given, policy changes and kill switch use, with who did it, when and where.\n\nEvery plan can read the log in the console. Team and Enterprise can export a period, a quarter, a month or the dates your assessor asks for, and Sandscale verifies the chain for every entry in that period and packs the entries and the check result into one file ([evidence export](https://sandscale.dev/security/evidence-export)). From the API, `POST /api/v1/audit-logs/export` creates an export for a range and `GET /api/v1/audit-logs/verify` checks the chain between two times; both are in the [audit API reference](https://sandscale.dev/docs/reference/api/audit). For what each entry should contain in the first place, see [what an audit log for coding agents should record](https://sandscale.dev/blog/audit-log-for-ai-coding-agents).\n\n*Originally published on the [Sandscale blog](https://sandscale.dev/blog/audit-evidence-for-soc2-from-agent-logs).*", "url": "https://wpnews.pro/news/turning-an-exported-verifiable-log-into-evidence-for-your-own-assessment-no", "canonical_source": "https://dev.to/sandscale/turning-an-exported-verifiable-log-into-evidence-for-your-own-assessment-no-certification-claimed-1o3n", "published_at": "2026-11-26 09:38:53+00:00", "updated_at": "2026-11-26 09:42:54.957935+00:00", "lang": "en", "topics": ["ai-safety", "ai-agents", "ai-policy", "mlops"], "entities": ["AICPA", "SOC 2"], "also_reported_by": [], "takeaway": null, "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/turning-an-exported-verifiable-log-into-evidence-for-your-own-assessment-no", "markdown": "https://wpnews.pro/news/turning-an-exported-verifiable-log-into-evidence-for-your-own-assessment-no.md", "text": "https://wpnews.pro/news/turning-an-exported-verifiable-log-into-evidence-for-your-own-assessment-no.txt", "jsonld": "https://wpnews.pro/news/turning-an-exported-verifiable-log-into-evidence-for-your-own-assessment-no.jsonld"}}