Tool for creating, modifying and validating CycloneDX SBOMs.
Project description
CycloneDX Editor/Validator
This command-line tool performs various actions on CycloneDX SBOMs. It allows you to modify, merge and validate your Software Bill of Materials (SBOM).
The tool is built with automation in mind, i.e. usage within CI/CD. We try to be as scriptable as possible with various command-line flags, avoiding interactive prompts, providing multiple output options and fine-grained exit codes.
Command overview
Command | Description |
---|---|
amend | Accepts a single input file and will apply one or multiple operations to it. Each operation modifies certain aspects of the SBOM. These modifications cannot be targeted at individual components in the SBOM which sets the amend command apart from set. Its use-case is ensuring an SBOM fulfils certain requirements in an automated fashion. |
build-public | Creates a redacted version of an SBOM fit for publication. |
init-sbom | Provides a first draft of an SBOM for manual completion. |
list | Lists content of the SBOM. |
merge | Merges two or more CycloneDX documents into one. |
merge-vex | [Deprecated] Merges the vex information in two or more CycloneDX documents into one. |
set | Sets properties on specified components to specified values. If a component in an SBOM is missing a particular property or the property is present but has a wrong value, this command can be used to modify just the affected properties without changing the rest of the SBOM. |
validate | Validate the SBOM against a built-in or user-provided JSON schema. |
Installation and usage
This tool is published on PyPi.
For detailed installation and usage guides, please refer to our official documentation.
Contributing
See our contribution guidelines.
License
This software is made available under the GNU General Public License v3 (GPL-3.0-or-later).
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
File details
Details for the file cyclonedx_editor_validator-0.20.1.tar.gz
.
File metadata
- Download URL: cyclonedx_editor_validator-0.20.1.tar.gz
- Upload date:
- Size: 277.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a70be12af0858e1503738e0bbadb248bc193e93de89b623f1935e20723ab4daa |
|
MD5 | 0bf8029e3bb895ebc6c4181bb3dda8bd |
|
BLAKE2b-256 | 4aff4ce8f18d4f1fdd0a9810e09268e41548d7bec92a3da1b0322e1af041f1be |
File details
Details for the file cyclonedx_editor_validator-0.20.1-py3-none-any.whl
.
File metadata
- Download URL: cyclonedx_editor_validator-0.20.1-py3-none-any.whl
- Upload date:
- Size: 299.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 494fa47bad0df9bd2299d9449445f4115944e0c5b7172bf4e7f5f100998b0eee |
|
MD5 | f92da7493c7a5eb6de4362aa412165a6 |
|
BLAKE2b-256 | dda4cad89d31f76676ae7f458a41c02341e3648335f94ecbd474dc2eee9a6ae6 |