Insights

Moved Cloud Infra but Skipped UU PDP Technical Audit? Here's What Breaks

November 11, 2026
0:00
You migrated your infrastructure to a new cloud provider. DNS cutover went smooth, services came back online, monitoring turned green. Compliance team signed off on the paperwork weeks ago. Then a regulator asks for evidence of your technical audit under Indonesia's UU PDP (Law No. 27 of 2022 on Personal Data Protection), and you realize the entire migration treated compliance as a document exercise. No vulnerability scan of the new architecture. No updated data map. No verification that the deletion mechanism still works. Here is what that gap looks like when it surfaces, and how to close it before enforcement does it for you.
The pattern shows up after migration is "done." Infrastructure team completed the move. Application tests pass. Uptime monitors confirm availability. But nobody re-ran a security assessment against the new environment. The old penetration test report references IP ranges, network segments, and storage buckets that no longer exist. The data mapping document still describes the previous provider's region and architecture. From a UU PDP perspective, this is not a minor paperwork gap. The law requires organizations acting as Data Controllers (Pengendali Data Pribadi) to maintain technical safeguards that are demonstrably current. A vulnerability assessment from six months ago on infrastructure you no longer use proves nothing about the environment that actually holds personal data today. The immediate risk: if a breach occurs on the new infrastructure, you cannot show the regulator that you performed due diligence on the environment where the breach happened. The old audit is irrelevant. The new environment was never assessed.
UU PDP does not hand you a checklist of specific tools to run. But the law, combined with standards commonly used to demonstrate compliance (ISO/IEC 27001, ISO/IEC 27017, ISO/IEC 27018, and CSA CCM), points to concrete technical activities that must happen whenever infrastructure changes materially. A cloud migration is about as material as it gets. Three areas break when skipped: Vulnerability scanning and penetration testing across IaaS, PaaS, and SaaS layers. Each service model exposes different attack surfaces. On IaaS, you own the OS, middleware, and application stack, so your scan must cover all of those. On PaaS, the provider manages the runtime, but your application code, API endpoints, and access controls are still yours to test. On SaaS, you typically cannot scan the provider's infrastructure, but you must verify your configuration: access policies, data sharing settings, API token scopes, and integration points. After migration, old scan results are void. New network topology, new firewall rules, new storage endpoints. A scan that covered your previous provider's VPC layout says nothing about whether port groups, security groups, or access control lists are correctly configured in the new environment. Data mapping. UU PDP expects you to know where personal data sits, how it flows, who can access it, and where it crosses borders. Migration reshuffles all of this. Database servers move to different regions. Backups land in different object storage buckets. Log aggregation services might route data through endpoints in other countries. If your data map was not updated to reflect the new architecture, you cannot answer basic regulatory questions: "Where is this user's data stored right now?" and "Which third parties can access it?" Under Article 56 of UU PDP, transferring personal data to a jurisdiction outside Indonesia requires proving that the destination country provides equivalent data protection, or that other safeguards (like Standard Contractual Clauses or explicit consent) are in place. Moving to a cloud region outside Indonesia without verifying this is a compliance gap that no amount of paperwork fixes. Data deletion mechanisms. UU PDP grants data subjects a Right to Erasure. Your system must be able to permanently delete personal data when retention periods expire or when a data subject requests it. After migration, the deletion pipeline might be broken in ways that are not obvious. Old storage references in deletion scripts point to buckets that no longer exist. Database purge jobs might not have been migrated. Backup retention policies on the new provider might differ from the old one, meaning "deleted" data persists in snapshots longer than your policy allows.
This is where organizations get caught. Cloud providers operate on a shared responsibility model: they secure the infrastructure layer, you secure everything you put on it. That division of labor is a technical arrangement, not a legal shield. Under UU PDP, the Data Controller bears legal responsibility for protecting personal data. If your cloud provider's infrastructure is secure but your application has an unpatched SQL injection, or your S3-equivalent bucket is publicly readable because nobody reviewed the access policy after migration, that is your liability. The provider's SOC 2 report or ISO 27001 certification covers their side of the fence. It does not cover yours. This distinction matters during audit. Showing a regulator your provider's compliance certificate does not demonstrate that your configuration, your application code, and your access controls meet UU PDP requirements on the current infrastructure.
If you have already completed a cloud migration without a technical audit, these steps close the most dangerous gaps first:
  1. 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.
  2. 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.
  3. 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.
  4. 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.
A quick way to check for publicly exposed storage on most cloud platforms:
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>&1
The exact command depends on your provider. The point is to verify that no storage containing personal data is publicly accessible after migration.
The real fix is not running a scan after the fact. It is making technical audit a gate in the migration workflow, not a follow-up task. Before cutover to any new cloud environment that handles personal data:
  • 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.
Aligning this process with ISO/IEC 27001 (information security management), ISO/IEC 27017 and 27018 (cloud-specific security and PII protection), or CSA CCM (Cloud Controls Matrix) gives you a structured framework. These standards are not required by UU PDP itself, but they provide recognized control sets that make it easier to demonstrate compliance. For a deeper walkthrough of checking whether your data storage practices align with UU PDP requirements, see this self-audit guide.
Cloud migration changes your attack surface, your data flows, your deletion mechanisms, and potentially your jurisdictional exposure. UU PDP does not care that your old environment was compliant. It cares about the environment that holds personal data right now. Treat the technical audit as a migration gate, not a follow-up item. Scan the new infrastructure, rebuild the data map, test deletion, and verify cross-border rules before the regulator asks. The gap between "migration complete" and "compliance verified" is where breaches become legal problems.

Join My Newsletter & Get Updates!

Get notified whenever a new technical guide, server infrastructure breakdown, or personal reflection goes live, plus a curated weekly digest.