Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add ability to ignore including certain tables in the dump or option to auto-anonymize all columns in a table except those specified #225

Open
patrick-grow-therapy opened this issue Sep 14, 2022 · 2 comments

Comments

@patrick-grow-therapy
Copy link

I have certain tables in our production database that aren't necessary for local development, or would be risky attempting to anonymize given the chance for a leak. Is there a current way to ignore certain tables or anonymize all the columns within specific tables?

@patrick-grow-therapy patrick-grow-therapy changed the title How can I ignore certain tables when creating a dump? Feature Request: Add ability to ignore including certain tables in the dump or auto-anonymize all columns in a table Sep 14, 2022
@patrick-grow-therapy patrick-grow-therapy changed the title Feature Request: Add ability to ignore including certain tables in the dump or auto-anonymize all columns in a table Feature Request: Add ability to ignore including certain tables in the dump or option to auto-anonymize all columns in a table except those specified Sep 14, 2022
@SnathanP
Copy link

Hello @patrick-grow-therapy , i've been looking for the same feature. It seems tables can be ignored, as written in the code. But it does not seems to be documented yet. The opposite feature (only tables) is barely mentionned and it seems skip_table is to be configured the same way.
I am no Rust expert, but I think you have to declare all of the ignored tables, no wildcard option for now.

@evoxmusic
Copy link
Contributor

Hello @patrick-grow-therapy , i've been looking for the same feature. It seems tables can be ignored, as written in the code. But it does not seems to be documented yet. The opposite feature (only tables) is barely mentionned and it seems skip_table is to be configured the same way.
I am no Rust expert, but I think you have to declare all of the ignored tables, no wildcard option for now.

Feel free to open a PR to update the documentation 🙏

--

Adding a wildcard option to anonymize all fields from a table is something that I would love to add. But I have not enough time at the moment. I'd be happy to find a sparking partner to make it happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants