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.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.0 | Stable | 9–11 | Feb 7, 2025 |