Problem/Motivation
I would like to use drush sql:sanitize to remove telephone numbers for PII requirements.
Proposed resolution
Use a patch heavily borrowed from AndyF's address sanitization patch in https://www.drupal.org/project/address/issues/3189074.
The approach here finds all telephone fields in all tables in the database and replaces the data with a string of ten zeros.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | telephone-3205630-2.patch | 9.09 KB | eheller |
Comments
Comment #2
cilefen commented@eheller Is this feature request for a modification to Drush?
Comment #3
eheller commentedComment #4
cilefen commentedThere are as of today no 'drush.command' tagged services in Drupal core and the Drush sanitization plugins are implemented in Drush. This may be more likely to be committed as part of Drush itself.
Comment #5
eheller commentedOh okay, thanks for the tip. I'll move it over there, then.
Comment #6
cilefen commented