Walk me through SOC 2 for infrastructure. Give me a concrete control an auditor could actually test in a Type II — which of these is one?
- A policy document stating that all code must be reviewed. A claim with no mechanism; the auditor will sample deploys and find the exceptions.
- A screenshot of the repository settings taken during the audit. It evidences one moment, not the period Type II covers.
- A quarterly training session on secure coding. Useful, but it does not prevent an unreviewed deploy.
- Branch protection requiring one approving review on the deploy branch, with the pipeline deploying only from that branch — evidenced by merge and deployment records for the whole period. A mechanism that runs plus evidence that persists across the sample window.
Branch protection with a required review, plus a pipeline deploying only from that branch, with merge and deploy records for the whole period.
The formula is claim plus mechanism plus evidence, and Type II tests the middle one over months. This is why compliance work and platform work converge: the same paved path that makes deploys safe makes them evidenceable.
Offering a policy document or a training session as a control. A claim with no enforcing mechanism is exactly what the auditor's sample will contradict.