What each framework asks of your engineering
Engineering work varies by framework. GDPR work often involves lawful basis records, transfer safeguards, retention, deletion and access logs; HIPAA, access control, audit logging and encryption; SOC 2, access reviews, monitoring and evidence; PCI-DSS, segmentation, encryption and reducing card data scope. This summary is not legal advice, and your counsel or data protection officer decides what applies.
Each framework has a different focus and asks for different evidence. The table is a plain-language summary of where engineering work usually lands, not legal advice. Your legal counsel or data protection officer decides what applies to you.
| Framework | Protects | Typical engineering controls |
|---|---|---|
| GDPR | Personal data within its scope, including that of people in the EU | Lawful basis recorded, transfer safeguards, retention and deletion, access control and logs |
| HIPAA | Protected health information (US) | Access control, audit logging, encryption in transit and at rest, minimum necessary access |
| SOC 2 | Service organisation controls, assessed by an independent auditor | Access reviews, change management, monitoring, incident procedures, evidence collection |
| PCI-DSS | Payment card data | Network segmentation, encryption, and reducing how much card data you handle, for example through a payment provider |
How we build compliance in
For EU clients, we clarify lawful basis, controller or processor role, cross-border transfers and security expectations in the first two calls. Redaction and allowlists limit what reaches language models. Retention, region locks and audit logging ship with the features they protect, with a data-flow diagram and subprocessor table for review.
Clarify in the first two calls
For EU clients: lawful basis, whether you are controller or processor, any cross-border transfers, and security contacts and incident expectations.
Put guardrails before models
Redaction and allowlists sit in front of the language model to limit what personal data reaches the provider. Redaction can miss things, so test it on real samples.
Implement in the same sprints
Retention policies, region locks and audit logging ship with the feature they protect, not in a compliance phase months later.
Document it
A data-flow diagram, a subprocessor table and an audit log schema your data protection officer can review. Documents support a review and do not prove compliance by themselves.
For ops automation, our pre-go-live checklist covers the data-flow diagram, redaction and allowlist configuration, a tested audit log and retention job, human approval on high-risk actions, and an evaluation on historical tickets before full rollout.
Scanning a database for compliance issues
PlaywithDB offers automated, continuous scanning for GDPR, HIPAA, SOC2 and PCI-DSS violations, and we can build scanning into your tooling. Separately from any product, a database review should inventory tables and columns, classify sensitive data, check access, encryption, retention, deletion and access logging, then report each finding with its control and fix.
PlaywithDB includes automated compliance scanning across GDPR, HIPAA, SOC2 and PCI-DSS, with continuous checks for violations. We can also build scanning into your own tooling. Separately from any product, a general database review can follow the path below. It is not a list of PlaywithDB checks.
- Inventory the tables and columns, and classify which hold personal, health or payment data
- Check who and what can read that data, and whether access is broader than it needs to be
- Check encryption, retention rules and deletion paths
- Check that access to sensitive data is logged and the logs are kept
- Produce a report that maps each finding to the control it affects, with the fix
A worked example: Gordon in the Zurich region
Gordon, an AI meal-planning app for M-agi-c Solutions, was moved to AWS eu-central-2 in Zurich for GDPR compliance. Zurich is in Switzerland, which is not an EU member state, so for your own project confirm the legal basis for any transfer with counsel. The Gordon case study describes the stack and environments.
Gordon is an AI meal-planning app for M-agi-c Solutions, and its platform was moved to eu-central-2 (Zurich, Switzerland) for GDPR compliance. In published feedback, the client team said Docker Compose, Elastic Beanstalk and RDS were aligned to their GDPR requirements from day one, and that they never had to retrofit compliance later. See the Gordon case study for the architecture.
What goes in the compliance packet
A short, specific packet is meant to help your data protection officer or counsel review the system. It holds a data-flow diagram, subprocessor table, documented lawful basis and controller or processor role, any transfer mechanism for India or US processing, reviewed redaction settings, audit log schema, tested purge job and incident expectations.
The aim is to give your data protection officer or counsel something short and specific to review. Which items apply depends on the system.
- A data-flow diagram and a subprocessor table
- Your lawful basis and your role as controller or processor, documented
- The cross-border transfer mechanism, if any processing happens in India or the US
- Redaction and allowlist configuration, reviewed
- The audit log schema and a tested retention and purge job
- Security contact and incident notification expectations