Admin Audit Trail Config Sync
This module logs configuration synchronization events performed from the command line. It ensures that all configuration sync operations are captured in the audit trail, even those initiated via Drush.
The Admin Audit Trail Config Sync module extends the Admin Audit Trail
module by logging configuration synchronization events performed from the command line (`drush config:import`).
Admin Audit Trail's own logging is skipped for CLI requests because it
relies on the current request being a web request. This module subscribes
to the core configuration import event and writes audit trail entries
directly to the database, so that config sync operations are always
captured regardless of whether they were triggered through the web UI or
via Drush.
- For a full description of the module, visit the project page:
https://www.drupal.org/project/admin_audit_trail_config_sync - To submit bug reports and feature suggestions, or to track changes:
https://www.drupal.org/project/issues/admin_audit_trail_config_sync
Requirements
This module requires the following module:
Installation
Install as you would normally install a contributed Drupal module. Visit https://www.drupal.org/docs/extending-drupal/installing-modules for further information.
Configuration
This module has no configuration options. Once enabled, it automatically registers a "Config Sync" event type in the Admin Audit Trail overview and logs an `import_success` entry every time a configuration import completes. The log entry includes a summary of the changes (creates, updates, deletes) and, when available, the SSH user that triggered the import.