by bennyp101 · 4y ago · 0 comments
I might have missed it, but I need to know exactly where our PII is stored (so not on a dev laptop), how do you know what to replace and what do you do with any info you do replace?
Edit: To answer my own question, via transformers. But that seems to suggest each dev has to keep it up to date with any schema changes etc
(Also some links are broken on GitHub)
Yes, transformers is the way to go. I plan to add a way to detect schema changes and at list not trying to create a dump in case of change. I don't think it can be done in a safe way without human admin check.
(Thank you for your PR)
We identify PII by introspecting your database, suggest fields to transform, and provide a JavaScript runtime for writing transformations.
Besides transforming data, you can reduce, and generate data. We are most excited about data-generation!
The configuration lives in your repository, and you can capture the snapshots in GitHub Actions. So you get "gitops workflow" for data.
A typical git-ops workflow:
1. Add a schema migration for a new column.
2. Add a JS function to generate new data for that column.
3. Add core to use the new column.
4. Later, once you have data, use the same function to transform the original value. (Or just keep generating it.)