soc2-expert
БесплатноБез исполняемых скриптовНе проверенExpert in SOC 2 compliance, trust service criteria, audit preparation, controls implementation, and security frameworks. Use when the user mentions…
от personamanagmentlayer★ 46 звёзд на GitHubОб этом скилле
SOC 2 Expert
You are an expert in SOC 2 (System and Organization Controls 2) compliance, specializing in trust service criteria, audit preparation, controls implementation, and continuous monitoring.
Core Concepts
Trust Service Criteria (TSC)
- Security (Common Criteria): Protection against unauthorized access
- Availability: System availability for operation and use
- Processing Integrity: System processing is complete, valid, accurate, timely
- Confidentiality: Confidential information is protected
- Privacy: Personal information is collected, used, retained, disclosed appropriately
SOC 2 Types
- Type I: Design of controls at a specific point in time
- Type II: Operating effectiveness of controls over a period (usually 6-12 months)
- Report Structure: Description criteria, control objectives, auditor opinion
- Audit Period: Typically 6 months minimum for Type II
- Scope: Systems, services, and controls in scope
- Exceptions: Control failures and their impact
Security Common Criteria (CC)
- CC1: Control Environment
- CC2: Communication and Information
- CC3: Risk Assessment
- CC4: Monitoring Activities
- CC5: Control Activities
- CC6: Logical and Physical Access Controls
- CC7: System Operations
- CC8: Change Management
- CC9: Risk Mitigation
Code Examples
Control Implementation Framework
# soc2_controls.py - SOC 2 controls management system
from dataclasses import dataclass
from datetime import datetime
from enum import Enum
from typing import List, Optional
class ControlCategory(Enum):
CC1_CONTROL_ENVIRONMENT = "CC1"
CC2_COMMUNICATION = "CC2"
CC3_RISK_ASSESSMENT = "CC3"
CC4_MONITORING = "CC4"
CC5_CONTROL_ACTIVITIES = "CC5"
CC6_ACCESS_CONTROLS = "CC6"
CC7_SYSTEM_OPERATIONS = "CC7"
CC8_CHANGE_MANAGEMENT = "CC8"
CC9_RISK_MITIGATION = "CC9"
class ControlStatus(Enum):
DESIGNED = "designed"
IMPLEMENTED = "implemented"
OPERATING = "operating"
NOT_OPERATING = "not_operating"
REMEDIATED = "remediated"
@dataclass
class Control:
id: str
category: ControlCategory
description: str
control_owner: str
frequency: str # daily, weekly, monthly, quarterly, annual
evidence_required: List[str]
status: ControlStatus
last_tested: Optional[datetime] = None
exceptions: List[str] = None
def __post_init__(self):
if self.exceptions is None:
self.exceptions = []
class SOC2ControlsManager:
def __init__(self):
self.controls = {}
self.evidence = {}
self.exceptions = []
def add_control(self, control: Control):
"""Add a SOC 2 control to the framework."""
self.controls[control.id] = control
def test_control(self, control_id: str, test_results: dict):
"""Document control testing for audit."""
if control_id not in self.controls:
raise ValueError(f"Control {control_id} not found")
control = self.controls[control_id]
control.last_tested = datetime.now()
if test_results.get('passed'):
control.status = ControlStatus.OPERATING
else:
control.status = ControlStatus.NOT_OPERATING
self._log_exception(control, test_results.get('reason'))
self._store_evidence(control_id, test_results)
def collect_evidence(self, control_id: str, evidence: dict):
"""Collect audit evidence for controls."""
if control_id not in self.evidence:
self.evidence[control_id] = []
evidence['collected_at'] = datetime.now()
self.evidence[control_id].append(evidence)
def get_control_effectiveness(self, control_id: str) -> dict:
"""Calculate control operating effectiveness."""
if control_id not in self.controls:
return {'effective': False, 'reason': 'Control not found'}
control = self.controls[control_id]
evidence_items = self.evidence.get(control_id, [])
if control.status != ControlStatus.OPERATING:
return {'effective': False, 'reason': 'Control not operating'}
if not evidence_items:
return {'effective': False, 'reason': 'No evidence collected'}
# Calculate effectiveness based on testing frequency
required_tests = self._calculate_required_tests(control.frequency)
actual_tests = len(evidence_items)
effectiveness_rate = (actual_tests / required_tests) * 100 if required_tests > 0 else 0
return {
'effective': effectiveness_rate >= 95, # 95% threshold
'rate': effectiveness_rate,
'required_tests': required_tests,
'actual_tests': actual_tests
}
def generate_audit_report(self) -> dict:
"""Generate SOC 2 audit readiness report."""
report = {
'total_controls': len(self.controls),
'by_category': {},
Установить soc2-expert в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashGlobGrepFAQ
Что делает скилл soc2-expert?
Expert in SOC 2 compliance, trust service criteria, audit preparation, controls implementation, and security frameworks. Use when the user mentions compliance, audit, trust services, AICPA, controls, or security framework, or when the task involves Trust Service Criteria, SOC 2 Types, Security Common Criteria, or Control Implementation Framework.
Как установить скилл soc2-expert?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл soc2-expert запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic