-
Notifications
You must be signed in to change notification settings - Fork 394
Add cloudhooks for scrubbing database #659
Comments
You probably want to scrub fields attached to the user entity as well. |
Should also consider stored IP addresses, sessions table, authmap table, URL alias (if users have aliases set), and any form submissions. |
Quick note that this exists in part already: https://github.com/acquia/cloud-hooks/blob/master/samples/db-scrub.sh |
Ok, I'm changing my mind on the involvement of BLT here. BLT will run Any further sanitization should be provided by a contrib module that implements hook_drush_sql_sync_sanitize. Ideally, that module would handle further sanitization of core fields, like email addresses associated with comments, or fields attached to the user entity. |
The downside of |
There is a requirement for this functionality on a project I am working with. Ideal scenario:
How would one best achieve the above? I don't believe cloud hooks fire on a local environment ;) |
@seanhamlin I think in this scenario, you would want to make sure the sanitization occurs before a develop could ever run a db sync and not leave it up to a post-sync process. Ideally, developers would never be using (or have access to) data from production or any other environments that contains sensitive information. |
@greylabel well this seems at odds with the blt command |
Business Requirements
() As a user who values my PII I want it protected on lower environments
Technical Requirements
The text was updated successfully, but these errors were encountered: