Stop Screenshotting Consoles: Automating SOC 2 Evidence
Why audit evidence shouldn’t be a picture of a settings page, and what I learned building an open-source tool that asks the systems directly.
- Most SOC 2 evidence is still a screenshot of a console, taken once a quarter and uploaded by hand.
- I built evidence-collector, an open-source tool that asks AWS, GitHub, Okta and Drata directly, maps every answer to the SOC 2 criterion it proves, and writes a hashed evidence pack.
- Its first real run taught me the most important design rule for compliance tooling: never turn “I can’t see it” into “it’s fine”.
The problem: proof by screenshot
Writing a security control is the easy part. “All console users must use MFA” takes one sentence in a policy. Proving it is where the time goes.
In most SOC 2 programs, proof looks like this: someone opens the AWS console, finds the IAM users page, takes a screenshot, and uploads it to a compliance platform. Then they do the same for GitHub branch protection, for Okta MFA policies, for CloudTrail, and for a few dozen other settings. Next quarter, they do it all again.
That evidence has three problems:
- It’s a single moment. Auditors want to know a control operated across the whole audit window. A screenshot shows one afternoon.
- It doesn’t scale. Fifty settings across several AWS accounts and hundreds of repositories is days of clicking.
- It hides drift. If someone loosens a setting between screenshots, nobody notices until the auditor does.
Building an AI agent that answers security questionnaires taught me that a claim is only as good as the evidence behind it. The APIs already know the answers. So why are we taking pictures of them?
The idea: ask the systems, keep the answers
evidence-collector runs four steps, and each one exists for a reason.
- Collect. Read-only calls to each provider: AWS IAM, CloudTrail, GuardDuty, S3 and EC2; GitHub org settings and branch rules; Okta policies and users; Drata control status.
- Evaluate. Small, tested functions decide the verdict. Does any IAM user with console access lack MFA? Does any security group expose SSH to the whole internet?
- Map. Each check is tied to the SOC 2 criteria and ISO 27001 controls it supports. Engineers think in settings; auditors think in criteria. The map is the translator.
- Write. Every raw answer is saved as timestamped JSON, its SHA-256 goes into a manifest, and a readable report summarises coverage per criterion.
The mapping step is what makes the output useful to an auditor rather than just to an engineer:
| What the engineer checks | What the auditor reads |
|---|---|
| Every console user has MFA | CC6.1 Logical access security |
| Okta users inactive for 90+ days | CC6.2 / CC6.3 Access provisioning and removal |
| No SSH or RDP open to the internet | CC6.6 Boundary protection |
| CloudTrail and GuardDuty on everywhere | CC7.2 Security monitoring |
| Default branches need an approving review | CC8.1 Change management |
Four rules I built it around
The fourth rule is that one broken source must never sink the run. If Okta is down, the AWS and GitHub evidence still gets written, and the report lists Okta as skipped with the reason.
What the first real run taught me
I pointed it at a real organization’s GitHub, with a few hundred repositories, and at its compliance platform. Three things happened, and each one justified a design decision.
It found drift immediately. Almost every default branch required an approving review. Two didn’t: they were protected, but had no review rule. That’s exactly the kind of gap that sits unnoticed between quarterly screenshots, and here it showed up in the first minute.
It couldn’t see everything, and said so. GitHub only shows whether an org enforces 2FA to org owners. My token wasn’t an owner’s. A lazy tool would report nothing and look clean; this one reports unknown, with the reason. For an audit tool, a false “pass” is the worst possible bug, because it turns a gap into a comfortable signature.
Its own credential had quietly expired. The compliance platform rejected the API key. Instead of a half-empty report that looks complete, the pack recorded the failure as an error, with the exact call that failed. That small detail is the difference between evidence you can trust and evidence you have to double-check.
Try it
It’s MIT-licensed and needs nothing but read-only credentials. Start with one source; a GitHub token alone is enough:
pip install -e ".[aws]"
evidence-collector --sources github --github-org your-org
The repository has a sample evidence pack built from synthetic data, the full check reference, and a minimal IAM policy so you never have to hand it more access than it needs.
What’s next
- Drift between runs. Diffing two packs to show exactly what changed during the audit window.
- Optional upload to Drata or Vanta, kept separate from the read-only core and behind a write-scoped key.
- More sources: Google Workspace, Kubernetes and Cloudflare.
If your team still screenshots consoles for audits, I’d love to hear what you’d want it to check next.