SOC 2 Compliance
SOC 2 Type I and Type II compliance preparation for SaaS companies. Covers Trust Service Criteria mapping, control matrix generation, evidence collection, gap analysis, and audit readiness assessment.
Table of Contents
Overview
What Is SOC 2?
SOC 2 (System and Organization Controls 2) is an auditing framework developed by the AICPA that evaluates how a service organization manages customer data. It applies to any technology company that stores, processes, or transmits customer information — primarily SaaS, cloud infrastructure, and managed service providers.
Type I vs Type II
| Aspect |
Type I |
Type II |
| Scope |
Design of controls at a point in time |
Design AND operating effectiveness over a period |
| Duration |
Snapshot (single date) |
Observation window (3-12 months, typically 6) |
| Evidence |
Control descriptions, policies |
Control descriptions + operating evidence (logs, tickets, screenshots) |
| Cost |
$20K-$50K (audit fees) |
$30K-$100K+ (audit fees) |
| Timeline |
1-2 months (audit phase) |
6-12 months (observation + audit) |
| Best For |
First-time compliance, rapid market need |
Mature organizations, enterprise customers |
Who Needs SOC 2?
- SaaS companies selling to enterprise customers
- Cloud infrastructure providers handling customer workloads
- Data processors managing PII, PHI, or financial data
- Managed service providers with access to client systems
- Any vendor whose customers require third-party assurance
Typical Journey
Gap Assessment → Remediation → Type I Audit → Observation Period → Type II Audit → Annual Renewal
(4-8 wk) (8-16 wk) (4-6 wk) (6-12 mo) (4-6 wk) (ongoing)
Trust Service Criteria
SOC 2 is organized around five Trust Service Criteria (TSC) categories. Security is required for every SOC 2 report; the remaining four are optional and selected based on business need.
Security (Common Criteria CC1-CC9) — Required
The foundation of every SOC 2 report. Maps to COSO 2013 principles.
| Criteria |
Domain |
Key Controls |
| CC1 |
Control Environment |
Integrity/ethics, board oversight, org structure, competence, accountability |
| CC2 |
Communication & Information |
Internal/external communication, information quality |
| CC3 |
Risk Assessment |
Risk identification, fraud risk, change impact analysis |
| CC4 |
Monitoring Activities |
Ongoing monitoring, deficiency evaluation, corrective actions |
| CC5 |
Control Activities |
Policies/procedures, technology controls, deployment through policies |
| CC6 |
Logical & Physical Access |
Access provisioning, authentication, encryption, physical restrictions |
| CC7 |
System Operations |
Vulnerability management, anomaly detection, incident response |
| CC8 |
Change Management |
Change authorization, testing, approval, emergency changes |
| CC9 |
Risk Mitigation |
Vendor/business partner risk management |
Availability (A1) — Optional
| Criteria |
Focus |
Key Controls |
| A1.1 |
Capacity management |
Infrastructure scaling, resource monitoring, capacity planning |
| A1.2 |
Recovery operations |
Backup procedures, disaster recovery, BCP testing |
| A1.3 |
Recovery testing |
DR drills, failover testing, RTO/RPO validation |
Select when: Customers depend on your uptime; you have SLAs; downtime causes direct business impact.
Confidentiality (C1) — Optional
| Criteria |
Focus |
Key Controls |
| C1.1 |
Identification |
Data classification policy, confidential data inventory |
| C1.2 |
Protection |
Encryption at rest and in transit, DLP, access restrictions |
| C1.3 |
Disposal |
Secure deletion procedures, media sanitization, retention enforcement |
Select when: You handle trade secrets, proprietary data, or contractually confidential information.
Processing Integrity (PI1) — Optional
| Criteria |
Focus |
Key Controls |
| PI1.1 |
Accuracy |
Input validation, processing checks, output verification |
| PI1.2 |
Completeness |
Transaction monitoring, reconciliation, error handling |
| PI1.3 |
Timeliness |
SLA monitoring, processing delay alerts, batch job monitoring |
| PI1.4 |
Authorization |
Processing authorization controls, segregation of duties |
Select when: Data accuracy is critical (financial processing, healthcare records, analytics platforms).
Privacy (P1-P8) — Optional
| Criteria |
Focus |
Key Controls |
| P1 |
Notice |
Privacy policy, data collection notice, purpose limitation |
| P2 |
Choice & Consent |
Opt-in/opt-out, consent management, preference tracking |
| P3 |
Collection |
Minimal collection, lawful basis, purpose specification |
| P4 |
Use, Retention, Disposal |
Purpose limitation, retention schedules, secure disposal |
| P5 |
Access |
Data subject access requests, correction rights |
| P6 |
Disclosure & Notification |
Third-party sharing, breach notification |
| P7 |
Quality |
Data accuracy verification, correction mechanisms |
| P8 |
Monitoring & Enforcement |
Privacy program monitoring, complaint handling |
Select when: You process PII and customers expect privacy assurance (complements GDPR compliance).
Control Matrix Generation
A control matrix maps each TSC criterion to specific controls, owners, evidence, and testing procedures.
Matrix Structure
| Field |
Description |
| Control ID |
Unique identifier (e.g., SEC-001, AVL-003) |
| TSC Mapping |
Which criteria the control addresses (e.g., CC6.1, A1.2) |
| Control Description |
What the control does |
| Control Type |
Preventive, Detective, or Corrective |
| Owner |
Responsible person/team |
| Frequency |
Continuous, Daily, Weekly, Monthly, Quarterly, Annual |
| Evidence Type |
Screenshot, Log, Policy, Config, Ticket |
| Testing Procedure |
How the auditor verifies the control |
Control Naming Convention
{CATEGORY}-{NUMBER}
SEC-001 through SEC-NNN → Security
AVL-001 through AVL-NNN → Availability
CON-001 through CON-NNN → Confidentiality
PRI-001 through PRI-NNN → Processing Integrity
PRV-001 through PRV-NNN → Privacy
Workflow
- Select applicable TSC categories based on business needs
- Run
control_matrix_builder.py to generate the baseline matrix
- Customize controls to match your actual environment
- Assign owners and evidence requirements
- Validate coverage — every selected TSC criterion must have at least one control
Gap Analysis Workflow
Phase 1: Current State Assessment
- Document existing controls — inventory all security policies, procedures, and technical controls
- Map to TSC — align existing controls to Trust Service Criteria
- Collect evidence samples — gather proof that controls exist and operate
- Interview control owners — verify understanding and execution
Phase 2: Gap Identification
Run gap_analyzer.py against your current controls to identify:
- Missing controls — TSC criteria with no corresponding control
- Partially implemented — Control exists but lacks evidence or consistency
- Design gaps — Control designed but does not adequately address the criteria
- Operating gaps (Type II only) — Control designed correctly but not operating effectively
Phase 3: Remediation Planning
For each gap, define:
| Field |
Description |
| Gap ID |
Reference identifier |
| TSC Criteria |
Affected criteria |
| Gap Description |
What is missing or insufficient |
| Remediation Action |
Specific steps to close the gap |
| Owner |
Person responsible for remediation |
| Priority |
Critical / High / Medium / Low |
| Target Date |
Completion deadline |
| Dependencies |
Other gaps or projects that must complete first |
Phase 4: Timeline Planning
| Priority |
Target Remediation |
| Critical |
2-4 weeks |
| High |
4-8 weeks |
| Medium |
8-12 weeks |
| Low |
12-16 weeks |
Evidence Collection
Evidence Types by Control Category
| Control Area |
Primary Evidence |
Secondary Evidence |
| Access Management |
User access reviews, provisioning tickets |
Role matrix, access logs |
| Change Management |
Change tickets, approval records |
Deployment logs, test results |
| Incident Response |
Incident tickets, postmortems |
Runbooks, escalation records |
| Vulnerability Management |
Scan reports, patch records |
Remediation timelines |
| Encryption |
Configuration screenshots, certificate inventory |
Key rotation logs |
| Backup & Recovery |
Backup logs, DR test results |
Recovery time measurements |
| Monitoring |
Alert configurations, dashboard screenshots |
On-call schedules, escalation records |
| Policy Management |
Signed policies, version history |
Training completion records |
| Vendor Management |
Vendor assessments, SOC 2 reports |
Contract reviews, risk registers |
Automation Opportunities
| Area |
Automation Approach |
| Access reviews |
Integrate IAM with ticketing (automatic quarterly review triggers) |
| Configuration evidence |
Infrastructure-as-code snapshots, compliance-as-code tools |
| Vulnerability scans |
Scheduled scanning with auto-generated reports |
| Change management |
Git-based audit trail (commits, PRs, approvals) |
| Uptime monitoring |
Automated SLA dashboards with historical data |
| Backup verification |
Automated restore tests with success/failure logging |
Continuous Monitoring
Move from point-in-time evidence collection to continuous compliance:
- Automated evidence gathering — scripts that pull evidence on schedule
- Control dashboards — real-time visibility into control status
- Alert-based monitoring — notify when a control drifts out of compliance
- Evidence repository — centralized, timestamped evidence storage
Audit Readiness Checklist
Pre-Audit Preparation (4-6 Weeks Before)
Readiness Scoring
| Score |
Rating |
Meaning |
| 90-100% |
Audit Ready |
Proceed with confidence |
| 75-89% |
Minor Gaps |
Address before scheduling audit |
| 50-74% |
Significant Gaps |
Remediation required |
| < 50% |
Not Ready |
Major program build-out needed |
Common Audit Findings
| Finding |
Root Cause |
Prevention |
| Incomplete access reviews |
Manual process, no reminders |
Automate quarterly review triggers |
| Missing change approvals |
Emergency changes bypass process |
Define emergency change procedure with post-hoc approval |
| Stale vulnerability scans |
Scanner misconfigured |
Automated weekly scans with alerting |
| Policy not acknowledged |
No tracking mechanism |
Annual e-signature workflow |
| Missing vendor assessments |
No vendor inventory |
Maintain vendor register with review schedule |
Vendor Management
Third-Party Risk Assessment
Every vendor that accesses, stores, or processes customer data must be assessed:
- Vendor inventory — maintain a register of all service providers
- Risk classification — categorize vendors by data access level
- Due diligence — collect SOC 2 reports, security questionnaires, certifications
- Contractual protections — ensure DPAs, security requirements, breach notification clauses
- Ongoing monitoring — annual reassessment, continuous news monitoring
Vendor Risk Tiers
| Tier |
Data Access |
Assessment Frequency |
Requirements |
| Critical |
Processes/stores customer data |
Annual + continuous monitoring |
SOC 2 Type II, penetration test, security review |
| High |
Accesses customer environment |
Annual |
SOC 2 Type II or equivalent, questionnaire |
| Medium |
Indirect access, support tools |
Annual questionnaire |
Security certifications, questionnaire |
| Low |
No data access |
Biennial questionnaire |
Basic security questionnaire |
Subservice Organizations
When your SOC 2 report relies on controls at a subservice organization (e.g., AWS, GCP, Azure):
- Inclusive method — your report covers the subservice org's controls (requires their cooperation)
- Carve-out method — your report excludes their controls but references their SOC 2 report
- Most companies use carve-out and include complementary user entity controls (CUECs)
Continuous Compliance
From Point-in-Time to Continuous
| Aspect |
Point-in-Time |
Continuous |
| Evidence collection |
Manual, before audit |
Automated, ongoing |
| Control monitoring |
Periodic review |
Real-time dashboards |
| Drift detection |
Found during audit |
Alert-based, immediate |
| Remediation |
Reactive |
Proactive |
| Audit preparation |
4-8 week scramble |
Always ready |
Implementation Steps
- Automate evidence gathering — cron jobs, API integrations, IaC snapshots
- Build control dashboards — aggregate control status into a single view
- Configure drift alerts — notify when controls fall out of compliance
- Establish review cadence — weekly control owner check-ins, monthly steering
- Maintain evidence repository — centralized, timestamped, auditor-accessible
Annual Re-Assessment Cycle
| Quarter |
Activities |
| Q1 |
Annual risk assessment, policy refresh, vendor reassessment launch |
| Q2 |
Internal control testing, remediation of findings |
| Q3 |
Pre-audit readiness review, evidence completeness check |
| Q4 |
External audit, management assertion, report distribution |
Anti-Patterns
| Anti-Pattern |
Why It Fails |
Better Approach |
| Point-in-time compliance |
Controls degrade between audits; gaps found during audit |
Implement continuous monitoring and automated evidence |
| Manual evidence collection |
Time-consuming, inconsistent, error-prone |
Automate with scripts, IaC, and compliance platforms |
| Missing vendor assessments |
Auditors flag incomplete vendor due diligence |
Maintain vendor register with risk-tiered assessment schedule |
| Copy-paste policies |
Generic policies don't match actual operations |
Tailor policies to your actual environment and technology stack |
| Security theater |
Controls exist on paper but aren't followed |
Verify operating effectiveness; build controls into workflows |
| Skipping Type I |
Jumping to Type II without foundational readiness |
Start with Type I to validate control design before observation |
| Over-scoping TSC |
Including all 5 categories when only Security is needed |
Select categories based on actual customer/business requirements |
| Treating audit as a project |
Compliance degrades after the report is issued |
Build compliance into daily operations and engineering culture |
Tools
Control Matrix Builder
Generates a SOC 2 control matrix from selected TSC categories.
# Generate full security matrix in markdown
python scripts/control_matrix_builder.py --categories security --format md
# Generate matrix for multiple categories as JSON
python scripts/control_matrix_builder.py --categories security,availability,confidentiality --format json
# All categories, CSV output
python scripts/control_matrix_builder.py --categories security,availability,confidentiality,processing-integrity,privacy --format csv
Evidence Tracker
Tracks evidence collection status per control.
# Check evidence status from a control matrix
python scripts/evidence_tracker.py --matrix controls.json --status
# JSON output for integration
python scripts/evidence_tracker.py --matrix controls.json --status --json
Gap Analyzer
Analyzes current controls against SOC 2 requirements and identifies gaps.
# Type I gap analysis
python scripts/gap_analyzer.py --controls current_controls.json --type type1
# Type II gap analysis (includes operating effectiveness)
python scripts/gap_analyzer.py --controls current_controls.json --type type2 --json
References
- Trust Service Criteria Reference — All 5 TSC categories with sub-criteria, control objectives, and evidence examples
- Evidence Collection Guide — Evidence types per control, automation tools, documentation requirements
- Type I vs Type II Comparison — Detailed comparison, timeline, cost analysis, and upgrade path
Cross-References
- gdpr-dsgvo-expert — SOC 2 Privacy criteria overlaps significantly with GDPR requirements; use together when processing EU personal data
- information-security-manager-iso27001 — ISO 27001 Annex A controls map closely to SOC 2 Security criteria; organizations pursuing both can share evidence
- isms-audit-expert — Audit methodology and finding management patterns transfer directly to SOC 2 audit preparation
1---2name: soc2-compliance3description: "Use when the user asks to prepare for SOC 2 audits, map Trust Service Criteria, build control matrices, collect audit evidence, perform gap analysis, or assess SOC 2 Type I vs Type II readiness."4version: 1.0.05author:6 name: "Alireza Rezvani"7 github: alirezarezvani8tags: [soc2, compliance]9category: compliance10platforms: [macos, linux, windows]11license: MIT12metadata:13 hermes:14 related_skills: [soc2, compliance]15 source: https://skillmd.com/skills/nous-hermeshub/soc2-compliance16 upstream: "claude-skills"17 original_author: "Alireza Rezvani"18---1920# SOC 2 Compliance2122SOC 2 Type I and Type II compliance preparation for SaaS companies. Covers Trust Service Criteria mapping, control matrix generation, evidence collection, gap analysis, and audit readiness assessment.2324## Table of Contents2526- [Overview](#overview)27- [Trust Service Criteria](#trust-service-criteria)28- [Control Matrix Generation](#control-matrix-generation)29- [Gap Analysis Workflow](#gap-analysis-workflow)30- [Evidence Collection](#evidence-collection)31- [Audit Readiness Checklist](#audit-readiness-checklist)32- [Vendor Management](#vendor-management)33- [Continuous Compliance](#continuous-compliance)34- [Anti-Patterns](#anti-patterns)35- [Tools](#tools)36- [References](#references)37- [Cross-References](#cross-references)3839---4041## Overview4243### What Is SOC 2?4445SOC 2 (System and Organization Controls 2) is an auditing framework developed by the AICPA that evaluates how a service organization manages customer data. It applies to any technology company that stores, processes, or transmits customer information — primarily SaaS, cloud infrastructure, and managed service providers.4647### Type I vs Type II4849| Aspect | Type I | Type II |50|--------|--------|---------|51| **Scope** | Design of controls at a point in time | Design AND operating effectiveness over a period |52| **Duration** | Snapshot (single date) | Observation window (3-12 months, typically 6) |53| **Evidence** | Control descriptions, policies | Control descriptions + operating evidence (logs, tickets, screenshots) |54| **Cost** | $20K-$50K (audit fees) | $30K-$100K+ (audit fees) |55| **Timeline** | 1-2 months (audit phase) | 6-12 months (observation + audit) |56| **Best For** | First-time compliance, rapid market need | Mature organizations, enterprise customers |5758### Who Needs SOC 2?5960- **SaaS companies** selling to enterprise customers61- **Cloud infrastructure providers** handling customer workloads62- **Data processors** managing PII, PHI, or financial data63- **Managed service providers** with access to client systems64- **Any vendor** whose customers require third-party assurance6566### Typical Journey6768```69Gap Assessment → Remediation → Type I Audit → Observation Period → Type II Audit → Annual Renewal70 (4-8 wk) (8-16 wk) (4-6 wk) (6-12 mo) (4-6 wk) (ongoing)71```7273---7475## Trust Service Criteria7677SOC 2 is organized around five Trust Service Criteria (TSC) categories. **Security** is required for every SOC 2 report; the remaining four are optional and selected based on business need.7879### Security (Common Criteria CC1-CC9) — Required8081The foundation of every SOC 2 report. Maps to COSO 2013 principles.8283| Criteria | Domain | Key Controls |84|----------|--------|-------------|85| **CC1** | Control Environment | Integrity/ethics, board oversight, org structure, competence, accountability |86| **CC2** | Communication & Information | Internal/external communication, information quality |87| **CC3** | Risk Assessment | Risk identification, fraud risk, change impact analysis |88| **CC4** | Monitoring Activities | Ongoing monitoring, deficiency evaluation, corrective actions |89| **CC5** | Control Activities | Policies/procedures, technology controls, deployment through policies |90| **CC6** | Logical & Physical Access | Access provisioning, authentication, encryption, physical restrictions |91| **CC7** | System Operations | Vulnerability management, anomaly detection, incident response |92| **CC8** | Change Management | Change authorization, testing, approval, emergency changes |93| **CC9** | Risk Mitigation | Vendor/business partner risk management |9495### Availability (A1) — Optional9697| Criteria | Focus | Key Controls |98|----------|-------|-------------|99| **A1.1** | Capacity management | Infrastructure scaling, resource monitoring, capacity planning |100| **A1.2** | Recovery operations | Backup procedures, disaster recovery, BCP testing |101| **A1.3** | Recovery testing | DR drills, failover testing, RTO/RPO validation |102103**Select when:** Customers depend on your uptime; you have SLAs; downtime causes direct business impact.104105### Confidentiality (C1) — Optional106107| Criteria | Focus | Key Controls |108|----------|-------|-------------|109| **C1.1** | Identification | Data classification policy, confidential data inventory |110| **C1.2** | Protection | Encryption at rest and in transit, DLP, access restrictions |111| **C1.3** | Disposal | Secure deletion procedures, media sanitization, retention enforcement |112113**Select when:** You handle trade secrets, proprietary data, or contractually confidential information.114115### Processing Integrity (PI1) — Optional116117| Criteria | Focus | Key Controls |118|----------|-------|-------------|119| **PI1.1** | Accuracy | Input validation, processing checks, output verification |120| **PI1.2** | Completeness | Transaction monitoring, reconciliation, error handling |121| **PI1.3** | Timeliness | SLA monitoring, processing delay alerts, batch job monitoring |122| **PI1.4** | Authorization | Processing authorization controls, segregation of duties |123124**Select when:** Data accuracy is critical (financial processing, healthcare records, analytics platforms).125126### Privacy (P1-P8) — Optional127128| Criteria | Focus | Key Controls |129|----------|-------|-------------|130| **P1** | Notice | Privacy policy, data collection notice, purpose limitation |131| **P2** | Choice & Consent | Opt-in/opt-out, consent management, preference tracking |132| **P3** | Collection | Minimal collection, lawful basis, purpose specification |133| **P4** | Use, Retention, Disposal | Purpose limitation, retention schedules, secure disposal |134| **P5** | Access | Data subject access requests, correction rights |135| **P6** | Disclosure & Notification | Third-party sharing, breach notification |136| **P7** | Quality | Data accuracy verification, correction mechanisms |137| **P8** | Monitoring & Enforcement | Privacy program monitoring, complaint handling |138139**Select when:** You process PII and customers expect privacy assurance (complements GDPR compliance).140141---142143## Control Matrix Generation144145A control matrix maps each TSC criterion to specific controls, owners, evidence, and testing procedures.146147### Matrix Structure148149| Field | Description |150|-------|-------------|151| **Control ID** | Unique identifier (e.g., SEC-001, AVL-003) |152| **TSC Mapping** | Which criteria the control addresses (e.g., CC6.1, A1.2) |153| **Control Description** | What the control does |154| **Control Type** | Preventive, Detective, or Corrective |155| **Owner** | Responsible person/team |156| **Frequency** | Continuous, Daily, Weekly, Monthly, Quarterly, Annual |157| **Evidence Type** | Screenshot, Log, Policy, Config, Ticket |158| **Testing Procedure** | How the auditor verifies the control |159160### Control Naming Convention161162```163{CATEGORY}-{NUMBER}164SEC-001 through SEC-NNN → Security165AVL-001 through AVL-NNN → Availability166CON-001 through CON-NNN → Confidentiality167PRI-001 through PRI-NNN → Processing Integrity168PRV-001 through PRV-NNN → Privacy169```170171### Workflow1721731. Select applicable TSC categories based on business needs1742. Run `control_matrix_builder.py` to generate the baseline matrix1753. Customize controls to match your actual environment1764. Assign owners and evidence requirements1775. Validate coverage — every selected TSC criterion must have at least one control178179---180181## Gap Analysis Workflow182183### Phase 1: Current State Assessment1841851. **Document existing controls** — inventory all security policies, procedures, and technical controls1862. **Map to TSC** — align existing controls to Trust Service Criteria1873. **Collect evidence samples** — gather proof that controls exist and operate1884. **Interview control owners** — verify understanding and execution189190### Phase 2: Gap Identification191192Run `gap_analyzer.py` against your current controls to identify:193194- **Missing controls** — TSC criteria with no corresponding control195- **Partially implemented** — Control exists but lacks evidence or consistency196- **Design gaps** — Control designed but does not adequately address the criteria197- **Operating gaps** (Type II only) — Control designed correctly but not operating effectively198199### Phase 3: Remediation Planning200201For each gap, define:202203| Field | Description |204|-------|-------------|205| Gap ID | Reference identifier |206| TSC Criteria | Affected criteria |207| Gap Description | What is missing or insufficient |208| Remediation Action | Specific steps to close the gap |209| Owner | Person responsible for remediation |210| Priority | Critical / High / Medium / Low |211| Target Date | Completion deadline |212| Dependencies | Other gaps or projects that must complete first |213214### Phase 4: Timeline Planning215216| Priority | Target Remediation |217|----------|--------------------|218| Critical | 2-4 weeks |219| High | 4-8 weeks |220| Medium | 8-12 weeks |221| Low | 12-16 weeks |222223---224225## Evidence Collection226227### Evidence Types by Control Category228229| Control Area | Primary Evidence | Secondary Evidence |230|--------------|-----------------|-------------------|231| Access Management | User access reviews, provisioning tickets | Role matrix, access logs |232| Change Management | Change tickets, approval records | Deployment logs, test results |233| Incident Response | Incident tickets, postmortems | Runbooks, escalation records |234| Vulnerability Management | Scan reports, patch records | Remediation timelines |235| Encryption | Configuration screenshots, certificate inventory | Key rotation logs |236| Backup & Recovery | Backup logs, DR test results | Recovery time measurements |237| Monitoring | Alert configurations, dashboard screenshots | On-call schedules, escalation records |238| Policy Management | Signed policies, version history | Training completion records |239| Vendor Management | Vendor assessments, SOC 2 reports | Contract reviews, risk registers |240241### Automation Opportunities242243| Area | Automation Approach |244|------|-------------------|245| Access reviews | Integrate IAM with ticketing (automatic quarterly review triggers) |246| Configuration evidence | Infrastructure-as-code snapshots, compliance-as-code tools |247| Vulnerability scans | Scheduled scanning with auto-generated reports |248| Change management | Git-based audit trail (commits, PRs, approvals) |249| Uptime monitoring | Automated SLA dashboards with historical data |250| Backup verification | Automated restore tests with success/failure logging |251252### Continuous Monitoring253254Move from point-in-time evidence collection to continuous compliance:2552561. **Automated evidence gathering** — scripts that pull evidence on schedule2572. **Control dashboards** — real-time visibility into control status2583. **Alert-based monitoring** — notify when a control drifts out of compliance2594. **Evidence repository** — centralized, timestamped evidence storage260261---262263## Audit Readiness Checklist264265### Pre-Audit Preparation (4-6 Weeks Before)266267- [ ] All controls documented with descriptions, owners, and frequencies268- [ ] Evidence collected for the entire observation period (Type II)269- [ ] Control matrix reviewed and gaps remediated270- [ ] Policies signed and distributed within the last 12 months271- [ ] Access reviews completed within the required frequency272- [ ] Vulnerability scans current (no critical/high unpatched > SLA)273- [ ] Incident response plan tested within the last 12 months274- [ ] Vendor risk assessments current for all subservice organizations275- [ ] DR/BCP tested and documented within the last 12 months276- [ ] Employee security training completed for all staff277278### Readiness Scoring279280| Score | Rating | Meaning |281|-------|--------|---------|282| 90-100% | Audit Ready | Proceed with confidence |283| 75-89% | Minor Gaps | Address before scheduling audit |284| 50-74% | Significant Gaps | Remediation required |285| < 50% | Not Ready | Major program build-out needed |286287### Common Audit Findings288289| Finding | Root Cause | Prevention |290|---------|-----------|-----------|291| Incomplete access reviews | Manual process, no reminders | Automate quarterly review triggers |292| Missing change approvals | Emergency changes bypass process | Define emergency change procedure with post-hoc approval |293| Stale vulnerability scans | Scanner misconfigured | Automated weekly scans with alerting |294| Policy not acknowledged | No tracking mechanism | Annual e-signature workflow |295| Missing vendor assessments | No vendor inventory | Maintain vendor register with review schedule |296297---298299## Vendor Management300301### Third-Party Risk Assessment302303Every vendor that accesses, stores, or processes customer data must be assessed:3043051. **Vendor inventory** — maintain a register of all service providers3062. **Risk classification** — categorize vendors by data access level3073. **Due diligence** — collect SOC 2 reports, security questionnaires, certifications3084. **Contractual protections** — ensure DPAs, security requirements, breach notification clauses3095. **Ongoing monitoring** — annual reassessment, continuous news monitoring310311### Vendor Risk Tiers312313| Tier | Data Access | Assessment Frequency | Requirements |314|------|-------------|---------------------|-------------|315| Critical | Processes/stores customer data | Annual + continuous monitoring | SOC 2 Type II, penetration test, security review |316| High | Accesses customer environment | Annual | SOC 2 Type II or equivalent, questionnaire |317| Medium | Indirect access, support tools | Annual questionnaire | Security certifications, questionnaire |318| Low | No data access | Biennial questionnaire | Basic security questionnaire |319320### Subservice Organizations321322When your SOC 2 report relies on controls at a subservice organization (e.g., AWS, GCP, Azure):323324- **Inclusive method** — your report covers the subservice org's controls (requires their cooperation)325- **Carve-out method** — your report excludes their controls but references their SOC 2 report326- Most companies use **carve-out** and include complementary user entity controls (CUECs)327328---329330## Continuous Compliance331332### From Point-in-Time to Continuous333334| Aspect | Point-in-Time | Continuous |335|--------|---------------|-----------|336| Evidence collection | Manual, before audit | Automated, ongoing |337| Control monitoring | Periodic review | Real-time dashboards |338| Drift detection | Found during audit | Alert-based, immediate |339| Remediation | Reactive | Proactive |340| Audit preparation | 4-8 week scramble | Always ready |341342### Implementation Steps3433441. **Automate evidence gathering** — cron jobs, API integrations, IaC snapshots3452. **Build control dashboards** — aggregate control status into a single view3463. **Configure drift alerts** — notify when controls fall out of compliance3474. **Establish review cadence** — weekly control owner check-ins, monthly steering3485. **Maintain evidence repository** — centralized, timestamped, auditor-accessible349350### Annual Re-Assessment Cycle351352| Quarter | Activities |353|---------|-----------|354| Q1 | Annual risk assessment, policy refresh, vendor reassessment launch |355| Q2 | Internal control testing, remediation of findings |356| Q3 | Pre-audit readiness review, evidence completeness check |357| Q4 | External audit, management assertion, report distribution |358359---360361## Anti-Patterns362363| Anti-Pattern | Why It Fails | Better Approach |364|--------------|-------------|----------------|365| Point-in-time compliance | Controls degrade between audits; gaps found during audit | Implement continuous monitoring and automated evidence |366| Manual evidence collection | Time-consuming, inconsistent, error-prone | Automate with scripts, IaC, and compliance platforms |367| Missing vendor assessments | Auditors flag incomplete vendor due diligence | Maintain vendor register with risk-tiered assessment schedule |368| Copy-paste policies | Generic policies don't match actual operations | Tailor policies to your actual environment and technology stack |369| Security theater | Controls exist on paper but aren't followed | Verify operating effectiveness; build controls into workflows |370| Skipping Type I | Jumping to Type II without foundational readiness | Start with Type I to validate control design before observation |371| Over-scoping TSC | Including all 5 categories when only Security is needed | Select categories based on actual customer/business requirements |372| Treating audit as a project | Compliance degrades after the report is issued | Build compliance into daily operations and engineering culture |373374---375376## Tools377378### Control Matrix Builder379380Generates a SOC 2 control matrix from selected TSC categories.381382```bash383# Generate full security matrix in markdown384python scripts/control_matrix_builder.py --categories security --format md385386# Generate matrix for multiple categories as JSON387python scripts/control_matrix_builder.py --categories security,availability,confidentiality --format json388389# All categories, CSV output390python scripts/control_matrix_builder.py --categories security,availability,confidentiality,processing-integrity,privacy --format csv391```392393### Evidence Tracker394395Tracks evidence collection status per control.396397```bash398# Check evidence status from a control matrix399python scripts/evidence_tracker.py --matrix controls.json --status400401# JSON output for integration402python scripts/evidence_tracker.py --matrix controls.json --status --json403```404405### Gap Analyzer406407Analyzes current controls against SOC 2 requirements and identifies gaps.408409```bash410# Type I gap analysis411python scripts/gap_analyzer.py --controls current_controls.json --type type1412413# Type II gap analysis (includes operating effectiveness)414python scripts/gap_analyzer.py --controls current_controls.json --type type2 --json415```416417---418419## References420421- [Trust Service Criteria Reference](references/trust_service_criteria.md) — All 5 TSC categories with sub-criteria, control objectives, and evidence examples422- [Evidence Collection Guide](references/evidence_collection_guide.md) — Evidence types per control, automation tools, documentation requirements423- [Type I vs Type II Comparison](references/type1_vs_type2.md) — Detailed comparison, timeline, cost analysis, and upgrade path424425---426427## Cross-References428429- **[gdpr-dsgvo-expert](../gdpr-dsgvo-expert/SKILL.md)** — SOC 2 Privacy criteria overlaps significantly with GDPR requirements; use together when processing EU personal data430- **[information-security-manager-iso27001](../information-security-manager-iso27001/SKILL.md)** — ISO 27001 Annex A controls map closely to SOC 2 Security criteria; organizations pursuing both can share evidence431- **[isms-audit-expert](../isms-audit-expert/SKILL.md)** — Audit methodology and finding management patterns transfer directly to SOC 2 audit preparation