본문으로 건너뛰기
cccskills
무료GitHub에 공개

soc2-compliance

SOC2 Type II compliance - Trust Service Criteria, access controls, audit logging, change management, incident response, evidence collection

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md11.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

SOC2 Type II Compliance

Trust Service Criteria (TSC)

1. Security (Common Criteria - CC)

ControlRequirementImplementation
CC1.1COSO principlesDocumented security policies
CC2.1Information communicationSecurity awareness training
CC3.1Risk assessmentAnnual risk assessment process
CC5.1Control activitiesTechnical + administrative controls
CC6.1Logical accessRBAC, MFA, least privilege
CC6.2Auth mechanismsSSO, password policy, key rotation
CC6.3Access revocationAutomated deprovisioning
CC7.1Threat detectionIDS/IPS, SIEM, vulnerability scanning
CC7.2System monitoringReal-time alerting, log aggregation
CC7.3Incident evaluationSeverity classification, escalation
CC7.4Incident responseDocumented IR plan, tabletop exercises
CC8.1Change managementPR review, CI/CD gates, rollback plan
CC9.1Risk mitigationBusiness continuity, DR plan

2. Availability (A)

  • SLA definitions (99.9%, 99.99%)
  • Uptime monitoring (health checks, synthetic monitoring)
  • Disaster recovery plan tested annually
  • Capacity planning documented
  • Failover procedures tested
  • Backup verification (restore tests quarterly)

3. Processing Integrity (PI)

  • Input validation on all data entry points
  • Data processing accuracy checks
  • Error handling and correction procedures
  • Output reconciliation
  • Transaction logging with checksums

4. Confidentiality (C)

  • Data classification policy (Public, Internal, Confidential, Restricted)
  • Encryption at rest (AES-256)
  • Encryption in transit (TLS 1.2+)
  • Key management procedures (rotation, revocation)
  • Confidential data access logging
  • NDA tracking for third parties

5. Privacy (P)

  • Privacy notice published
  • Consent collection mechanism
  • Data subject request handling (30 gun)
  • Data retention and disposal schedule
  • Third-party data sharing agreements

Access Control Checklist

Authentication

// MFA enforcement middleware
async function requireMFA(req: Request, res: Response, next: NextFunction) {
  const user = req.user;
  if (!user) return res.status(401).json({ error: 'Unauthenticated' });

  if (!user.mfaVerified) {
    await auditLog({
      action: 'auth.mfa.required',
      actor: user.id,
      resource: req.path,
      result: 'blocked',
    });
    return res.status(403).json({ error: 'MFA verification required' });
  }
  next();
}

Authorization (RBAC)

interface Permission {
  resource: string;
  action: 'read' | 'write' | 'delete' | 'admin';
}

interface Role {
  name: string;
  permissions: Permission[];
}

function checkPermission(user: User, resource: string, action: string): boolean {
  const role = getRoleByName(user.role);
  const hasPermission = role.permissions.some(
    (p) => p.resource === resource && p.action === action
  );

  auditLog({
    action: `authz.${action}.${hasPermission ? 'granted' : 'denied'}`,
    actor: user.id,
    resource,
  });

  return hasPermission;
}

Access Review Checklist

  • Quarterly access reviews for all systems
  • Terminated employee access revoked within 24 hours
  • Privileged access requires manager approval
  • Service account inventory maintained
  • API key rotation schedule (90 gun max)
  • SSH key inventory and rotation

Audit Logging Requirements

What to Log (ZORUNLU)

Event CategoryExamplesRetention
AuthenticationLogin, logout, MFA, password reset1 yil
AuthorizationPermission grants, denials, role changes1 yil
Data accessPII reads, exports, downloads1 yil
Data modificationCreate, update, delete operations1 yil
System eventsConfig changes, deployments, restarts1 yil
Admin actionsUser management, policy changes3 yil

Log Format

interface AuditLogEntry {
  id: string;               // UUID
  timestamp: string;         // ISO 8601
  action: string;           // 'user.login.success'
  actor: {
    id: string;
    email: string;
    ip: string;
    userAgent: string;
  };
  resource: {
    type: string;           // 'user', 'document', 'config'
    id: string;
    name?: string;
  };
  result: 'success' | 'failure' | 'error';
  details?: Record<string, unknown>;
  correlationId?: string;   // Request tracing
}

async function writeAuditLog(entry: AuditLogEntry): Promise<void> {
  // Append-only, tamper-evident storage
  await auditStore.append({
    ...entry,
    hash: computeHash(entry),  // Chain hash for integrity
  });
}

Anti-Patterns

Anti-PatternNeden YanlisDogru Yol
Logging PII in plaintextData exposure riskiMask/hash sensitive fields
Mutable audit logsTampering riskiAppend-only, immutable store
No correlation IDTrace edilemezHer request'e UUID ata
Missing failure logsSaldiri tespiti zorlasiyorBasarisiz denemeleri de logla
Client-side only loggingManipule edilebilirServer-side zorunlu

Change Management

Change Request Template

## Change Request

**Requester:** [isim]
**Date:** [tarih]
**Priority:** [P0-P3]
**Type:** [Standard | Emergency | Normal]

### Description
[Ne degisecek]

### Impact Assessment
- Affected systems: [liste]
- Affected users: [kac kisi, hangi roller]
- Risk level: [Low | Medium | High | Critical]
- Rollback plan: [nasil geri alinir]

### Approval
- [ ] Engineering lead
- [ ] Security review (High/Critical risk)
- [ ] Business owner (user-facing changes)

### Implementation
- [ ] Changes tested in staging
- [ ] Monitoring dashboards checked
- [ ] Rollback procedure verified
- [ ] Post-deployment verification

CI/CD Gates

# SOC2 compliant pipeline
deployment:
  stages:
    - lint-and-test
    - security-scan
    - code-review-approval    # Min 1 reviewer
    - staging-deploy
    - staging-verification
    - production-approval     # Manual gate
    - production-deploy
    - post-deploy-verification

  rules:
    - require_code_review: true
    - require_passing_tests: true
    - require_security_scan: true
    - no_direct_push_to_main: true
    - branch_protection: true

Incident Response Plan

Severity Classification

SeverityDefinitionResponse TimeExamples
SEV-1Service down, data breach15 minProduction outage, unauthorized access
SEV-2Major degradation1 saatFeature broken, performance issue
SEV-3Minor impact4 saatNon-critical bug, cosmetic issue
SEV-4No user impactNext business dayInternal tool issue

Response Workflow

1. DETECT    → Monitoring alert / user report
2. TRIAGE    → Classify severity, assign IC (Incident Commander)
3. CONTAIN   → Stop the bleeding (isolate, rollback, block)
4. ERADICATE → Root cause fix
5. RECOVER   → Restore normal operations
6. REVIEW    → Post-incident review within 48 saat
7. IMPROVE   → Action items tracked to completion

Post-Incident Review Template

## Post-Incident Review

**Incident:** [INC-XXXX]
**Date:** [tarih]
**Duration:** [suresi]
**Severity:** [SEV-1/2/3/4]
**IC:** [isim]

### Timeline
- HH:MM - Event detected
- HH:MM - IC assigned
- HH:MM - Root cause identified
- HH:MM - Fix deployed
- HH:MM - Service restored

### Root Cause
[Detayli aciklama]

### Impact
- Users affected: [sayi]
- Duration: [sure]
- Data impact: [varsa]

### Action Items
- [ ] [Action 1] - Owner: [isim] - Due: [tarih]
- [ ] [Action 2] - Owner: [isim] - Due: [tarih]

### Lessons Learned
[Ne ogrendi]

Evidence Collection Guide

Continuous Evidence Collection

Evidence TypeSourceFrequencyTool
Access reviewsIAM providerQuarterlyOkta/Auth0 export
Change logsGit, CI/CDContinuousGitHub audit log
Security scansSAST/DASTPer deploySnyk, SonarQube
Penetration testsExternal auditorAnnualReport PDF
Training recordsLMSAnnualCompletion certs
Incident reportsIncident trackerPer incidentPagerDuty, Jira
Backup testsDR runbookQuarterlyRestore verification
Uptime metricsMonitoringContinuousDatadog, Grafana
Vulnerability patchesDependency managerContinuousDependabot, Renovate

Evidence Automation

// Automated evidence collector
async function collectMonthlyEvidence(): Promise<EvidencePackage> {
  const [accessLogs, changeLog, securityScans, uptimeMetrics] = await Promise.all([
    fetchAccessReviewReport(),
    fetchGitChangeLog(),
    fetchSecurityScanResults(),
    fetchUptimeMetrics(),
  ]);

  return {
    period: getCurrentMonth(),
    accessReview: accessLogs,
    changeManagement: changeLog,
    securityScanning: securityScans,
    availability: uptimeMetrics,
    generatedAt: new Date().toISOString(),
  };
}

Common SOC2 Findings & Fixes

FindingRiskFix
No MFA for admin accountsHighEnable MFA for all privileged users
Missing access reviewsMediumImplement quarterly review process
No encryption at restHighEnable disk/database encryption
Inadequate loggingMediumImplement centralized audit logging
No change managementHighRequire PR reviews, approval gates
Missing incident response planHighDocument and test IR procedures
No vulnerability scanningMediumAdd SAST/DAST to CI/CD
Shared service accountsMediumIndividual accounts with RBAC
No backup verificationMediumQuarterly restore tests
Missing security trainingLowAnnual security awareness program

SOC2 Readiness Checklist

Phase 1: Gap Assessment (2-4 hafta)

  • Current state documentation
  • Policy inventory
  • Control gap identification
  • Remediation roadmap

Phase 2: Remediation (2-6 ay)

  • Policies written and approved
  • Technical controls implemented
  • Monitoring and alerting configured
  • Evidence collection automated
  • Employee training completed

Phase 3: Type I Audit (1-2 ay)

  • Point-in-time assessment
  • Control design evaluation
  • Report received

Phase 4: Type II Audit (6-12 ay observation)

  • Operating effectiveness tested
  • Evidence provided for observation period
  • Exceptions documented and remediated
  • Final report received

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

WCAG 2.2 AA compliance, ARIA patterns, keyboard navigation, screen reader optimization

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vibeeval/vibecosystem5382026년 8월 9일 업데이트

axe-core integration, WCAG 2.2 AA checklist, keyboard navigation testing, screen reader testing, and ARIA pattern validation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vibeeval/vibecosystem5382026년 8월 9일 업데이트

Steam-style achievement system with XP, levels, streaks, and skill trees. Gamifies the development workflow. 25 achievements across 5 categories.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vibeeval/vibecosystem5382026년 8월 9일 업데이트

Framework for measuring and tracking agent response quality over time. Detects regressions before they reach production. Use when evaluating agent changes, auditing quality, or establishing performance baselines.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vibeeval/vibecosystem5382026년 8월 9일 업데이트

Agent Context Isolation

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vibeeval/vibecosystem5382026년 8월 9일 업데이트

Agent ve skill dosyalarinin yapisal dogrulamasi. Frontmatter kontrol, naming convention, zorunlu bolum kontrolu, tutarlilik denetimi. Yeni agent/skill eklendiginde veya mevcut dosyalar duzenlediginde otomatik calistirilir.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vibeeval/vibecosystem5382026년 8월 9일 업데이트

vibeeval의 스킬 모두 보기

이 스킬의 문제 신고