Initial impact: green dashboards, missing audit trail
Investigation: what the technical audit actually requires
Critical discovery: the shared responsibility model does not cover legal liability
Temporary mitigation: what to do right now if you already migrated
- Run a vulnerability scan against the production environment as it exists today. Cover network-level exposure (open ports, misconfigured security groups), application-level vulnerabilities (OWASP Top 10 categories), and cloud-specific misconfigurations (public storage buckets, overly permissive IAM roles). Tools vary by provider and setup, but the scan must target what is actually running, not what was running before.
- Rebuild the data map from scratch for the new environment. Document every location where personal data is stored, processed, or transmitted. Include databases, object storage, caches, logs, backups, and any third-party integrations. Note which cloud regions are involved. If any data crosses national borders, flag it for Article 56 review.
- Test the deletion pipeline. Create a test record, trigger a deletion request, and verify the record is removed from all locations: primary database, replicas, caches, backups, and any downstream systems that received a copy. If backups cannot be selectively purged (which is common), document the retention window and ensure it aligns with your stated policy.
- Review access controls. Migration often involves granting broad permissions temporarily to get things working, then forgetting to tighten them. Audit IAM policies, API keys, database credentials, and service account permissions. Remove anything that is no longer needed.
BASH
# Illustrative example for AWS S3 - list buckets and check public access block settings
aws s3api list-buckets --query 'Buckets[].Name' --output text | \\
xargs -I {} aws s3api get-public-access-block --bucket {} 2>&1Architectural fix: bake the audit into the migration process
- Complete vulnerability scanning and penetration testing against the staging or pre-production version of the new environment. Do not wait until production is live.
- Update the data map as part of migration planning, not after. Every data flow that changes during migration should be documented before the change happens.
- Validate deletion mechanisms in the new environment before decommissioning the old one. If the deletion pipeline breaks during migration, you need to catch it while you still have the old environment as a reference.
- Verify cross-border data transfer compliance if the new cloud region is outside Indonesia. This means confirming equivalent protection in the destination country or putting contractual safeguards in place before data moves.
- Appoint or involve a DPO (Data Protection Officer) in the migration review. UU PDP expects accountability, and having someone with explicit responsibility for data protection sign off on the technical audit creates an audit trail that regulators can follow.
