← All articles
Compliance8 min read

SOC 2 Evidence Without the Year-End Scramble

Map Trust Services Criteria to cloud controls and automate collection with Config, Policy, and audit logs.

For many engineering teams, SOC 2 means a few frantic weeks before the audit window closes: screenshots of console settings, exported user lists, and hurried explanations for gaps nobody noticed. It does not have to work that way. When controls are implemented in code and checked automatically, evidence becomes a by-product of normal operations, and the audit becomes a review of data you already have.

Continuous evidence pipeline

  1. ControlWritten requirement mapped to a technical check
  2. Automated checkConfig rules, policies, CI tests
  3. Evidence storeTimestamped, immutable results
  4. ReviewOwners triage failures with tickets
  5. AuditAuditor samples evidence and tickets
Controls are checked by machines, evidence is stored immutably, and people review exceptions.

What SOC 2 auditors actually look for

SOC 2 reports against the AICPA Trust Services Criteria—security is always included, and availability, confidentiality, processing integrity, and privacy are optional. A Type I report assesses whether controls are designed appropriately at a point in time. A Type II report, which most customers ask for, assesses whether controls operated effectively over a period, typically several months to a year. That second part is where manual evidence collection breaks down: the auditor wants proof that a control worked throughout the period, not just on the day someone took a screenshot.

1. Map controls to technical checks

Start with the controls your organisation has committed to, and for each technical control identify an automated check that proves it is operating. Not everything can be automated—security awareness training and vendor reviews still need human evidence—but most infrastructure controls can.

Examples of infrastructure controls and automated evidence
Control intentAutomated checkEvidence produced
MFA for all usersIdentity provider policy export; cloud config rule for console MFADaily compliance results and policy snapshots
Encryption at restConfig rules for storage, database, and volume encryptionPer-resource compliance history
Logging enabled and retainedRules for audit trails, retention, and log integrityConfiguration history and retention settings
Changes are reviewedBranch protection and required approvals on infrastructure reposPull request records with approvers
Access is removed promptlyJoiner-mover-leaver automation from HR to identity providerDeprovisioning logs with timestamps
Vulnerabilities are remediatedContinuous scanning with ticket creation and SLAsFindings, tickets, and time-to-fix reports

2. Use managed configuration rules

AWS Config, Azure Policy, and Google Cloud's Security Command Center continuously evaluate resources against rules and keep a history of compliance state—exactly what a Type II audit needs. Deploy rules organisation-wide through code so new accounts are covered automatically.

AWS Config managed rules as codehcl
locals {
  soc2_rules = {
    cloudtrail-enabled         = "CLOUD_TRAIL_ENABLED"
    root-account-mfa           = "ROOT_ACCOUNT_MFA_ENABLED"
    console-mfa                = "MFA_ENABLED_FOR_IAM_CONSOLE_ACCESS"
    s3-encryption              = "S3_BUCKET_SERVER_SIDE_ENCRYPTION_ENABLED"
    s3-public-read-prohibited  = "S3_BUCKET_PUBLIC_READ_PROHIBITED"
    rds-encryption             = "RDS_STORAGE_ENCRYPTED"
    ebs-encryption             = "ENCRYPTED_VOLUMES"
  }
}

resource "aws_config_organization_managed_rule" "soc2" {
  for_each        = local.soc2_rules
  name            = each.key
  rule_identifier = each.value
}

How does your cloud measure up?

Score your setup across foundation, delivery, reliability, security, and cost in 3 minutes—instant results, no email needed.

Take the free scorecard

3. Store evidence immutably

Evidence is only convincing if it cannot be quietly edited. Export compliance results, policy snapshots, and access reviews on a schedule to a dedicated evidence bucket with object lock or immutable storage, organised by control and date. Auditors can then sample any day in the period and see what the state was.

Evidence bucket with object lockhcl
resource "aws_s3_bucket" "evidence" {
  bucket              = "example-soc2-evidence"
  object_lock_enabled = true
}

resource "aws_s3_bucket_object_lock_configuration" "evidence" {
  bucket = aws_s3_bucket.evidence.id
  rule {
    default_retention {
      mode = "COMPLIANCE"
      days = 400 # covers a 12-month audit period plus margin
    }
  }
}
Nightly export of compliance statebash
DATE=$(date -u +%Y-%m-%d)
for RULE in cloudtrail-enabled console-mfa s3-encryption rds-encryption; do
  aws configservice get-aggregate-compliance-details-by-config-rule \
    --configuration-aggregator-name org-aggregator \
    --config-rule-name "$RULE" --account-id "$ACCOUNT_ID" --aws-region us-east-1 \
    --output json > "/tmp/$RULE.json"
  aws s3 cp "/tmp/$RULE.json" "s3://example-soc2-evidence/config/$RULE/$DATE.json"
done

4. Make change management self-evidencing

Change management controls ask whether changes to production are authorised, reviewed, and tested. If every infrastructure and application change goes through pull requests with required reviews, passing checks, and deployment pipelines, the evidence already exists in your Git platform and CI logs. Block direct changes to production consoles through policy, and alert on any change made outside the pipeline so exceptions are visible and explained.

5. Automate access reviews

Quarterly access reviews are a classic source of year-end scrambling. Generate the review automatically: export who has access to each critical system from your identity provider and cloud accounts, send it to the system owner with a simple approve-or-remove workflow, and store the completed review as evidence. Tie provisioning and deprovisioning to HR events so leavers lose access the same day, with logs to prove it.

6. Treat failures as tickets, not surprises

Automated checks will find failures. That is good—an auditor expects some exceptions, and what matters is that they were detected and handled. Route every failed check to the owning team as a ticket with a due date based on severity. During the audit, a record of detected-and-fixed issues demonstrates that the control is operating far better than a suspiciously perfect report.

7. Compliance automation platforms

Platforms such as Vanta, Drata, and Secureframe connect to cloud accounts, identity providers, HR systems, and code repositories, then track controls and collect evidence in one place. They can save significant time, especially for a first audit. They still depend on the underlying engineering: if MFA is not enforced or logging is not centralised, the platform will simply report the gap. Use them to organise and present evidence, not as a substitute for the controls themselves.

A realistic timeline

  1. Weeks 1–2: agree the control set and scope with your auditor; map technical controls to checks.
  2. Weeks 3–6: implement missing controls—central logging, MFA enforcement, config rules, branch protection.
  3. Weeks 6–8: automate evidence exports, access reviews, and failure ticketing.
  4. Then: a Type I assessment if useful, followed by the Type II observation period with evidence collected continuously.

Common evidence gaps auditors find

  • Access reviews that were performed but never recorded, or recorded without evidence of removals.
  • Production changes made through the console with no ticket or approval.
  • Logging enabled in most accounts but missing in a recently created one.
  • Vulnerability findings without proof they were remediated within the policy's timeframe.
  • Terminated employees whose accounts remained active in one secondary system.
  • Backups configured but no evidence of restore testing.

Almost all of these are solved by the same pattern: automate the control, record each run, and route failures to owners. Scope matters too—agree with your auditor which systems are in scope early, and make sure new accounts and tools inherit the controls automatically so the scope cannot quietly grow outside your evidence.

Finally, keep a short narrative for each control describing how it works, who owns it, and where its evidence lives. Auditors read these first, and a clear narrative backed by automated evidence shortens interviews considerably.

Treat the first audit as the baseline: whatever took manual effort this year is the automation backlog for next year.

Checklist

  1. Each technical control mapped to an automated check and an owner.
  2. Organisation-wide configuration rules with compliance history.
  3. Immutable, dated evidence storage organised by control.
  4. Pipeline-based change management with alerts on out-of-band changes.
  5. Automated, recorded access reviews and HR-driven deprovisioning.
  6. Failed checks become tickets with severity-based due dates.
  7. Evidence platform used to organise—not replace—engineering controls.

SOC 2 gets easier every year when evidence is continuous. Our Control & Evidence Ready module implements these checks, evidence pipelines, and runbooks so the next audit window is routine.

Key takeaways

  • Map controls to concrete cloud queries, tickets, and IaC outputs.
  • Automate screenshots and exports where possible; keep human reviews where judgment matters.
  • Continuous evidence beats annual heroics.

FAQ

Can we fully automate SOC 2 evidence?

You can automate a large share of infrastructure and access evidence. Policy acknowledgements and some risk decisions still need people.

What should engineering own vs GRC?

Engineering owns technical control design and machine-readable evidence. GRC owns control narrative, auditor interface, and exception management.

Need help putting this into practice?

Our engineers do this every week. Get a fixed-scope plan for compliance readiness module—free scoping call, written price before you commit.

Get a free scoping call