This module adds an authentication layer to critical Drush commands, logging the email of the Drupal user who executes them. This requires users to enter their Drupal username and password before running protected commands.
This is a simple plug n play module, which allows you to add authentication over some of the critical Drush commands. This adds a safeguard so that whoever runs the drush command on server will be logged.
Features
- Adds authentication for critical commands.
- Logs the email of the user who executed the command.
- Drupal user email address and password is used for authentication.
Post-Installation
This module adds a new configuration form under Configuration >> System >> Authenticate Drush Commands. Add all the critical drush commands in this form. One command per line, and you are good to go.
Note: Instead of Drush command Alias, try to add the actual command name in this form. It will take care of Aliases as well.
Additional Requirements
This module needs Drush.
Ask your assistant about Authenticate Drush
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
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 | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0 | Stable | 9–10 | Nov 29, 2023 |