This project is not covered by Drupal’s security advisory policy.
Local Data Sanitiser provides CLI-only tools for cleaning personal data from copied local Drupal databases.
Features
- Deletes Webform submissions when the Webform module is installed.
- Anonymises non-administrator user accounts.
- Anonymises customer and contact data stored in content entity fields.
- Lets developers choose which sanitiser tasks to run.
- Shows planned record counts before execution.
- Shows a destructive-action warning with the detected environment before making changes.
- Uses a modular task-plugin system so more data sanitiser tasks can be added later.
Requirements
- Drupal 10.3 or Drupal 11
- Drush
Recommended
- Webform, if you want to remove Webform submissions.
- Config Filter, if you want the module kept out of exported config in local environments.
Usage
drush en local_data_sanitiser -y drush local-data:sanitise
The command is hidden from the Extend UI and is intended for developer CLI use only. It refuses to run outside a detected local environment unless --force is supplied.
Supporting organizations:
Initial development, QA, and ongoing maintenance
Project information
- Project categories: Administration tools, Automation, Developer tools
- Created by lakshmandrupal on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
