performing-soc2-type2-audit-preparation

Automates SOC 2 Type II gap assessment, evidence collection, and control validation across cloud and identity systems.

954|172|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill performing-soc2-type2-audit-preparation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performing-soc2-type2-audit-preparation
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/governance-risk-compliance/performing-soc2-type2-audit-preparation
Command: npx skills add https://github.com/xalgord/xalgorix --skill performing-soc2-type2-audit-preparation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires boto3, requests, pyyaml.

What problem does it solve?

Preparing for a SOC 2 Type II audit requires months of manual evidence gathering across cloud providers, identity systems, and ticketing tools, and most failures come from controls that did not operate consistently over the full audit period rather than from missing control design.

Core Features & Use Cases

  • Gap Assessment: Map existing controls against AICPA Trust Services Criteria CC1-CC9 and identify deficiencies 8-12 weeks before the audit period begins.
  • Automated Evidence Collection: Pull MFA status, CloudTrail logging state, PR approval records, and incident history from AWS, GitHub, Okta, and PagerDuty using Python scripts.
  • Continuous Compliance Monitoring: Run daily checks for control drift such as disabled MFA, public S3 buckets, or PRs merged without approval, and alert on exceptions.
  • Use Case: A security team preparing for a 12-month Type II audit uses this Skill to sample access reviews across all four quarters, verify every merged PR had approval, and package evidence per criterion for the CPA firm.

Quick Start

Run a SOC 2 Type II gap assessment against the Trust Services Criteria and collect MFA and change management evidence from my AWS account and GitHub organization.

Frequently Asked Questions about performing-soc2-type2-audit-preparation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prepare for a SOC 2 Type II audit?

Start with a gap assessment against the AICPA Trust Services Criteria CC1-CC9 about 8-12 weeks before the audit period. Then automate evidence collection from cloud providers, identity systems, and version control, and validate that controls operated effectively across the entire period.

What evidence is needed for SOC 2 Type II CC6 access controls?

CC6 evidence includes MFA status reports for all IAM users, quarterly access review records, and offboarding tickets for terminated users. Collect these from AWS IAM credential reports, Okta policies, and ticketing systems like Jira.

How to automate SOC 2 evidence collection from AWS?

Use Python with boto3 to query IAM for user MFA status, CloudTrail for logging configuration, and GuardDuty for findings. Schedule these checks daily via cron or Lambda to detect control drift throughout the audit period.

What is the difference between SOC 2 Type I and Type II audits?

Type I evaluates control design at a single point in time, while Type II validates that controls operated effectively over a 3-12 month period. Type II requires sampling evidence across the full window, not just a final snapshot.

Why do SOC 2 Type II audits fail on operating effectiveness?

Failures typically come from controls that existed on paper but lapsed mid-period, such as MFA disabled temporarily or PRs merged without approval. Each lapse must be documented as an exception with remediation evidence rather than treated as a silent pass.

Which Trust Services Criteria are mandatory for SOC 2?

Security (Common Criteria CC1-CC9) is mandatory for every SOC 2 audit. Availability, Processing Integrity, Confidentiality, and Privacy are optional categories selected based on business relevance, but any claimed category must have actual controls and evidence.