Dataset Inventory and Provenance
Build a list of where data actually comes from and where it is copied, because an exposure is only actionable once every copy of the record is known
Use when: the assessment covers a system whose data reaches more than one store, artifact or third party
Avoid when: one authoritative store exists and the owner can account for every derived copy
Procedure
- Enumerate the sources that produce records: application database, object storage, logs, exports, third-party syncs and build artifacts.
- For each source record what it holds, roughly how many records, and whether it contains personal or secret classes.
- Trace where each source is copied to: warehouses, backups, analytics pipelines, support tooling and developer workstations.
- Mark each copy as authoritative, derived or incidental, since each class implies a different remediation path.
- Note any copy whose owner is unknown and carry it into the discover phase as an open question.
- Write the inventory as a table with source, contents, class, copies and owner, and mark unconfirmed cells as unknown.
Signals
- A warehouse table mirrors production data with no recorded owner
- A support export leaves the system and nobody can say where the file went
- Backups exist for one store but no one has considered the log pipeline
- A third-party sync was configured by a former team member
Patterns
1. Lineage row
source | contents | class | copies | owner
primary db | accounts | personal | warehouse, backup | data-team
app logs | request traces | internal | log store | platform
exports | reports | personal | drive folder | unknown
2. Copy class
authoritative (the record lives here) | derived (computed from it) | incidental (a by-product); each class changes who fixes a leak
3. Unknown rule
any cell you could not confirm is written as unknown and carried forward rather than dropped from the inventory
Pitfalls
- Inventorying only the primary store while the log pipeline holds the same records
- Assuming a derived copy is harmless because it was computed rather than copied
- Omitting third-party syncs, which are usually where the data class widens
Done when
- Every source has a row with contents, class, copies and owner, and unknown cells are listed
- At least one derived or incidental copy is traced to its destination with an owner named
References
1---2name: dataset-inventory-and-provenance3description: "Build a list of where data actually comes from and where it is copied, because an exposure is only actionable once every copy of the record is known. Use when the assessment covers a system whose data reaches more than one store, artifact or third party"4pack: leaklens5version: 1.0.06category: data-tool7tags: [scope, inventory, lineage]8metadata:9 source: https://skillmd.com/skills/wsh7ash/dataset-inventory-and-provenance10---1112# Dataset Inventory and Provenance1314> Build a list of where data actually comes from and where it is copied, because an exposure is only actionable once every copy of the record is known1516**Use when:** the assessment covers a system whose data reaches more than one store, artifact or third party1718**Avoid when:** one authoritative store exists and the owner can account for every derived copy1920## Procedure21221. Enumerate the sources that produce records: application database, object storage, logs, exports, third-party syncs and build artifacts.232. For each source record what it holds, roughly how many records, and whether it contains personal or secret classes.243. Trace where each source is copied to: warehouses, backups, analytics pipelines, support tooling and developer workstations.254. Mark each copy as authoritative, derived or incidental, since each class implies a different remediation path.265. Note any copy whose owner is unknown and carry it into the discover phase as an open question.276. Write the inventory as a table with source, contents, class, copies and owner, and mark unconfirmed cells as unknown.2829## Signals3031- A warehouse table mirrors production data with no recorded owner32- A support export leaves the system and nobody can say where the file went33- Backups exist for one store but no one has considered the log pipeline34- A third-party sync was configured by a former team member3536## Patterns3738**1. Lineage row**3940```text41source | contents | class | copies | owner42primary db | accounts | personal | warehouse, backup | data-team43app logs | request traces | internal | log store | platform44exports | reports | personal | drive folder | unknown45```4647**2. Copy class**4849```text50authoritative (the record lives here) | derived (computed from it) | incidental (a by-product); each class changes who fixes a leak51```5253**3. Unknown rule**5455```text56any cell you could not confirm is written as unknown and carried forward rather than dropped from the inventory57```5859## Pitfalls6061- Inventorying only the primary store while the log pipeline holds the same records62- Assuming a derived copy is harmless because it was computed rather than copied63- Omitting third-party syncs, which are usually where the data class widens6465## Done when6667- Every source has a row with contents, class, copies and owner, and unknown cells are listed68- At least one derived or incidental copy is traced to its destination with an owner named6970## References7172- [OWASP - Data-centric security guidance](https://owasp.org/www-project-top-ten/)73- [NIST SP 800-53 - System boundary documentation](https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final)