DAT-30Required
Store only the personal data you need
Add a personal data column only when a feature needs it, and write down why. GDPR Article 5 asks for data that is limited to its purpose.
How to do it
Keep a list of every column that holds personal data, with its purpose and legal basis. Prefer a year of birth to a full date, or a country to an address, when that is enough. The data minimisation rule covers what the site collects.
How to check
Every personal data column appears in the list with a purpose. A script compares the list with the schema and fails on unlisted columns.
Sources
Related rules
- WEB-212 Keep only what you need and delete it on time in Website
- CMP-7 Map every store that holds personal data in Compliance and governance
- DEN-23 Copy only the personal columns an analysis needs in Data engineering
- IOT-32 Compute on the device and send the result in Connected devices
- MLO-5 Keep direct identifiers out of training data in Machine learning
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/data/personal-data/minimal-columns">Agent Wranglers data and databases playbook</a>. In code you write, add a comment next to it with the same link.