MCMMCM DocsEngineering (Internal)
HLDModulesGovernanceBuilt-in Groups
v1.2 is unreleased — see v1.1 for the current stable release.

GDPR Compliance

GDPR requirements, cloud enforcement via Cloud Custodian, and control coverage mapping.

GDPR Compliance

GDPR (General Data Protection Regulation) is a European Union data protection law governing how personal data of EU individuals is collected, processed, stored, transferred, and deleted. It applies to any organisation processing EU residents' personal data, regardless of where the organisation is based.


Core Requirements

A. Lawfulness & Transparency

  • Lawful basis for processing (consent, contract, legal obligation, etc.)
  • Privacy notices and transparency to data subjects.

B. Data Subject Rights

  • Right to access their data.
  • Right to rectification.
  • Right to erasure (Right to be Forgotten).
  • Right to data portability.

C. Security & Protection (Article 32)

  • Appropriate technical and organisational measures.
  • Encryption and access control.
  • Ongoing confidentiality, integrity, and availability.

D. Accountability & Governance

  • Records of processing activities (RoPA).
  • Data Protection Impact Assessments (DPIA).
  • Breach notification within 72 hours.

GDPR compliance combines legal, technical, and organisational controls. Tooling covers only the technical layer.


Cloud Custodian GDPR Coverage

Cloud Custodian enforces GDPR technical safeguards — security, exposure prevention, and data lifecycle controls.

GDPR Control AreaCoveredDescription
Encryption at rest✅ Cloud CustodianS3, EBS, RDS encryption enforcement
Encryption in transit✅ Cloud CustodianTLS / HTTPS enforcement
Access control✅ Cloud CustodianIAM hygiene, least privilege, MFA
Exposure prevention✅ Cloud CustodianPublic storage and network detection
Logging & auditability✅ Cloud CustodianCloudTrail configuration checks
Data retention enforcement✅ Cloud CustodianResource lifecycle cleanup
Region / data residency✅ Cloud CustodianEnforce approved regions

Sample Cloud Custodian Policies

Enforce Encryption on Personal Data Storage

policies:
  - name: gdpr-s3-encryption-required
    resource: s3
    filters:
      - type: bucket-encryption
        state: false

Prevent Public Access to Personal Data

policies:
  - name: gdpr-no-public-s3
    resource: s3
    filters:
      - type: global-grants
        operator: not-equal
        value: []

Enforce Approved Regions Only

policies:
  - name: gdpr-approved-regions-only
    resource: aws.account
    filters:
      - type: region
        op: not-in
        value: [eu-west-1, eu-central-1]

Full Controls Coverage

GDPR Control / RequirementTool CoverageNotes
Encryption at restCloud CustodianEnforces cloud-side encryption
Encryption in transitCloud CustodianTLS / HTTPS enforcement
IAM least privilegeCloud CustodianRole and policy hygiene
MFA for usersCloud CustodianIAM credential checks
Public cloud resourcesCloud CustodianPrevents accidental data exposure
Data residency / approved regionsCloud CustodianRegion guardrails
Cloud audit loggingCloud CustodianCloudTrail configuration
Log integrityRequires secure storage + governance
OS & application logsWazuhHost-based logging
File integrity monitoringWazuhDetects unauthorised file changes
Malware detectionWazuhHost-based malware detection
Intrusion detectionWazuhRuntime behaviour monitoring
Vulnerability scanningWazuhCVE detection on hosts
Incident investigation evidenceWazuhAlerts, timelines
Data retention enforcementCloud CustodianResource lifecycle cleanup
Consent managementApplication & legal workflow
Data subject access requests (DSAR)Application-level process
Right to erasure (RTBF)Requires app + database logic
DPIA / risk assessment documentationGovernance & legal process
Breach notification (72-hour rule)Legal & operational workflow
Privacy notices & transparencyLegal documentation

On this page