Interactive terminal frontend for viewing Software Bill of Materials (SBOM) files
Project description
Sbommage
SBOM + Rummage = Sbommage.
Pronounced (in my British English) as "ess-bomb-idge", or "SBOM Mage 🧙" if you prefer.
Sbommage is an interactive terminal frontend for viewing Software Bill of Materials (SBOM) files in various formats.
Introduction
Software Bill of Materials (SBOM) files are increasingly important in software supply chain security. However, they come in multiple formats (SPDX, CycloneDX, Syft's native format), each with their own structure and complexity. Sbommage aims to provide a consistent, user-friendly way to view and explore SBOM data, regardless of the underlying format.
Installation
Sbommage is written in Python and requires Python 3.8 or later.
From PyPI (Recommended)
The easiest way to install sbommage is from PyPI:
pip install sbommage
Or use the install script:
curl -sSL https://raw.githubusercontent.com/popey/sbommage/main/install.sh | bash
From GitHub Releases
Download the latest release from the GitHub releases page.
Using Homebrew (macOS/Linux)
brew tap popey/sbommage
brew install sbommage
Using Docker
Note: -it is required for interaction with the application. Setting the TERM variable allows for better colour support.
docker run --rm -it -e TERM=xterm-256color -v $(pwd):/data ghcr.io/popey/sbommage:latest /data/your-sbom.json
From Source
For development or if you prefer to install from source:
git clone https://github.com/popey/sbommage
cd sbommage
pip install -e .
Using uv (Alternative)
If you use uv for Python environment management:
git clone https://github.com/popey/sbommage
cd sbommage
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e .
Usage
Point sbommage at an SBOM file:
./sbommage example_sboms/nextcloud-latest-syft-sbom.json
Sbommage will detect the SBOM format (SPDX, CycloneDX, GitHub, or Syft), and present the data in an interactive interface. Use the cursor keys or mouse to navigate the tree on the left pane. Click or press Enter on an item to see detailed information in the right pane.
Keys:
Change view:
n- View by package Namet- View by package Typec- View by License (Copyright/Code)s- View by Supplier
Navigation:
h- Move leftj- Move downk- Move upl- Move right
Misc:
/- Searchq- Quit
Supported SBOM Formats
The goal is to support as many SBOM formats as possible. Patches welcome!
- SPDX
- CycloneDX (JSON)
- GitHub
- Syft
Generating SBOMs
There are various tools available to generate SBOMs:
- Syft - Generates comprehensive SBOMs in multiple formats
- SPDX Tools - Official SPDX tools
- CycloneDX Tools - Various tools for CycloneDX format
For example, to generate an SBOM with Syft:
syft alpine:latest -o json > alpine-syft.json
Caveats
I am an open-source enthusiast and self-taught coder creating projects driven by curiosity and a love for problem-solving. The code may have bugs or sharp edges. Kindly let me know if you find one, via an issue. Thanks.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sbommage-1.0.2.tar.gz.
File metadata
- Download URL: sbommage-1.0.2.tar.gz
- Upload date:
- Size: 17.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
383ea408f380811c930f8d0ed470bcbb8c1b33fa1d39e653f0e6c623db38e6af
|
|
| MD5 |
61002657083ac3132db8d59858387f9e
|
|
| BLAKE2b-256 |
918b51e42640f857aa5a356827305dde378664cc50796bf0739db460c5afc719
|
Provenance
The following attestation bundles were made for sbommage-1.0.2.tar.gz:
Publisher:
release.yml on popey/sbommage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sbommage-1.0.2.tar.gz -
Subject digest:
383ea408f380811c930f8d0ed470bcbb8c1b33fa1d39e653f0e6c623db38e6af - Sigstore transparency entry: 411040114
- Sigstore integration time:
-
Permalink:
popey/sbommage@845b90f3376bfdd463c1548215ac7691b909bddd -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/popey
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@845b90f3376bfdd463c1548215ac7691b909bddd -
Trigger Event:
push
-
Statement type:
File details
Details for the file sbommage-1.0.2-py3-none-any.whl.
File metadata
- Download URL: sbommage-1.0.2-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80a84ecf475037a23a6bcf44aa5b07091284429d45c930ae04afd6cd47c68cc2
|
|
| MD5 |
72fe183eb8b0d22dd0f2c543e2bc5885
|
|
| BLAKE2b-256 |
5f6959713cf27e64b661af02bc72fb645c80c52169a97efb2e256767c878c1bf
|
Provenance
The following attestation bundles were made for sbommage-1.0.2-py3-none-any.whl:
Publisher:
release.yml on popey/sbommage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sbommage-1.0.2-py3-none-any.whl -
Subject digest:
80a84ecf475037a23a6bcf44aa5b07091284429d45c930ae04afd6cd47c68cc2 - Sigstore transparency entry: 411040136
- Sigstore integration time:
-
Permalink:
popey/sbommage@845b90f3376bfdd463c1548215ac7691b909bddd -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/popey
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@845b90f3376bfdd463c1548215ac7691b909bddd -
Trigger Event:
push
-
Statement type: