Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Config Guardian

2 sites Security covered
View on drupal.org

Config Guardian helps teams manage Drupal configuration changes with confidence by providing point-in-time snapshots, visual impact analysis, and a reliable rollback system. It allows developers and SREs to see the potential risks of configuration changes and easily revert to a previous state if something goes wrong.

Config Guardian elevates Drupal configuration management to an enterprise standard. It provides a comprehensive safety net for development teams by introducing point-in-time snapshots, advanced impact analysis, and a reliable rollback engine.

While Drupal's core CMI is powerful, it lacks historical context and granular risk assessment. Config Guardian fills this gap, allowing Site Reliability Engineers (SREs) and developers to deploy changes with absolute confidence.

🛡️ Config Guardian Core Features

  • Instant Snapshots: Capture Active Config + Sync Directory in seconds.
  • Safe Rollback Engine: Simulation mode and conflict detection before restoring.
  • Visual Impact Analysis: D3.js interactive graph for dependency mapping.
  • Risk Assessment: Automatic risk scoring (0-100) for pending changes.
  • Integrity Verification: SHA-256 hashing ensures data is never corrupted.
  • Audit Trails: Detailed activity logging for compliance (Who, What, When).
  • Automated Backups: Hourly, Daily, or Weekly schedules with retention policies.

🚀 Why use Config Guardian?

Deploying configuration changes to production can be stressful. A missing dependency or an unexpected override can break critical site functionality. Config Guardian allows you to "Look before you leap" and "Undo" if you slip.

1. Visual Dependency Analysis

Don't read YAML files to understand relationships. Use the built-in Dependency Graph to visualize exactly how modifying a Field Storage will impact your Views, Search Indexes, and Form Displays. The module calculates a Risk Score to warn you about high-impact changes.

2. Disaster Recovery Strategy

Core configuration import is destructive. Config Guardian makes it reversible. Before any import, the system takes an automatic snapshot. If something goes wrong, the Rollback Engine restores the site to its exact previous state—including the sync directory—ensuring zero downtime.

📦 Installation

composer require drupal/config_guardian
drush en config_guardian -y

đź”§ Advanced Integration

  • Drush Support: Full CLI integration for CI/CD pipelines (drush cg-snap, drush cg-rollback).
  • Performance: Zero impact on frontend performance. Admin dashboard uses smart caching tags.
  • Security: Snapshots are stored with optional GZIP compression and strict database-level access controls.

Developed and maintained by Andrés Moreno. Architecture follows strict Drupal Coding Standards and Enterprise Security Best Practices.

Activity

Total releases
4
First release
Dec 2025
Latest release
1 month ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.3 Stable Jun 12, 2026
1.0.2 Stable Jun 8, 2026
1.0.1 Stable May 25, 2026
1.0.0 Stable Dec 10, 2025