Sanitize address fields on drush sql:sanitize

Created on 18 December 2020, about 4 years ago
Updated 4 March 2024, 11 months ago

Problem/Motivation

I'm working on a Commerce site and would like to use drush sql:sanitize to remove PII.

Proposed resolution

I was wondering if people thought it might make sense to sanitize any address fields directly attached to user or profile entities (similar to how sql:sanitize by default randomizes all text fields on a user entity)? I realize this might be considered out of scope for the address module, but by the same token I thought it might be able to catch a whole host of potential PII issues in one fell swoop, so thought I'd throw it out there (:

Remaining tasks

TBD

💬 Support request
Status

Fixed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom AndyF

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024