[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FBQ8KDXBCE55QBETQM2NJC":3,"skill-same:01M6FBQ8KDXBCE55QBETQM2NJC":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":45,"linkOnly":46,"markdownContent":47,"markdownBody":48,"frontMatter":49,"refName":28,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":6,"ownerHtmlUrl":62,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":63,"install":64,"resources":77},"01M6FBQ8KDXBCE55QBETQM2NJC","soc2-compliance",null,"Implement SOC 2 Trust Services Criteria. Configure security, availability, and processing integrity controls. Use when preparing for a SOC 2 examination.","boisenoise\u002Fskills-collections","boisenoise","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193180?v=4","01M6CDBDQK6BDN55ZMA6B6PKBM","01M6CDBDVSJ3JPTBYN26FZ7TZK",13,"MIT","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-soc2-compliance\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"compliance","soc2","soc2 compliance","configure","2026","when","for","availability","processing","controls","main","community","trust","configure security","agent-skills","use","safe","devops-security","integrity","soc","services","license","framework","change","implement","security","github","2026-11-10 10:12:30",false,"---\nname: soc2-compliance\ndescription: Implement SOC 2 Trust Services Criteria. Configure security, availability,\n  and processing integrity controls. Use when preparing for a SOC 2 examination.\ncategory: security\nrisk: safe\nsource: https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\nsource_repo: BagelHole\u002FDevOps-Security-Agent-Skills\nsource_type: community\ndate_added: '2026-09-20'\nlicense: MIT\nlicense_source: https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\u002Fblob\u002Fmain\u002FLICENSE\ncompatibility: Checklist and framework guidance; no privileged tooling required. Apply\n  controls through your own change process.\nmetadata:\n  author: devops-skills\n  version: '1.0'\n---\n\n# SOC 2 Compliance\n\nImplement SOC 2 Trust Services Criteria controls, evidence collection, and continuous compliance monitoring for Type I and Type II audits.\n\n## When to Use\n\n- Preparing for a SOC 2 Type I or Type II audit\n- Mapping existing controls to Trust Services Criteria\n- Automating evidence collection for auditor requests\n- Building continuous compliance monitoring into CI\u002FCD\n- Onboarding new services and ensuring SOC 2 control coverage\n\nSOC 2 is an independent CPA examination\u002Freport, not a product certification. Type I addresses design at a specified date; Type II also addresses operation over a period. Agree system boundaries, applicable categories, criteria and evidence period with the auditor. This abbreviated mapping omits criteria and is not a complete authoritative checklist.\n\n## Trust Services Criteria Detailed Checklist\n\n```yaml\nsecurity_common_criteria:\n  CC1_control_environment:\n    CC1.1: \"Management demonstrates commitment to integrity and ethical values\"\n    CC1.2: \"Board exercises oversight of internal controls\"\n    CC1.3: \"Management establishes structure, authority, and responsibility\"\n    CC1.4: \"Commitment to competence - hire and retain qualified personnel\"\n    CC1.5: \"Individuals are held accountable for internal control responsibilities\"\n    evidence:\n      - Code of conduct document\n      - Organizational chart\n      - Job descriptions with security responsibilities\n      - Board meeting minutes discussing security\n      - Background check policy and records\n\n  CC2_communication:\n    CC2.1: \"Entity obtains or generates relevant quality information\"\n    CC2.2: \"Entity internally communicates information including objectives and responsibilities\"\n    CC2.3: \"Entity communicates with external parties\"\n    evidence:\n      - Security awareness training records\n      - Internal security newsletters or updates\n      - Customer-facing security documentation\n      - Status page and incident communication records\n\n  CC3_risk_assessment:\n    CC3.1: \"Entity specifies objectives clearly to identify and assess risks\"\n    CC3.2: \"Entity identifies risks to achievement of objectives\"\n    CC3.3: \"Entity considers potential for fraud\"\n    CC3.4: \"Entity identifies and assesses significant changes\"\n    evidence:\n      - Annual risk assessment report\n      - Risk register with ratings and treatment plans\n      - Fraud risk assessment documentation\n      - Change management records\n\n  CC4_monitoring:\n    CC4.1: \"Entity selects, develops, and performs ongoing\u002Fseparate evaluations\"\n    CC4.2: \"Entity evaluates and communicates internal control deficiencies\"\n    evidence:\n      - Continuous monitoring dashboard screenshots\n      - Internal audit reports\n      - Vulnerability scan results\n      - Penetration test reports\n\n  CC5_control_activities:\n    CC5.1: \"Entity selects and develops control activities to mitigate risks\"\n    CC5.2: \"Entity selects and develops technology-based controls\"\n    CC5.3: \"Entity deploys control activities through policies and procedures\"\n    evidence:\n      - Information security policy\n      - Access control procedures\n      - Change management procedures\n      - Encryption standards documentation\n\n  CC6_logical_access:\n    CC6.1: \"Logical access security over protected information assets\"\n    CC6.2: \"Prior to access, users are registered and authorized\"\n    CC6.3: \"Access to data, software, functions, and other IT resources is authorized and modified\"\n    CC6.6: \"Logical access security measures against threats from outside system boundaries\"\n    CC6.7: \"Transmission of data between parties is protected\"\n    CC6.8: \"Controls to prevent or detect unauthorized or malicious software\"\n    evidence:\n      - IAM credential report\n      - MFA enforcement configuration\n      - Access review completion records\n      - Firewall and WAF configurations\n      - TLS\u002Fencryption configurations\n      - Endpoint protection deployment records\n\n  CC7_system_operations:\n    CC7.1: \"Detect anomalies and potential security incidents\"\n    CC7.2: \"Monitor system components for anomalies\"\n    CC7.3: \"Evaluate detected events and determine incidents\"\n    CC7.4: \"Respond to identified security incidents\"\n    CC7.5: \"Identify and remediate security incidents\"\n    evidence:\n      - SIEM alert rules and dashboards\n      - Monitoring configuration (CloudWatch, Datadog, etc.)\n      - Incident response plan\n      - Incident tickets and post-mortems\n\n  CC8_change_management:\n    CC8.1: \"Entity authorizes, designs, develops, configures, documents, tests, approves, and implements changes\"\n    evidence:\n      - Change management policy\n      - Pull request approval requirements\n      - CI\u002FCD pipeline configurations\n      - Deployment records with approvals\n\n  CC9_risk_mitigation:\n    CC9.1: \"Entity identifies, selects, and develops risk mitigation activities\"\n    CC9.2: \"Entity assesses and manages risks associated with vendors\"\n    evidence:\n      - Risk treatment plans\n      - Vendor assessment records\n      - Business associate agreements\n      - Insurance certificates\n\navailability_criteria:\n  A1.1: \"System processing capacity and availability are maintained\"\n  A1.2: \"Environmental protections and recovery measures\"\n  A1.3: \"Recovery plan procedures to support system availability\"\n  evidence:\n    - Uptime SLA documentation\n    - Capacity monitoring dashboards\n    - Disaster recovery plan\n    - DR test results\n    - Backup verification records\n\nprocessing_integrity_criteria:\n  PI1.1: \"Entity obtains or generates, uses, and communicates quality information\"\n  evidence:\n    - Input validation procedures\n    - Data processing accuracy checks\n    - Error handling and retry logic documentation\n    - Output reconciliation records\n\nconfidentiality_criteria:\n  C1.1: \"Entity identifies and maintains confidential information\"\n  C1.2: \"Entity disposes of confidential information\"\n  evidence:\n    - Data classification policy\n    - Encryption configurations\n    - Data retention and destruction policies\n    - Secure disposal records\n\nprivacy_criteria:\n  P1-P8: \"Privacy notice, choice, collection, use, disclosure, access, quality, monitoring\"\n  evidence:\n    - Privacy policy (published)\n    - Consent management records\n    - Data processing inventory\n    - DSAR handling procedures\n```\n\n## Tool Mappings for Control Evidence\n\n```yaml\ncontrol_to_tool_mapping:\n  CC6.1_logical_access:\n    aws:\n      - IAM credential report (aws iam generate-credential-report)\n      - IAM Access Analyzer findings\n      - AWS SSO configuration\n      - GuardDuty findings\n    azure:\n      - Azure AD sign-in logs\n      - Conditional Access policies\n      - PIM role assignments\n    github:\n      - Organization member list and roles\n      - Repository access permissions\n      - Branch protection rules\n    okta:\n      - User status report\n      - MFA enrollment report\n      - Application assignment report\n\n  CC7.2_monitoring:\n    tools:\n      - CloudWatch \u002F Azure Monitor \u002F Cloud Monitoring dashboards\n      - Datadog \u002F New Relic \u002F Grafana alert configurations\n      - SIEM (Splunk, Elastic, Sentinel) saved searches\n      - PagerDuty \u002F OpsGenie escalation policies\n    evidence_format:\n      - Dashboard screenshots with date stamps\n      - Alert rule configuration exports\n      - Incident response records from ticketing system\n\n  CC8.1_change_management:\n    tools:\n      - GitHub\u002FGitLab PR merge requirements\n      - CI\u002FCD pipeline configurations (GitHub Actions, Jenkins)\n      - Terraform plan outputs\n      - Deployment logs\n    evidence_format:\n      - PR with approvals and CI checks\n      - Deployment audit trail\n      - Change advisory board meeting notes (if applicable)\n```\n\n## Evidence Collection Automation\n\n```bash\n#!\u002Fusr\u002Fbin\u002Fenv bash\n# collect-soc2-evidence.sh - Automated SOC 2 evidence collection\n# Run monthly or before audit requests in the approved accounts\u002Fregions only.\nset -euo pipefail\numask 077\n\nEVIDENCE_DIR=\".\u002Fsoc2-evidence\u002F$(date +%Y-%m)\"\nmkdir -p \"$EVIDENCE_DIR\"\n\necho \"=== CC6.1 - Logical Access Evidence ===\"\n\n# AWS IAM credential report\naws iam generate-credential-report\nsleep 10\naws iam get-credential-report --output text --query Content | \\\n  base64 -d > \"$EVIDENCE_DIR\u002Faws-iam-credential-report.csv\"\n\n# AWS IAM Access Analyzer findings\naws accessanalyzer list-findings \\\n  --analyzer-arn \"arn:aws:access-analyzer:us-east-1:123456789012:analyzer\u002Forg-analyzer\" \\\n  --filter '{\"status\": {\"eq\": [\"ACTIVE\"]}}' \\\n  > \"$EVIDENCE_DIR\u002Faccess-analyzer-findings.json\"\n\n# MFA enforcement status\naws iam list-users --query 'Users[*].UserName' --output text | \\\n  tr '\\t' '\\n' | while read -r user; do\n    mfa=$(aws iam list-mfa-devices --user-name \"$user\" --query 'MFADevices[0].SerialNumber' --output text)\n    echo \"$user,$mfa\"\n  done > \"$EVIDENCE_DIR\u002Fmfa-status.csv\"\n\n# GitHub organization membership only; this endpoint does not establish member\u002Fadmin roles.\n# Collect authorized per-member membership-role evidence separately; never default unknown roles to member.\ngh api orgs\u002FYOUR_ORG\u002Fmembers --paginate --jq '.[] | [.login] | @csv' \\\n  > \"$EVIDENCE_DIR\u002Fgithub-org-members.csv\"\n\n# GitHub branch protection rules\nfor repo in $(gh repo list YOUR_ORG --json name -q '.[].name'); do\n  gh api repos\u002FYOUR_ORG\u002F$repo\u002Fbranches\u002Fmain\u002Fprotection \\\n    > \"$EVIDENCE_DIR\u002Fbranch-protection-$repo.json\"\ndone\n\necho \"=== CC7.2 - Monitoring Evidence ===\"\n\n# CloudTrail status\naws cloudtrail get-trail-status --name org-audit-trail \\\n  > \"$EVIDENCE_DIR\u002Fcloudtrail-status.json\"\n\n# Active CloudWatch alarms\naws cloudwatch describe-alarms --state-value ALARM \\\n  > \"$EVIDENCE_DIR\u002Factive-alarms.json\"\n\n# GuardDuty findings summary\naws guardduty list-findings --detector-id DETECTOR_ID \\\n  --finding-criteria '{\"criterion\":{\"severity\":{\"gte\":4}}}' \\\n  > \"$EVIDENCE_DIR\u002Fguardduty-findings.json\"\n\necho \"=== CC8.1 - Change Management Evidence ===\"\n\n# Recent deployments (GitHub Actions)\ngh run list --repo YOUR_ORG\u002FYOUR_REPO --limit 50 --json conclusion,createdAt,displayTitle,headBranch \\\n  > \"$EVIDENCE_DIR\u002Frecent-deployments.json\"\n\n# Pull requests merged in audit period\ngh pr list --repo YOUR_ORG\u002FYOUR_REPO --state merged --limit 100 \\\n  --json number,title,author,mergedBy,mergedAt,reviews \\\n  > \"$EVIDENCE_DIR\u002Fmerged-prs.json\"\n\necho \"=== A1 - Availability Evidence ===\"\n\n# Backup status\naws rds describe-db-snapshots --db-instance-identifier prod-db \\\n  --query 'DBSnapshots | sort_by(@, &SnapshotCreateTime) | [-5:]' \\\n  > \"$EVIDENCE_DIR\u002Frds-backup-snapshots.json\"\n\n# S3 replication status\naws s3api get-bucket-replication --bucket prod-data-bucket \\\n  > \"$EVIDENCE_DIR\u002Fs3-replication-config.json\"\n\necho \"Evidence collected in $EVIDENCE_DIR\"\ntar -czf \"$EVIDENCE_DIR.tar.gz\" \"$EVIDENCE_DIR\"\necho \"Archive: $EVIDENCE_DIR.tar.gz\"\n```\n\nThe examples collect partial evidence, not proof of compliance. Preserve command failures as gaps, use bounded readiness retries for IAM credential-report generation instead of assuming a fixed sleep succeeds, and record collection time\u002Faccount\u002Fregion\u002Ftool version. API limits and audit-period filters must be expanded for the full population; `--limit 100` and the latest five backups are samples. Do not infer IAM Identity Center MFA, access-key usage, root security, GuardDuty coverage or actual backup restorability from these snippets. Evidence contains sensitive identity\u002Fsecurity data: encrypt storage and transfer, restrict auditor access, and follow agreed retention.\n\n## Audit Preparation Timeline\n\n```yaml\naudit_prep_timeline:\n  12_months_before:\n    - Select auditor firm and sign engagement letter\n    - Perform gap assessment against TSC criteria\n    - Remediate identified control gaps\n    - Begin formal evidence collection cadence\n\n  6_months_before:\n    - Conduct internal readiness assessment\n    - Verify all controls are operating effectively\n    - Complete risk assessment and update risk register\n    - Ensure vendor assessments are current\n    - Test disaster recovery procedures\n\n  3_months_before:\n    - Run automated evidence collection and verify completeness\n    - Conduct access review and remediate findings\n    - Review and update all policies and procedures\n    - Perform vulnerability scan and penetration test\n    - Confirm all training records are current\n\n  1_month_before:\n    - Prepare evidence request list responses\n    - Organize evidence into auditor-friendly structure\n    - Brief key personnel on audit interviews\n    - Verify monitoring dashboards show healthy state\n    - Confirm incident response records are complete\n\n  during_audit:\n    - Designate audit liaison for request management\n    - Provide timely evidence and clarifications\n    - Track open auditor questions\n    - Escalate issues to control owners promptly\n\n  after_audit:\n    - Review draft report and provide management response\n    - Create remediation plan for any exceptions\n    - Communicate results to stakeholders\n    - Update controls and processes based on findings\n    - Begin next audit period evidence collection\n```\n\n## Continuous Compliance Monitoring\n\n```yaml\n# GitHub Actions workflow for continuous SOC 2 checks\nname: SOC2 Compliance Checks\non:\n  schedule:\n    - cron: '0 6 * * 1'  # Weekly on Monday\n  workflow_dispatch:\n\njobs:\n  access-review:\n    runs-on: ubuntu-latest\n    steps:\n      # Configure approved AWS OIDC credentials and read-only IAM permissions first.\n      # Install a pinned boto3 in the reviewed runner environment first.\n      - name: Review credential report without printing identities\n        run: |\n          python - \u003C\u003C'PYTHON'\n          import boto3, csv, io, time\n          from datetime import datetime, timedelta, timezone\n          iam = boto3.client('iam')\n          for attempt in range(15):\n              if iam.generate_credential_report()['State'] == 'COMPLETE':\n                  break\n              time.sleep(2)\n          else:\n              raise RuntimeError('Credential report not ready')\n          report = iam.get_credential_report()['Content'].decode('utf-8')\n          rows = list(csv.DictReader(io.StringIO(report)))\n          missing_mfa = sum(r['password_enabled'] == 'true' and r['mfa_active'] == 'false' for r in rows)\n          threshold = datetime.now(timezone.utc) - timedelta(days=90)\n          stale = 0\n          for row in rows:\n              value = row['password_last_used']\n              if row['password_enabled'] == 'true' and value not in ('N\u002FA', 'no_information', 'not_supported'):\n                  stale += datetime.fromisoformat(value.replace('Z', '+00:00')) \u003C threshold\n          print(f'Console accounts missing MFA: {missing_mfa}; stale recorded password use: {stale}')\n          if missing_mfa:\n              raise SystemExit(1)\n          PYTHON\n\n      - name: Verify CloudTrail is logging\n        run: |\n          STATUS=$(aws cloudtrail get-trail-status --name org-audit-trail --query 'IsLogging' --output text)\n          [ \"$STATUS\" = \"True\" ] || (echo \"::error::CloudTrail logging stopped\" && exit 1)\n\n      - name: Check GuardDuty is enabled\n        run: |\n          DETECTOR=$(aws guardduty list-detectors --query 'DetectorIds[0]' --output text)\n          [ \"$DETECTOR\" != \"None\" ] || (echo \"::error::GuardDuty not enabled\" && exit 1)\n```\n\n## Best Practices\n\n- Start with a gap assessment to understand current control maturity before engaging an auditor\n- Automate evidence collection to reduce the burden of auditor requests and ensure consistency\n- Map each control to a specific tool, owner, and evidence artifact for traceability\n- Implement continuous monitoring rather than point-in-time checks for Type II readiness\n- Maintain a central evidence repository organized by control criteria\n- Conduct quarterly internal reviews to catch control drift before the audit period\n- Keep policies living documents with version history and annual review dates\n- Train all employees on their role in maintaining SOC 2 controls\n- Use the audit preparation timeline to avoid last-minute scrambling\n- Treat each auditor exception as an improvement opportunity rather than a failure\n\n## Limitations\n\n- Guidance and checklists only; not legal advice and not a substitute for a qualified auditor.\n- Docs-only import: upstream templates and scripts not bundled.\n\n### Example\n\n```markdown\nMap this skill's control checklist to our current evidence and list gaps.\n```\n\n> Adapted from [BagelHole\u002FDevOps-Security-Agent-Skills](https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills) (MIT); frontmatter, When to Use\u002FLimitations, and safety boundaries added for upstream compliance. Docs-only import: helper scripts and templates not bundled.\n\nCredential report dates\u002Fsentinels and aggregate counts need account-level review; federated identities and access keys require separate controls. Credentials configure through approved OIDC, and only aggregate output belongs in public CI logs. The snippet uses boto3-decoded report bytes with a bounded readiness wait and a real CSV parser; it does not execute decoded content.\n","# SOC 2 Compliance\n\nImplement SOC 2 Trust Services Criteria controls, evidence collection, and continuous compliance monitoring for Type I and Type II audits.\n\n## When to Use\n\n- Preparing for a SOC 2 Type I or Type II audit\n- Mapping existing controls to Trust Services Criteria\n- Automating evidence collection for auditor requests\n- Building continuous compliance monitoring into CI\u002FCD\n- Onboarding new services and ensuring SOC 2 control coverage\n\nSOC 2 is an independent CPA examination\u002Freport, not a product certification. Type I addresses design at a specified date; Type II also addresses operation over a period. Agree system boundaries, applicable categories, criteria and evidence period with the auditor. This abbreviated mapping omits criteria and is not a complete authoritative checklist.\n\n## Trust Services Criteria Detailed Checklist\n\n```yaml\nsecurity_common_criteria:\n  CC1_control_environment:\n    CC1.1: \"Management demonstrates commitment to integrity and ethical values\"\n    CC1.2: \"Board exercises oversight of internal controls\"\n    CC1.3: \"Management establishes structure, authority, and responsibility\"\n    CC1.4: \"Commitment to competence - hire and retain qualified personnel\"\n    CC1.5: \"Individuals are held accountable for internal control responsibilities\"\n    evidence:\n      - Code of conduct document\n      - Organizational chart\n      - Job descriptions with security responsibilities\n      - Board meeting minutes discussing security\n      - Background check policy and records\n\n  CC2_communication:\n    CC2.1: \"Entity obtains or generates relevant quality information\"\n    CC2.2: \"Entity internally communicates information including objectives and responsibilities\"\n    CC2.3: \"Entity communicates with external parties\"\n    evidence:\n      - Security awareness training records\n      - Internal security newsletters or updates\n      - Customer-facing security documentation\n      - Status page and incident communication records\n\n  CC3_risk_assessment:\n    CC3.1: \"Entity specifies objectives clearly to identify and assess risks\"\n    CC3.2: \"Entity identifies risks to achievement of objectives\"\n    CC3.3: \"Entity considers potential for fraud\"\n    CC3.4: \"Entity identifies and assesses significant changes\"\n    evidence:\n      - Annual risk assessment report\n      - Risk register with ratings and treatment plans\n      - Fraud risk assessment documentation\n      - Change management records\n\n  CC4_monitoring:\n    CC4.1: \"Entity selects, develops, and performs ongoing\u002Fseparate evaluations\"\n    CC4.2: \"Entity evaluates and communicates internal control deficiencies\"\n    evidence:\n      - Continuous monitoring dashboard screenshots\n      - Internal audit reports\n      - Vulnerability scan results\n      - Penetration test reports\n\n  CC5_control_activities:\n    CC5.1: \"Entity selects and develops control activities to mitigate risks\"\n    CC5.2: \"Entity selects and develops technology-based controls\"\n    CC5.3: \"Entity deploys control activities through policies and procedures\"\n    evidence:\n      - Information security policy\n      - Access control procedures\n      - Change management procedures\n      - Encryption standards documentation\n\n  CC6_logical_access:\n    CC6.1: \"Logical access security over protected information assets\"\n    CC6.2: \"Prior to access, users are registered and authorized\"\n    CC6.3: \"Access to data, software, functions, and other IT resources is authorized and modified\"\n    CC6.6: \"Logical access security measures against threats from outside system boundaries\"\n    CC6.7: \"Transmission of data between parties is protected\"\n    CC6.8: \"Controls to prevent or detect unauthorized or malicious software\"\n    evidence:\n      - IAM credential report\n      - MFA enforcement configuration\n      - Access review completion records\n      - Firewall and WAF configurations\n      - TLS\u002Fencryption configurations\n      - Endpoint protection deployment records\n\n  CC7_system_operations:\n    CC7.1: \"Detect anomalies and potential security incidents\"\n    CC7.2: \"Monitor system components for anomalies\"\n    CC7.3: \"Evaluate detected events and determine incidents\"\n    CC7.4: \"Respond to identified security incidents\"\n    CC7.5: \"Identify and remediate security incidents\"\n    evidence:\n      - SIEM alert rules and dashboards\n      - Monitoring configuration (CloudWatch, Datadog, etc.)\n      - Incident response plan\n      - Incident tickets and post-mortems\n\n  CC8_change_management:\n    CC8.1: \"Entity authorizes, designs, develops, configures, documents, tests, approves, and implements changes\"\n    evidence:\n      - Change management policy\n      - Pull request approval requirements\n      - CI\u002FCD pipeline configurations\n      - Deployment records with approvals\n\n  CC9_risk_mitigation:\n    CC9.1: \"Entity identifies, selects, and develops risk mitigation activities\"\n    CC9.2: \"Entity assesses and manages risks associated with vendors\"\n    evidence:\n      - Risk treatment plans\n      - Vendor assessment records\n      - Business associate agreements\n      - Insurance certificates\n\navailability_criteria:\n  A1.1: \"System processing capacity and availability are maintained\"\n  A1.2: \"Environmental protections and recovery measures\"\n  A1.3: \"Recovery plan procedures to support system availability\"\n  evidence:\n    - Uptime SLA documentation\n    - Capacity monitoring dashboards\n    - Disaster recovery plan\n    - DR test results\n    - Backup verification records\n\nprocessing_integrity_criteria:\n  PI1.1: \"Entity obtains or generates, uses, and communicates quality information\"\n  evidence:\n    - Input validation procedures\n    - Data processing accuracy checks\n    - Error handling and retry logic documentation\n    - Output reconciliation records\n\nconfidentiality_criteria:\n  C1.1: \"Entity identifies and maintains confidential information\"\n  C1.2: \"Entity disposes of confidential information\"\n  evidence:\n    - Data classification policy\n    - Encryption configurations\n    - Data retention and destruction policies\n    - Secure disposal records\n\nprivacy_criteria:\n  P1-P8: \"Privacy notice, choice, collection, use, disclosure, access, quality, monitoring\"\n  evidence:\n    - Privacy policy (published)\n    - Consent management records\n    - Data processing inventory\n    - DSAR handling procedures\n```\n\n## Tool Mappings for Control Evidence\n\n```yaml\ncontrol_to_tool_mapping:\n  CC6.1_logical_access:\n    aws:\n      - IAM credential report (aws iam generate-credential-report)\n      - IAM Access Analyzer findings\n      - AWS SSO configuration\n      - GuardDuty findings\n    azure:\n      - Azure AD sign-in logs\n      - Conditional Access policies\n      - PIM role assignments\n    github:\n      - Organization member list and roles\n      - Repository access permissions\n      - Branch protection rules\n    okta:\n      - User status report\n      - MFA enrollment report\n      - Application assignment report\n\n  CC7.2_monitoring:\n    tools:\n      - CloudWatch \u002F Azure Monitor \u002F Cloud Monitoring dashboards\n      - Datadog \u002F New Relic \u002F Grafana alert configurations\n      - SIEM (Splunk, Elastic, Sentinel) saved searches\n      - PagerDuty \u002F OpsGenie escalation policies\n    evidence_format:\n      - Dashboard screenshots with date stamps\n      - Alert rule configuration exports\n      - Incident response records from ticketing system\n\n  CC8.1_change_management:\n    tools:\n      - GitHub\u002FGitLab PR merge requirements\n      - CI\u002FCD pipeline configurations (GitHub Actions, Jenkins)\n      - Terraform plan outputs\n      - Deployment logs\n    evidence_format:\n      - PR with approvals and CI checks\n      - Deployment audit trail\n      - Change advisory board meeting notes (if applicable)\n```\n\n## Evidence Collection Automation\n\n```bash\n#!\u002Fusr\u002Fbin\u002Fenv bash\n# collect-soc2-evidence.sh - Automated SOC 2 evidence collection\n# Run monthly or before audit requests in the approved accounts\u002Fregions only.\nset -euo pipefail\numask 077\n\nEVIDENCE_DIR=\".\u002Fsoc2-evidence\u002F$(date +%Y-%m)\"\nmkdir -p \"$EVIDENCE_DIR\"\n\necho \"=== CC6.1 - Logical Access Evidence ===\"\n\n# AWS IAM credential report\naws iam generate-credential-report\nsleep 10\naws iam get-credential-report --output text --query Content | \\\n  base64 -d > \"$EVIDENCE_DIR\u002Faws-iam-credential-report.csv\"\n\n# AWS IAM Access Analyzer findings\naws accessanalyzer list-findings \\\n  --analyzer-arn \"arn:aws:access-analyzer:us-east-1:123456789012:analyzer\u002Forg-analyzer\" \\\n  --filter '{\"status\": {\"eq\": [\"ACTIVE\"]}}' \\\n  > \"$EVIDENCE_DIR\u002Faccess-analyzer-findings.json\"\n\n# MFA enforcement status\naws iam list-users --query 'Users[*].UserName' --output text | \\\n  tr '\\t' '\\n' | while read -r user; do\n    mfa=$(aws iam list-mfa-devices --user-name \"$user\" --query 'MFADevices[0].SerialNumber' --output text)\n    echo \"$user,$mfa\"\n  done > \"$EVIDENCE_DIR\u002Fmfa-status.csv\"\n\n# GitHub organization membership only; this endpoint does not establish member\u002Fadmin roles.\n# Collect authorized per-member membership-role evidence separately; never default unknown roles to member.\ngh api orgs\u002FYOUR_ORG\u002Fmembers --paginate --jq '.[] | [.login] | @csv' \\\n  > \"$EVIDENCE_DIR\u002Fgithub-org-members.csv\"\n\n# GitHub branch protection rules\nfor repo in $(gh repo list YOUR_ORG --json name -q '.[].name'); do\n  gh api repos\u002FYOUR_ORG\u002F$repo\u002Fbranches\u002Fmain\u002Fprotection \\\n    > \"$EVIDENCE_DIR\u002Fbranch-protection-$repo.json\"\ndone\n\necho \"=== CC7.2 - Monitoring Evidence ===\"\n\n# CloudTrail status\naws cloudtrail get-trail-status --name org-audit-trail \\\n  > \"$EVIDENCE_DIR\u002Fcloudtrail-status.json\"\n\n# Active CloudWatch alarms\naws cloudwatch describe-alarms --state-value ALARM \\\n  > \"$EVIDENCE_DIR\u002Factive-alarms.json\"\n\n# GuardDuty findings summary\naws guardduty list-findings --detector-id DETECTOR_ID \\\n  --finding-criteria '{\"criterion\":{\"severity\":{\"gte\":4}}}' \\\n  > \"$EVIDENCE_DIR\u002Fguardduty-findings.json\"\n\necho \"=== CC8.1 - Change Management Evidence ===\"\n\n# Recent deployments (GitHub Actions)\ngh run list --repo YOUR_ORG\u002FYOUR_REPO --limit 50 --json conclusion,createdAt,displayTitle,headBranch \\\n  > \"$EVIDENCE_DIR\u002Frecent-deployments.json\"\n\n# Pull requests merged in audit period\ngh pr list --repo YOUR_ORG\u002FYOUR_REPO --state merged --limit 100 \\\n  --json number,title,author,mergedBy,mergedAt,reviews \\\n  > \"$EVIDENCE_DIR\u002Fmerged-prs.json\"\n\necho \"=== A1 - Availability Evidence ===\"\n\n# Backup status\naws rds describe-db-snapshots --db-instance-identifier prod-db \\\n  --query 'DBSnapshots | sort_by(@, &SnapshotCreateTime) | [-5:]' \\\n  > \"$EVIDENCE_DIR\u002Frds-backup-snapshots.json\"\n\n# S3 replication status\naws s3api get-bucket-replication --bucket prod-data-bucket \\\n  > \"$EVIDENCE_DIR\u002Fs3-replication-config.json\"\n\necho \"Evidence collected in $EVIDENCE_DIR\"\ntar -czf \"$EVIDENCE_DIR.tar.gz\" \"$EVIDENCE_DIR\"\necho \"Archive: $EVIDENCE_DIR.tar.gz\"\n```\n\nThe examples collect partial evidence, not proof of compliance. Preserve command failures as gaps, use bounded readiness retries for IAM credential-report generation instead of assuming a fixed sleep succeeds, and record collection time\u002Faccount\u002Fregion\u002Ftool version. API limits and audit-period filters must be expanded for the full population; `--limit 100` and the latest five backups are samples. Do not infer IAM Identity Center MFA, access-key usage, root security, GuardDuty coverage or actual backup restorability from these snippets. Evidence contains sensitive identity\u002Fsecurity data: encrypt storage and transfer, restrict auditor access, and follow agreed retention.\n\n## Audit Preparation Timeline\n\n```yaml\naudit_prep_timeline:\n  12_months_before:\n    - Select auditor firm and sign engagement letter\n    - Perform gap assessment against TSC criteria\n    - Remediate identified control gaps\n    - Begin formal evidence collection cadence\n\n  6_months_before:\n    - Conduct internal readiness assessment\n    - Verify all controls are operating effectively\n    - Complete risk assessment and update risk register\n    - Ensure vendor assessments are current\n    - Test disaster recovery procedures\n\n  3_months_before:\n    - Run automated evidence collection and verify completeness\n    - Conduct access review and remediate findings\n    - Review and update all policies and procedures\n    - Perform vulnerability scan and penetration test\n    - Confirm all training records are current\n\n  1_month_before:\n    - Prepare evidence request list responses\n    - Organize evidence into auditor-friendly structure\n    - Brief key personnel on audit interviews\n    - Verify monitoring dashboards show healthy state\n    - Confirm incident response records are complete\n\n  during_audit:\n    - Designate audit liaison for request management\n    - Provide timely evidence and clarifications\n    - Track open auditor questions\n    - Escalate issues to control owners promptly\n\n  after_audit:\n    - Review draft report and provide management response\n    - Create remediation plan for any exceptions\n    - Communicate results to stakeholders\n    - Update controls and processes based on findings\n    - Begin next audit period evidence collection\n```\n\n## Continuous Compliance Monitoring\n\n```yaml\n# GitHub Actions workflow for continuous SOC 2 checks\nname: SOC2 Compliance Checks\non:\n  schedule:\n    - cron: '0 6 * * 1'  # Weekly on Monday\n  workflow_dispatch:\n\njobs:\n  access-review:\n    runs-on: ubuntu-latest\n    steps:\n      # Configure approved AWS OIDC credentials and read-only IAM permissions first.\n      # Install a pinned boto3 in the reviewed runner environment first.\n      - name: Review credential report without printing identities\n        run: |\n          python - \u003C\u003C'PYTHON'\n          import boto3, csv, io, time\n          from datetime import datetime, timedelta, timezone\n          iam = boto3.client('iam')\n          for attempt in range(15):\n              if iam.generate_credential_report()['State'] == 'COMPLETE':\n                  break\n              time.sleep(2)\n          else:\n              raise RuntimeError('Credential report not ready')\n          report = iam.get_credential_report()['Content'].decode('utf-8')\n          rows = list(csv.DictReader(io.StringIO(report)))\n          missing_mfa = sum(r['password_enabled'] == 'true' and r['mfa_active'] == 'false' for r in rows)\n          threshold = datetime.now(timezone.utc) - timedelta(days=90)\n          stale = 0\n          for row in rows:\n              value = row['password_last_used']\n              if row['password_enabled'] == 'true' and value not in ('N\u002FA', 'no_information', 'not_supported'):\n                  stale += datetime.fromisoformat(value.replace('Z', '+00:00')) \u003C threshold\n          print(f'Console accounts missing MFA: {missing_mfa}; stale recorded password use: {stale}')\n          if missing_mfa:\n              raise SystemExit(1)\n          PYTHON\n\n      - name: Verify CloudTrail is logging\n        run: |\n          STATUS=$(aws cloudtrail get-trail-status --name org-audit-trail --query 'IsLogging' --output text)\n          [ \"$STATUS\" = \"True\" ] || (echo \"::error::CloudTrail logging stopped\" && exit 1)\n\n      - name: Check GuardDuty is enabled\n        run: |\n          DETECTOR=$(aws guardduty list-detectors --query 'DetectorIds[0]' --output text)\n          [ \"$DETECTOR\" != \"None\" ] || (echo \"::error::GuardDuty not enabled\" && exit 1)\n```\n\n## Best Practices\n\n- Start with a gap assessment to understand current control maturity before engaging an auditor\n- Automate evidence collection to reduce the burden of auditor requests and ensure consistency\n- Map each control to a specific tool, owner, and evidence artifact for traceability\n- Implement continuous monitoring rather than point-in-time checks for Type II readiness\n- Maintain a central evidence repository organized by control criteria\n- Conduct quarterly internal reviews to catch control drift before the audit period\n- Keep policies living documents with version history and annual review dates\n- Train all employees on their role in maintaining SOC 2 controls\n- Use the audit preparation timeline to avoid last-minute scrambling\n- Treat each auditor exception as an improvement opportunity rather than a failure\n\n## Limitations\n\n- Guidance and checklists only; not legal advice and not a substitute for a qualified auditor.\n- Docs-only import: upstream templates and scripts not bundled.\n\n### Example\n\n```markdown\nMap this skill's control checklist to our current evidence and list gaps.\n```\n\n> Adapted from [BagelHole\u002FDevOps-Security-Agent-Skills](https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills) (MIT); frontmatter, When to Use\u002FLimitations, and safety boundaries added for upstream compliance. Docs-only import: helper scripts and templates not bundled.\n\nCredential report dates\u002Fsentinels and aggregate counts need account-level review; federated identities and access keys require separate controls. Credentials configure through approved OIDC, and only aggregate output belongs in public CI logs. The snippet uses boto3-decoded report bytes with a bounded readiness wait and a real CSV parser; it does not execute decoded content.\n",{"name":5,"risk":34,"source":50,"license":14,"category":43,"metadata":51,"date_added":54,"description":7,"source_repo":55,"source_type":29,"compatibility":56,"license_source":57},"https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills",{"author":52,"version":53},"devops-skills","1.0","2026-09-20","BagelHole\u002FDevOps-Security-Agent-Skills","Checklist and framework guidance; no privileged tooling required. Apply controls through your own change process.","https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\u002Fblob\u002Fmain\u002FLICENSE","7bf2279c8a65758319526a721d5c4b75683aec9c","skills\u002Fantigravity-soc2-compliance",3,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections","https:\u002F\u002Fgithub.com\u002Fboisenoise","2026-11-14 14:18:11",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add boisenoise\u002Fskills-collections --skill soc2-compliance",{"tool":70,"command":71},"bunx","bunx skills add boisenoise\u002Fskills-collections --skill soc2-compliance",{"tool":73,"command":74},"pnpm","pnpm dlx skills add boisenoise\u002Fskills-collections --skill soc2-compliance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-soc2-compliance\u002FSKILL.md",true,[],[79,88,96,105,113,121],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":83,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":87},"01M7B6HREHB53EHGGVZND7DDXN","scrapely-scrape","Collect web data with ready-made Scrape.ly scrapers: Google Maps places, Amazon products, LinkedIn jobs, reviews, social posts. Use when the user wants structured data from a site.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":87},"01M7B6GDNNN4HE662KA6KPF7GW","lumify-odds","Lumify's hosted sports MCP\u002FREST API for sportsbook odds, line-movement history, public betting splits, and player props across MLB, NFL, NBA, NHL, soccer, tennis, NCAAF, NCAAB. Read-only market data.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":104},"01M743PZMJW2GEKG5J199GPSK7","sync-lipsync","Lip-sync an existing video of a real person to new audio or a typed script with sync. labs through its hosted MCP server, quoting the cost and waiting for approval first.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":104},"01M743MMN3CKTJVNRSZMB684E5","music-for-robots","Optional music-inspired creative exercise for multimodal agents. Ingests an unquantized acoustic MP3 composition by Michael Luchtan (Music For Robots) into a private temporary directory, analyzing microtiming and texture to inspire creative writing, brainstorming, or technical tasks.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":117,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":104},"01M743KC2GN5WE11BSTWSSWD8B","imagera-media","Generate or edit images, video clips, voiceovers and music through the hosted Imagera MCP server, quoting the credit cost and getting approval before each paid call.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":125,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":104},"01M743HDJNZQA8A4VT68NWGWQJ","deja-history","Search this machine's past AI coding sessions across Claude Code, Codex, Cursor, Gemini CLI and thirty-nine other agents before editing, debugging, or denying something exists.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FSKILL.md",[],[]]