Level 2 — Container view for the Data Protection Officer — Marketing Data Platform
Level 2 — Container view for the Data Protection Officer — Marketing Data Platform
Diagram type: Container (audience view) Scope: where identifiers exist, for how long, how they are replaced by tokens, and how an erasure request is executed and evidenced. Audience: the Data Protection Officer, IT Security. Structurizr view:
Containers-Privacyin structurizr/workspace.dsl
Overview
Identifiers exist in exactly one lake location: the landing files, for at most seven days. The Bronze loader is the gate: it classifies every column, scans for personal data, replaces identifiers with random tokens from the vault (lookup-or-create), rewrites the payload, generalises quasi-identifiers and only then writes Bronze. Every table in Bronze, Silver and Gold holds tokens only. The vault is an Azure SQL database outside OneLake, encrypted under a customer-managed key, reachable by the loader for lookup-or-create and by the PIM-elevated erasure role for delete. Erasure deletes the mapping (Path A), rewrites the subject out of landing files younger than seven days and purges logs (Path B), verifies per store and appends an evidence record to immutable storage.
Diagram
C4Container
title Container view for the Data Protection Officer
Person(dpo, "Data Protection Officer", "Owns the classification register; triggers and signs off erasure")
Container_Boundary(platform, "Marketing Data Platform") {
Container(loader, "Bronze loader", "Fabric notebook, Python and Spark", "The gate: classify, PII scan, tokenise, rewrite, generalise; purge landing after 7 days")
ContainerDb(bronze, "lh_bronze", "Fabric Lakehouse, Delta", "Tables hold tokens only; landing files hold identifiers for at most 7 days")
ContainerDb(silver, "lh_silver and control", "Fabric Lakehouse, Delta", "Classification register; quarantine references; erasure log")
ContainerDb(vault, "Token vault", "Azure SQL Database, TDE with CMK, Entra-only, PIM", "token_map and subject_link; the only place erasure must succeed")
Container(erase, "Erasure job", "Fabric pipeline and notebook", "Path A vault delete; Path B landing rewrite and log purge; verify; evidence")
ContainerDb(evidence, "Erasure evidence store", "Azure Blob, immutable (WORM)", "Append-only evidence records with a hash chain")
Container(kv, "Key Vault", "Azure Key Vault", "The vault lookup key and the customer-managed key")
}
Rel(loader, bronze, "Reads landing files from; appends tokenised rows to; purges landing in", "Spark, Delta, OneLake")
Rel(loader, vault, "Looks up or creates tokens for normalised identifiers in", "TDS, Entra token, batched")
Rel(loader, kv, "Reads the vault lookup key from", "workspace identity")
Rel(loader, silver, "Reads the classification register from; writes quarantine references to", "Delta")
Rel(erase, vault, "Deletes lookup hash, encrypted identifier and subject links in", "TDS, PIM-elevated")
Rel(erase, bronze, "Rewrites the subject out of landing files younger than 7 days in", "OneLake")
Rel(erase, silver, "Writes the erasure summary to control in", "Delta")
Rel(erase, evidence, "Appends the per-store evidence record to", "Blob REST, immutable policy")
Rel(dpo, erase, "Triggers and signs off erasure runs in", "Fabric pipeline")
Rel(dpo, evidence, "Reviews evidence records in", "Azure portal, read-only")
Legend
- ContainerDb (cylinder): data store. The only
cylinder that ever holds a raw identifier is the landing area of
lh_bronze, and only for seven days. - Not drawn: the adapters that write landing files, the Silver and Gold jobs (tokens only), the orchestrator that runs the erasure pipeline, the Proposed console's privacy page (status only, never the subject).
- Abbreviations: CMK = customer-managed key; PIM = Privileged Identity Management; WORM = write once, read many; TDE = transparent data encryption.
Elements
| Element | Type | Technology | Responsibility |
|---|---|---|---|
| Bronze loader | Container | Fabric notebook, Python and Spark | The gate and the only writer of Bronze; the only identity with vault lookup-or-create (Level 3) |
| lh_bronze | ContainerDb | Fabric Lakehouse, Delta | Tokenised tables; landing files with identifiers for at most 7 days; first target of the erasure runbook |
| lh_silver and control | ContainerDb | Fabric Lakehouse, Delta | Classification register; quarantine references (landing file, row, check; never the payload); erasure log |
| Token vault | ContainerDb | Azure SQL Database, TDE with CMK, Entra-only, PIM, auditing | token_map (lookup hash, random token, encrypted
identifier, subject type, jurisdiction, erased_at) and
subject_link |
| Erasure job | Container | Fabric pipeline and notebook, Python | Path A and Path B; per-store verification; evidence record; summary in control |
| Erasure evidence store | ContainerDb | Azure Blob Storage, immutable storage (WORM) | Append-only evidence records under a time-based retention policy with a hash chain |
| Key Vault | Container | Azure Key Vault | The vault lookup key and the customer-managed key; purge protection |
Key relationships
| From | To | Intent | Protocol / Technology |
|---|---|---|---|
| Bronze loader | Token vault | Lookup-or-create tokens | TDS with Entra token, batched |
| Erasure job | Token vault | Delete the subject's mapping | TDS, PIM-elevated role |
| Erasure job | Landing files, evidence store | Rewrite; append evidence | OneLake; Blob immutable policy |
| DPO | Erasure job, evidence store | Trigger, sign off, review | Fabric pipeline; Azure portal |
Notable architectural decisions
- The gate sits before Bronze; every lake layer holds tokens from a vault outside the lake; erasure is the deletion of a mapping (ADR 6, Accepted, subject to the DPO's sign-off on the Recital 26 position).
- Quarantined rows reference the landing file and row; they never carry the payload (WP0b builder review of the console design).
- Telemetry, logs and the Proposed console carry ids and counts only (ADR 12).
Assumptions
- Residual tokens after mapping deletion are anonymous (Recital 26); if the DPO disagrees, Path B extends to Gold deletion by token (risk RK-23).
- Jurisdiction and retention requirements are open question Q3.