Dynamic — Right to erasure
Dynamic — Right to erasure
Diagram type: Dynamic (C4 supporting diagram) Scope: one verified data-subject erasure request from trigger to signed evidence record. Audience: the DPO, IT Security, auditors, data engineers. Structurizr view:
Dynamic-Erasurein structurizr/workspace.dsl
Overview
Because identifiers were replaced by random vault tokens before Bronze, erasure is primarily one delete: the subject's mapping in the token vault (Path A, step 2). Path B covers the only places that still hold direct identifiers: landing files younger than seven days, and logs if the no-payload-logging policy was ever breached (step 3). Each store is then verified and the per-store result is appended to immutable evidence storage (steps 4–6), summarised in the control schema (step 7) and signed off by the DPO (step 8). Bronze, Silver, Gold, history, events and exports are not touched: their tokens are no longer attributable, a position the DPO must have accepted (Recital 26); if not, Path B extends to deleting Gold rows by token.
Diagram
C4Dynamic
title Dynamic diagram - Right to erasure
Person(dpo, "Data Protection Officer", "Verifies the request; signs off")
Container(erase, "Erasure job", "Fabric pipeline and notebook")
ContainerDb(vault, "Token vault", "Azure SQL, CMK, PIM")
ContainerDb(bronze, "lh_bronze", "landing files; Bronze tables")
ContainerDb(evidence, "Erasure evidence store", "Azure Blob, immutable")
ContainerDb(silver, "lh_silver and control", "erasure_log")
Rel(dpo, erase, "Trigger the erasure run with the verified request", "Fabric pipeline")
Rel(erase, vault, "Path A: delete lookup hash, encrypted identifier and subject links; stamp erased_at", "TDS, PIM-elevated")
Rel(erase, bronze, "Path B: rewrite the subject out of landing files younger than 7 days", "OneLake")
Rel(erase, vault, "Verify: zero rows for the subject", "TDS")
Rel(erase, bronze, "Verify: landing scan returns zero; Bronze, Silver, Gold untouched (tokens no longer attributable)", "OneLake, Spark")
Rel(erase, evidence, "Append the evidence record: request id, identifier hash, per-store result, who, when", "Blob REST, immutable policy")
Rel(erase, silver, "Write the erasure summary to control", "Delta")
Rel(dpo, evidence, "Review and sign off the record", "Azure portal, read-only")
Legend
- Numbered arrows in execution order.
- Cylinders are data stores; the vault and the evidence store are Azure resources outside OneLake.
Elements
| Element | Type | Technology | Responsibility in this flow |
|---|---|---|---|
| Data Protection Officer | Person | — | Verifies identity, scope and legal holds; triggers; signs off |
| Erasure job | Container | Fabric pipeline and notebook, Python | Runs Path A and Path B; verifies per store; writes evidence and summary |
| Token vault | ContainerDb | Azure SQL Database, CMK, PIM | Holds the only mapping from token to identity |
| lh_bronze | ContainerDb | Fabric Lakehouse | Landing files (identifiers, ≤ 7 days); Bronze tables (tokens) |
| Erasure evidence store | ContainerDb | Azure Blob, immutable storage | Append-only record with a hash chain |
| lh_silver and control | ContainerDb | Fabric Lakehouse | erasure_log summary |
Key relationships
See the numbered arrows. The ten-place inventory and the runbook text are in ADR 6.
Notable architectural decisions
- Erasure succeeds or fails in the vault; everything else is verification (ADR 6).
- A zero-row query is a test, not evidence; the appended record with per-store results is what an auditor gets.
- Logs never contain payloads by policy, so Path B for logs is a check, not a routine purge.
Assumptions
- The DPO accepts the Recital 26 position for residual tokens; otherwise step 5 adds DELETE by token in Gold followed by VACUUM.
- Reverse lookups by approved consumers (if any) are revoked for the subject as part of step 2, since the mapping no longer exists.