DruBOM builds a software bill of materials (SBOM) of your Drupal site, checks it against public security advisories, and exports it as SPDX 3.0.1. It runs in pure PHP, with no external binaries.

Why an SBOM. An SBOM lists every component a site is built from: name, version, license and where it comes from. Security teams, auditors and customers increasingly ask for one, and you need it to answer "are we affected?" when a new vulnerability is published.

Software inventory overview with open findings in installed packages, a known exploited package, snapshot and advisory check times, and package counts by ecosystem

The overview: whether installed packages are at risk, when the site was last checked, and what it is built from.

Features

Dependency map of a 2,026-package site, with packages grouped around the Drupal projects that bring them in

The dependency map: every package on the site, grouped around the Drupal projects that bring it in.

Post-installation

  1. Configure a private file system; snapshots are stored there.
  2. Go to Reports > Software inventory and take the first snapshot.
  3. Optionally, enable advisory sources and known exploited catalogs in the settings, then check the snapshot.
  4. Set the organization that issues decisions if you want them in the export.

Additional requirements

Drupal 11.3 or later, or Drupal 12, and a private file system. No external binaries.

Upgrading from the Syft and Grype version

The integration with Syft and Grype is removed. drush updb saves your last stored reports as files before removing the old settings.

Documentation

Similar projects

Supporting this module

Development is supported by SparkFabrik.