This project enhances Drush's SQL sanitize command to clean up sensitive data specific to Drupal Commerce. It can anonymize order emails and IP addresses, clear address fields, remove logs, delete carts and tax numbers, and remove payment methods.
This project extends Drush's SQL sanitize command to perform additional operations on Commerce specific fields and tables. This includes:
- Sanitize order email and IP addresses
- Sanitize addresses (converting most values to `[Sanitized]`)
- Delete all commerce logs (e.g., from the order activity stream)
- Delete all carts, though not all _Draft_ orders
- Delete all tax numbers from customer profiles
- Delete all payment methods
Command line options let you disable any of these operations.