healthcare.raw.patients.ssn reaches Dashboard/Chart 'patient_overview' via a 4-hop path, with no mask/hash/sha2 (+4 more) step on the way.
Subject
patients.ssnstring
urn:li:schemaField:(urn:li:dataset:(urn:li:dataPlatform:postgres,healthcare.raw.patients,PROD),ssn)
Exposed at
patient_overviewdashboard
urn:li:dashboard:(looker,patient_overview)
Owner
dana.okoro
The path · 4 hops
- Hop 1passthrough
INSERT INTO healthcare.staging.stg_patients SELECT patient_id, ssn, full_name FROM healthcare.raw.patients - Hop 2join on patient_id
CREATE TABLE healthcare.marts.patient_encounters AS SELECT e.encounter_id, p.ssn AS patient_ssn, e.provider_id, e.encounter_date FROM encounters e JOIN healthcare.staging.stg_patients p USING (patient_id) - Hop 3passthrough into reporting view
CREATE VIEW healthcare.analytics.encounter_summary AS SELECT patient_ssn, COUNT(*) AS encounters, encounter_date FROM healthcare.marts.patient_encounters GROUP BY patient_ssn, encounter_date - Hop 4table-levelLooker explore: encounter_summary
note: column lineage unavailable at this hop; followed table-level lineage
Written back to DataHub
- Tagtagged `patients.ssn` with `policy-violation`applied
- Tagtagged exposure point `patient_overview` with `policy-violation`applied
- Recordrecorded `io.kestrel.policy_violation` on `patients.ssn`applied
- Documentauthored incident document "Policy violation: pii-reaches-bi - healthcare.raw.patients.ssn -> patient_overview"applied
- Notifydrafted owner ping for dana.okoro -> out/examples-scratch/actions/pii-reaches-bi-82fa8982.notify.mddrafted
Suggested fix
Mask or hash the column at the first transform downstream of the source, or drop it from the downstream model. If the exposure is reviewed and accepted, tag the mitigating step `Masked` so this policy stops reporting the path.