Skip to content
Back to skills

Soc2 Audit Prep

ASecurity

SOC 2 audit-prep playbook plus two checkers: score a controls file per Trust Services Criterion and list missing, undated or stale evidence, then run the 4/8/12-week sprint. Use when a SOC 2 Type I or II audit is scheduled, when readiness surfaced gaps and you need a sprint plan, or when evidence is missing or stale.

  • 1,271 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 29, 2026
ai-agentspythonrustgotestingsecurity

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add borghei/Claude-Skills --skill soc2-audit-prep --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Soc2 Audit Prep?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Soc2 Audit Prep
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/borghei-soc2-audit-prep/badge)](https://www.skillsdirectory.com/skills/borghei-soc2-audit-prep)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: soc2-audit-prep
description: >
  SOC 2 audit-prep playbook plus two checkers: score a controls file per Trust
  Services Criterion and list missing, undated or stale evidence, then run the
  4/8/12-week sprint. Use when a SOC 2 Type I or II audit is scheduled, when
  readiness surfaced gaps and you need a sprint plan, or when evidence is missing or stale.
license: MIT + Commons Clause
metadata:
  version: 1.0.0
  author: borghei
  category: compliance
  domain: ra-qm-team
  updated: 2026-05-27
  tags: [soc2, audit-prep, trust-services-criteria, evidence-collection, sprint-planning, compliance]
---

# SOC 2 Audit Prep

Operational playbook for SOC 2 audit preparation. Designed to be picked up 4-12 weeks before an audit and run as a sprint to closure. Pairs with our deep `ra-qm-team/soc2-compliance-expert` skill (which builds the program from scratch).

When to use this skill vs. soc2-compliance-expert:
- **This skill**: audit scheduled in 4-12 weeks; gaps known; need to execute the sprint
- **soc2-compliance-expert**: building the SOC 2 program; designing controls; multi-quarter effort

---

## When to use this skill

| Situation | Skill applies |
|-----------|---------------|
| SOC 2 audit scheduled, need readiness sprint | Yes — start here |
| Type I audit in 4-12 weeks | Yes — use 4 or 8-week sprint plan |
| Type II observation period closing soon | Yes — use 12-week sprint plan |
| Readiness assessment surfaced gaps | Yes — `scripts/soc2_readiness_score.py` + `evidence_gap_finder.py` |
| Building SOC 2 program from scratch | Use `ra-qm-team/soc2-compliance-expert` instead |

---

## The audit-prep sprint at a glance

### 4-week sprint (Type I, mostly ready)

```
Week 1: Inventory + scoping
  - Confirm Trust Services Criteria scope (always Security; plus chosen others)
  - Pull current evidence per criterion
  - Identify gaps via scripts/evidence_gap_finder.py
  - Auditor kickoff scheduled

Week 2: Gap closure
  - Policy updates / approvals
  - Technical control fixes (MFA universal, logging coverage, etc.)
  - Evidence retrieval (access reviews, change tickets, on-call records)
  - Auditor information request preparation

Week 3: Evidence finalization
  - All evidence packets compiled per criterion
  - Walkthroughs / interviews scheduled with key control owners
  - Findings remediation
  - Pre-audit checkpoint with auditor (informal)

Week 4: Audit week
  - Walkthroughs executed
  - Sample testing
  - Q&A
  - Management responses to findings
```

### 8-week sprint (Type I, gaps remaining)

```
Weeks 1-2: Inventory + scoping + gap identification (same as 4-week W1)
Weeks 3-5: Gap closure (policies, technical, process)
Weeks 6-7: Evidence finalization + walkthroughs
Week 8: Audit week
```

### 12-week sprint (Type II observation prep)

```
Weeks 1-2: Inventory + scope + gap identification + auditor kickoff
Weeks 3-4: Gap closure
Weeks 5-12: Observation period (controls operating; evidence accumulating)
After observation period: audit week
```

See [references/evidence-collection-sprint-plan.md](references/evidence-collection-sprint-plan.md) for the detailed week-by-week plans.

---

## The pre-audit punch list

Standard pre-audit punch list, organized by Trust Services Criterion:

### CC1-CC5 (Common Criteria — control environment)
- [ ] Information security policy approved + dated within 12 months
- [ ] Org chart current (reflects actual reporting lines)
- [ ] Risk assessment performed + documented within 12 months
- [ ] Board / leadership oversight evidence (minutes referencing security)
- [ ] Code of conduct signed by all employees
- [ ] Background checks documented for all hires

### CC6 (Logical and Physical Access)
- [ ] SSO enforced for all production systems
- [ ] MFA universal (no exceptions documented for production access)
- [ ] Access review evidence (quarterly minimum)
- [ ] Privileged access management (PAM) for admin/root accounts
- [ ] Physical security evidence (office badge logs, data center attestation)
- [ ] Encryption at rest / in transit verified

### CC7 (System Operations)
- [ ] Vulnerability management evidence (scans, remediation tracking)
- [ ] Monitoring and alerting documented + tested
- [ ] Incident response plan + documented incidents from past period
- [ ] Business continuity / DR plan + test evidence
- [ ] Backup verification (not just configured — tested restore)

### CC8 (Change Management)
- [ ] Code change tickets with peer review + approval
- [ ] Production deployment evidence (who, what, when, approvers)
- [ ] Emergency change process documented + sample tickets

### CC9 (Risk Mitigation / Vendors)
- [ ] Vendor inventory current
- [ ] Vendor due diligence evidence per vendor
- [ ] Vendor SOC 2 reports collected (annual)

### A1 (Availability — if in scope)
- [ ] SLA monitoring + actuals
- [ ] Capacity planning evidence
- [ ] Recovery objective testing (RTO/RPO)

### PI1 (Processing Integrity — if in scope)
- [ ] Data validation controls documented
- [ ] Error handling + reconciliation evidence

### C1 (Confidentiality — if in scope)
- [ ] Data classification + handling procedures
- [ ] Encryption verified

### P1 (Privacy — if in scope)
- [ ] Privacy notice published + dated
- [ ] Data subject rights process documented
- [ ] Consent management evidence

See [references/soc2-pre-audit-punch-list.md](references/soc2-pre-audit-punch-list.md) for the detailed punch list with evidence templates per item.

---

## Clarify First

Before running the audit-prep sprint, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

- **Audit type:** Type I (point-in-time) vs Type II (observation period) (sets the 4/8 vs 12-week sprint and the evidence-over-time requirement).
- **TSC scope:** which Trust Services Criteria beyond mandatory Security (Availability, Processing Integrity, Confidentiality, Privacy) (determines which punch-list sections apply).
- **Readiness score / gap level:** picks the 4-week vs 8-week vs 12-week sprint (or postpone).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

## Quick start

1. **Check readiness**: `python3 scripts/soc2_readiness_score.py assets/flawed_controls.yaml` (use your own controls file; copy the shape from `assets/sample_controls.yaml`)
2. **Find evidence gaps**: `python3 scripts/evidence_gap_finder.py assets/flawed_evidence.yaml --as-of 2026-12-01 --tsc CC6`
3. **Pick sprint length** from the overall score (internal planning heuristic, not an AICPA rule):
   - 90 or more: 4-week sprint
   - 75-89: 8-week sprint
   - 60-74: 12-week sprint or postpone the audit
   - below 60: postpone; multi-quarter remediation
4. **Execute sprint** per [references/evidence-collection-sprint-plan.md](references/evidence-collection-sprint-plan.md)
5. **Pre-audit checkpoint** with auditor 1 week before

Real output (`evidence_gap_finder.py assets/flawed_evidence.yaml --as-of 2026-12-01`, excerpt):

```
| Sev | TSC | Item | Status | Value | Week |
| critical | CC6 | mfa_enforcement_proof | undated | no date | W1 |
| critical | CC6 | quarterly_access_review_records | stale | 2024-03-01 (1005 days old) | W1 |
| critical | CC9 | vendor_inventory | missing | absent | W1 |
...
FIX 6 gaps
```

## Input files

- Controls file (YAML subset or JSON): `tsc:` maps each criterion (CC1..CC9, A1, PI1, C1, P1) to `control_name: true|false`. Optional `in_scope_tscs:` list. CC1-CC9 (Security) are mandatory. Unanswered controls are reported as unanswered, not counted as met.
- Evidence file: `evidence:` maps criterion to item to `date: YYYY-MM-DD` (plus any notes). Stale = older than 365 days (quarterly access reviews: 120); both are internal heuristics.
- `--as-of YYYY-MM-DD` fixes the reference date (default today). `--format text|json`, `--output FILE`.

## Exit codes

| Code | Meaning |
|------|---------|
| 0 | Clean: every in-scope control met / no evidence gaps |
| 1 | Findings: gaps, invalid answers or unknown names (each with a fix) |
| 2 | Unusable input: missing, empty, not a mapping, no known criteria, bad `--tsc` / `--as-of` |

---

## Common audit-prep failures

- **No designated audit owner.** Sprint flounders. Assign one person Day 1.
- **Treating evidence as one-time.** Type II requires controls operating over observation period. Evidence must accumulate continuously, not just at the end.
- **Untested backups.** Configuring backups isn't enough; you need restore test evidence.
- **Access review checked but not enforced.** Reviews happen; access not actually removed when flagged.
- **Vendor SOC 2 reports missing or stale.** Audit checks subservice org evidence.
- **No incident in observation period.** Looks suspicious to auditors. Either you had none (unusual) or you're not detecting them.
- **Late discovery of carve-out vs inclusive subservice orgs.** Re-scoping mid-sprint is painful.

---

## Tooling

| Script | Purpose |
|--------|---------|
| `scripts/soc2_readiness_score.py` | Weighted share of controls met per TSC (0-100), unmet controls with fixes, sprint suggestion |
| `scripts/evidence_gap_finder.py` | Missing / undated / future / stale evidence vs the usual audit request list, with sprint week and fix |
| `scripts/miniyaml.py` | Library: YAML-subset/JSON loader used by both tools |

---

## References

- [soc2-pre-audit-punch-list.md](references/soc2-pre-audit-punch-list.md) — detailed punch list per TSC with evidence templates
- [evidence-collection-sprint-plan.md](references/evidence-collection-sprint-plan.md) — 4/8/12-week sprint plans with week-by-week deliverables

---

## Related skills

- `ra-qm-team/soc2-compliance-expert` — deep SOC 2 program management (multi-quarter)
- `ra-qm-team/audit-prep/compliance-readiness` — multi-framework readiness (SOC 2 + ISO 27001 + NIST)
- `ra-qm-team/infrastructure-compliance-auditor` — automated infra scanning for evidence
- `engineering/observability-designer` — logging / monitoring evidence

Files in this skill

  • SKILL.md7.7 KB
  • references/evidence-collection-sprint-plan.md7.7 KB
  • references/soc2-pre-audit-punch-list.md13.3 KB
  • scripts/evidence_gap_finder.py9.5 KB
  • scripts/soc2_readiness_score.py10.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.