Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Xray Audit

871 sites Security covered Drupal 9–10 · not 11
View on drupal.org

Xray Audit provides detailed technical reports on your Drupal site's structure and configuration, helping you understand content storage, display, and management. It includes an Insights system that analyzes this data to detect unused configurations, potential issues, and optimization opportunities, which are then integrated into Drupal's Status Report. This module is useful for audits, migrations, refactoring, and ongoing maintenance, and is compatible with multisite environments.

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.

Depends on

Dependencies of the latest stable release

  • node Drupal core
  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
16
Tracked since
Sep 2024
Latest release
7 months ago
Releases (12 mo)
7 ▼ from 9
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
1.6.2 Stable 9–10 Jan 19, 2026
2.0.3 Stable 10 Jan 19, 2026
3.0.0 Stable 11 Jan 16, 2026
3.x-dev Dev 11 Jan 15, 2026
2.0.2 Stable 10–11 Nov 5, 2025
2.0.1 Stable 10–11 Nov 5, 2025
2.0.0 Stable 10–11 Nov 3, 2025
2.0.0-alpha1 Pre-release 9–11 May 26, 2025
2.x-dev Dev 10 May 26, 2025
1.6.1 Stable 9–11 Mar 26, 2025
1.6.0 Stable 9–11 Mar 21, 2025
1.5.13 Stable 9–11 Feb 21, 2025
1.5.12 Stable 9–11 Jan 9, 2025
1.5.11 Stable 9–11 Nov 15, 2024
1.5.10 Stable 9–11 Oct 11, 2024
1.5.9 Stable 9–11 Sep 26, 2024