Acme Marketing Architecture

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-Erasure in 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

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

Assumptions