Перейти к основному содержимому

SOC 2 Compliance

ProBeya's SOC 2 module provides a readiness assessment dashboard, automated evidence collection, and control mapping against the AICPA Trust Service Criteria (Security, Availability, Processing Integrity, Confidentiality, Privacy).

Overview​

SaaS platforms serving enterprise customers need to demonstrate SOC 2 compliance. ProBeya helps organizations:

  • Assess readiness: Interactive checklist covering all five trust service categories
  • Collect evidence: Automated gathering of access logs, encryption status, backup records, and change management artifacts
  • Generate reports: Evidence packages formatted for SOC 2 auditor consumption
  • Track remediation: Gap analysis with action items for non-compliant controls

Getting Started​

  1. Navigate to Compliance > SOC 2 Dashboard.
  2. Review the readiness checklist organized by trust service category.
  3. Click each control to see its status, evidence, and any gaps.
  4. Use Generate Evidence Package to compile all evidence for your auditor.
  5. Track remediation actions for any identified gaps.

Trust Service Criteria Coverage​

Security (Common Criteria)​

The Security category covers the foundational controls that protect the system against unauthorized access:

ControlProBeya ImplementationEvidence Source
CC6.1 Access controlsRole-based access with orgProcedure, createRoleProtectedProcedureMembership and role audit logs
CC6.2 MFA enforcementAuth.js v5 with configurable MFA policies per organizationAuthentication event logs
CC6.3 Encryption at restPostgreSQL TDE, S3 server-side encryption (SSE-S3)Database and S3 configuration snapshots
CC6.6 Encryption in transitTLS 1.2+ enforced on all endpoints, HSTS headersTLS certificate records, middleware config
CC6.7 Vulnerability managementDependency scanning, container image scanningCI/CD pipeline artifacts
CC6.8 Change managementGit-based workflow, PR reviews, deployment logsGit history and deployment records

Availability​

ControlProBeya ImplementationEvidence Source
A1.1 Uptime monitoring/api/health endpoint checking DB, Redis, S3 connectivityHealth check response logs
A1.2 Backup verificationAutomated PostgreSQL backups with point-in-time recoveryBackup schedule and restore test records
A1.3 Disaster recoveryMulti-AZ deployment with failover, documented RTO/RPO targetsDR test records and runbooks

Processing Integrity​

ControlProBeya ImplementationEvidence Source
PI1.1 Input validationZod schemas on all tRPC procedures and form submissionsSchema definitions in @probeya/shared
PI1.2 Data accuracyServer-side computation for derived values (e.g., timer durations, EVM metrics)Audit trail activity logs
PI1.3 Audit trail completenesslogActivity helper logs all mutations with actor, entity, and metadataActivity log query results

Confidentiality​

ControlProBeya ImplementationEvidence Source
C1.1 Data classificationMulti-tenant isolation via organizationId on all scoped tablesSchema definitions showing organizationId columns
C1.2 Access loggingAuthentication events, API key usage, embed token access trackingAuth and API key audit logs
C1.3 Retention policiesConfigurable data retention periods per organizationOrganization settings snapshots

Privacy​

ControlProBeya ImplementationEvidence Source
P1.1 Consent managementTerms acceptance tracking during onboardingUser consent records
P1.2 Data subject rightsUser data export and deletion capabilitiesData export and deletion audit logs
P1.3 Data minimizationEmbed public data strips PII (user emails, internal IDs)Embed data sanitization code review

How It Works​

Readiness Checklist​

The SOC 2 dashboard presents controls organized by trust service criteria. Each control has a status indicator:

StatusDescription
ImplementedControl is fully in place with sufficient evidence
PartialControl exists but evidence is incomplete or coverage is insufficient
MissingControl is not yet implemented
N/AControl is not applicable to the organization's scope

Automated Evidence Collection​

The system automatically gathers evidence from ProBeya's own operational data:

  • Access logs: Authentication events, permission changes, session management from Auth.js
  • Encryption status: Database encryption configuration, TLS settings, S3 bucket policies
  • Change management: Git commit history, deployment timestamps, code review records
  • Monitoring: Health check response history, error rate metrics, performance data
  • Tenant isolation: Query logs showing organizationId filtering on all data access

Evidence Package Generation​

The Generate Evidence Package feature compiles all collected evidence into a structured archive suitable for SOC 2 auditors. The package includes:

  • Control-by-control evidence mapping with timestamps
  • System architecture diagrams and data flow documentation
  • Access control matrix showing roles and permissions
  • Change management records for the audit period
  • Monitoring and alerting configuration documentation

Gap Analysis and Remediation​

For each control that is not fully implemented, the system generates:

  • A description of the gap and its risk impact
  • Recommended remediation steps
  • Priority level based on the control's importance
  • An action item that can be tracked through ProBeya's action management system

API Reference​

ProcedureTypeDescription
soc2.getReadinessQueryGet SOC 2 readiness status by category
soc2.getControlsQueryList all controls with status and evidence
soc2.generateEvidenceMutationCompile evidence package for auditor
soc2.updateControlMutationUpdate control status and attach evidence

Permissions​

ActionRequired Role
View SOC 2 dashboardAdmin or Compliance role
Generate evidence packageAdmin
Update control statusAdmin or Compliance role