Compliance Frameworks: PCI-DSS, HIPAA, GDPR & SOC 2
Map real business scenarios to the compliance frameworks that govern them, and learn what each one actually requires — PCI-DSS, HIPAA, GDPR, and SOC 2.
Learning Objectives
- → Identify which compliance framework applies to a given business scenario
- → Explain the PCI-DSS cardholder data environment (CDE) scoping principle
- → Describe HIPAA's Privacy Rule and Security Rule and what counts as PHI
- → Explain GDPR's core data subject rights and breach notification timelines
- → Distinguish SOC 2 Type I from Type II and the five Trust Services Criteria
Why "Compliant" Isn't the Same as "Secure"
Compliance frameworks set a minimum bar defined by a regulator, card network, or customer contract — not a ceiling. An organization can be fully PCI-DSS compliant and still get breached. Treat compliance as a floor, and use the previous lesson's ALE-driven prioritization to decide where to go beyond it.
PCI-DSS — Payment Card Industry Data Security Standard
Applies to anyone who stores, processes, or transmits cardholder data — not a law, but a contractual requirement from card networks (Visa, Mastercard, etc.).
Core idea: scope reduction. The smaller your Cardholder Data Environment (CDE), the less you need to secure and audit.
| Requirement group | Example control |
|---|---|
| Build & maintain secure network | Firewalls, no vendor-default passwords |
| Protect cardholder data | Encrypt storage and transmission, mask PAN on display |
| Vulnerability management | AV/EDR, secure development, patch management |
| Access control | Need-to-know, unique IDs, physical access restriction |
| Monitoring & testing | Logging, log review, quarterly vuln scans, annual pentest |
| Information security policy | Documented policy, risk assessment, awareness training |
Validation level depends on transaction volume: Level 1 merchants (>6M transactions/yr) need an annual on-site audit by a Qualified Security Assessor (QSA); smaller merchants can typically self-assess (SAQ).
HIPAA — Health Insurance Portability and Accountability Act
US federal law protecting PHI (Protected Health Information) — any individually identifiable health information.
- Privacy Rule — governs use and disclosure of PHI (who can see it, minimum necessary standard)
- Security Rule — governs electronic PHI (ePHI): administrative, physical, and technical safeguards
- Breach Notification Rule — notify affected individuals within 60 days of discovery; notify HHS; notify media if >500 individuals in a state are affected
A Business Associate Agreement (BAA) is required with any third party that touches PHI on your behalf (e.g. a cloud host) — the HIPAA equivalent of PCI's "processes cardholder data" scoping trigger.
GDPR — General Data Protection Regulation
EU regulation protecting personal data of EU residents, regardless of where the processing company is based.
Data Subject Rights
| Right | Meaning |
|---|---|
| Access | Get a copy of your data |
| Rectification | Correct inaccurate data |
| Erasure ("right to be forgotten") | Delete data absent a legal basis to keep it |
| Portability | Receive data in a machine-readable format |
| Object | Opt out of processing (e.g. marketing) |
Breach Notification
Controllers must notify the relevant supervisory authority within 72 hours of becoming aware of a breach likely to risk individuals' rights — far tighter than HIPAA's 60 days.
Penalties
Up to €20M or 4% of global annual revenue, whichever is higher — deliberately scaled to be painful even for large multinationals.
SOC 2 — System and Organization Controls
Unlike PCI-DSS or HIPAA, SOC 2 isn't a checklist of prescribed controls — it's an independent auditor's opinion on whether your own controls meet the five Trust Services Criteria:
| Criterion | Focus |
|---|---|
| Security (required) | Protection against unauthorized access |
| Availability | System is operational and usable as agreed |
| Processing Integrity | Processing is complete, accurate, timely, authorized |
| Confidentiality | Confidential data is protected as agreed |
| Privacy | Personal data is collected/used/retained per policy |
- Type I — controls are suitably designed at a point in time
- Type II — controls actually operated effectively over a period (typically 6-12 months) — this is what most enterprise customers require before signing, because it proves controls work in practice, not just on paper.
Choosing the Right Framework
| Scenario | Framework(s) that likely apply |
|---|---|
| SaaS startup selling to enterprise customers | SOC 2 |
| Processing credit card payments | PCI-DSS |
| Healthcare app storing patient records (US) | HIPAA |
| Any service with EU users | GDPR |
| Public company | SOX (financial controls, related but distinct) |
Frameworks stack — a US healthcare SaaS company billing by card and serving EU patients could be in scope for all four at once.
Common Pitfalls
- Assuming a data processing agreement with a vendor transfers your compliance obligation — it doesn't; you remain accountable for your data
- Missing GDPR's tighter 72-hour breach window because incident response runbooks were only built around HIPAA's 60-day window
- Confusing SOC 2 "Security" (the only mandatory criterion) with "we must cover all five criteria" — most companies scope to Security + Availability initially
A company stores card numbers only in a database reachable exclusively by its payment microservice, isolated by a firewall from the rest of the network.
What PCI-DSS principle is being applied here?
A hospital receptionist can view a patient's appointment schedule but not their full medical chart.
Which HIPAA principle is this?
An auditor confirms a company's access-control policy was both well-designed AND operating effectively when tested over the past 9 months.
Which SOC 2 report type is this?
💪 Exercises & Challenges
Compliance Frameworks: PCI-DSS, HIPAA, GDPR & SOC 2 MCQ
Test your understanding of Compliance Frameworks: PCI-DSS, HIPAA, GDPR & SOC 2.
Map a Business to Its Compliance Obligations
Scenario: a US-based telehealth startup processes card payments and serves patients located in Germany. List every compliance framework that applies, and name one concrete control you would implement
Diagnose the Failed Audit
PayFast, a fintech startup, is going through its first SOC 2 audit. Auditor findings: 1. The access-review policy requires quarterly reviews. 2. Evidence shows only 1 of 3 required quarterly reviews