Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

xray_audit

936 sites Security covered
View on drupal.org

Xray Audit provides detailed technical reports on the structure and configuration of a Drupal site. It helps developers, site builders, and administrators understand how content is stored, displayed, and managed.

The module covers content entities, field definitions, display modes, access control, user roles, views, menus, and more. It is especially useful for audits, migrations, refactoring, and ongoing maintenance.

A key feature of Xray Audit is its Insights system, which analyzes report data to detect unused configurations, potential issues, and optimization opportunities. Insights are integrated with Drupal’s Status Report, making them easy to monitor and act upon.

Xray Audit is compatible with multisite environments. The module is under active development, and new reports and improvements are added regularly.

Key Features

  • Analyze content entity types and their usage
  • Get display configuration per bundle and entity type
  • Report about entity definitions and field configuration
  • Inspect roles, permissions, users, and menus
  • List of view configurations
  • Check cache configuration
  • Report on module and theme usage (multisite compatible)
  • Group metrics by entity type (nodes, paragraphs, blocks, media)
  • View database size and tables
  • Integrate with Drupal Status Report via Xray Audit Insights submodule

Available Reports

Content Model

  • Content Entity Types – Lists all entity types (core, contrib, custom)
  • Content Entity Definitions – Definitions and configuration of entities
  • Taxonomy Vocabularies – Vocabulary and field descriptions

Content Display

  • Node Displays
  • Paragraph Displays
  • Media Displays
  • Taxonomy Term Displays
  • Block Displays

Layout

  • Block Placement – Block regions and visibility settings

Content Metrics

  • Node Reports
  • Paragraph Reports
  • Block Reports
  • Taxonomy Reports
  • Media Reports

Access & Users

  • Role Overview – Roles and permissions
  • User Overview – User totals and statuses

Site Structure

  • Menus – Menu trees and items
  • Views – Status and caching configuration

Packages

  • Modules – Installed module list
  • Themes – Installed and active themes

System

  • Database Info – Table sizes and database statistics

Insights

Xray Audit Insights is a Xray Audit submodule that identifies issues and improvement opportunities automatically based on the report data. They are displayed in a unified interface and integrated with Drupal’s Status Report system.

Each insight includes:

  • A short description
  • A severity level (info, warning, critical)
  • A link to the related report for further details

List of Insights

  • Entity bundles that are defined but not used
  • Enabled modules that are unused across environments
  • Cache configuration checks (Drupal cache, reverse proxy, Views)
  • High volume of paragraph revisions
  • Access to administrative views without proper restrictions
  • Oversized database tables

Insights reduce manual auditing work and support proactive maintenance, especially in complex or large-scale projects.


Do you have any new insight in mind? please open a feature request.

Adding new reports

The development of the module has been based on Drupal's plugin system to facilitate the integration of new reports. Developers can find instructions on how to do this in the README.

Resources

Related projects

  • Content Model Documentation: offers a documentation entity to document parts of the site and provides a content relationship diagram on entites.

Activity

Total releases
12
First release
Feb 2025
Latest release
2 months ago
Release cadence
30 days
Stability
75% stable

Release Timeline

Releases

Version Type Release date
1.6.2 Stable Jan 19, 2026
2.0.3 Stable Jan 19, 2026
3.0.0 Stable Jan 16, 2026
3.x-dev Dev Jan 15, 2026
2.0.2 Stable Nov 5, 2025
2.0.1 Stable Nov 5, 2025
2.0.0 Stable Nov 3, 2025
2.0.0-alpha1 Pre-release May 26, 2025
2.x-dev Dev May 26, 2025
1.6.1 Stable Mar 26, 2025
1.6.0 Stable Mar 21, 2025
1.5.13 Stable Feb 21, 2025