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.0.tar.gz
.
File metadata
- Download URL: cyclonedx_editor_validator-0.20.0.tar.gz
- Upload date:
- Size: 277.4 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 | ea312c610267847990ea33d4cc6ca81f93d1b7b6c55520b08168c6811584b507 |
|
MD5 | cc1d9b7b1e177e5388c3030fda98a825 |
|
BLAKE2b-256 | 21bed8c894b41a67d9eec0caff7232f4c3f7975af6736d3501037b2c94ee1617 |
File details
Details for the file cyclonedx_editor_validator-0.20.0-py3-none-any.whl
.
File metadata
- Download URL: cyclonedx_editor_validator-0.20.0-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 | ecfc5c6f2d4b4c86b4cad6c22b95869288fa8e7e1f5a5f7299788ed8a34edcaa |
|
MD5 | b2ebf56946c466f336edc30a74ec08f5 |
|
BLAKE2b-256 | 6312a916b66faff896ffa08821bbabf6687fc0c75fc1f6e812d2281f7f587595 |