CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

trysac/personal-data-map

Map personal data in SQL schemas: parse CREATE TABLE, classify columns by name, flag special categories and tables linked to people by foreign keys. Use when the user asks for a personal data inventory or privacy review of a schema.

Quality

94%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

review-checklist.mdreferences/

Review checklist

Go through these points before presenting a map as final.

  1. Completeness: list the tables in the schema file and compare with the tables in the map. A table missing from the output may use syntax the parser skips (CREATE TABLE ... AS SELECT) or live in a migration that was not included.
  2. Missed columns: scan each none table and each unclassified column for names that hold personal data under another name (surname_2, nif, birthday, contact, notes, free_text, comment). Free-text columns can contain personal data of any kind.
  3. Coincidental matches: check categories that look wrong, for example city in a table of warehouses, or ip_address shown as contact_address. Note them as corrections in the report.
  4. Special categories: confirm every special_category column with the user; names such as political_party_id or health_plan may be technical rather than personal data.
  5. Linked tables: for each linked table, check whether the foreign key really identifies a person; join tables to reference data are not personal data.
  6. Out-of-schema data: logs, backups, files, caches and third-party systems are not visible in DDL.

What to state in the report

  • The map comes from column names in the DDL, not from stored data.
  • Which tables were subject, linked, none.
  • Corrections applied by hand and why.
  • It is an aid for an inventory and does not replace a legal review.

SKILL.md

tile.json