Skip to content

Compliance Frameworks ​

DevDiff helps organizations enforce security, privacy, and sovereignty policies across enterprise teams through declarative compliance profiles.


πŸ”’ Supported Frameworks ​

Use the compliance engine to immediately audit and enforce policies for the following regulatory frameworks:

Framework IDRegulation / StandardTarget JurisdictionEnforced Policies & Config Changes
gdprGeneral Data Protection RegulationEuropean Union / EEAForces local-only AI execution (localOnly: true), disables outbound network telemetries, sets strict token sanitization.
ccpaCalifornia Consumer Privacy ActUnited States (CA)Zero-telemetry caching, local audit trail logging, and automatic workspace data-minimization.
hipaaHealth Insurance Portability & Accountability ActUnited States (Healthcare)Enforces strict secret and credential redaction, locks audit logs locally with AES encryption.
soc2SOC 2 Type II Security TrustGlobal (Service Orgs)Enables full network access logging, file access history trails, and third-party plugin checksum checks.
fedrampFedRAMP Security StandardsUnited States (Gov/Cloud)Forces FIPS-compliant local cryptos, locks out non-whitelisted shell execution commands, and restricts network scopes.
iso27001ISO/IEC 27001 Information SecurityGlobal (Enterprise)Configures log retention controls, locks file scanning scopes, and enables periodic config auditing.
pipedaPersonal Information Protection ActCanadaStrict data minimization, local data sovereign hosting, and no external log transfers.
lgpdLei Geral de ProteΓ§Γ£o de DadosBrazilLocal AI fallback priority, zero third-party token transit caching.
pdpaPersonal Data Protection ActSingapore / APACData minimization, local-only routing for PII structures, zero trace retention.
australia_privacyAustralian Privacy Principles (APP)AustraliaEnforces strict regional data sovereign boundaries, disabling cloud model fallbacks.

Enforcing a Framework Configuration ​

To apply a compliance profile:

bash
# Preview what changes the framework will make to .devdiff.config.js
devdiff compliance apply --framework gdpr --dry-run

# Apply the framework configuration to your project config
devdiff compliance apply --framework gdpr

This command updates your root .devdiff.config.js to enforce the corresponding security, privacy, and routing boundaries automatically.


Validating Compliance Status ​

Check if your current workspace configuration complies with active profiles:

bash
# Check compliance status
devdiff compliance status

# Run full configuration validation
devdiff compliance validate --frameworks all