Skip to main content

Tool for creating, modifying and validating CycloneDX SBOMs.

Project description

build and test OpenSSF Scorecard OpenSSF Best Practices Ruff Checked with mypy Static Badge

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.
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.
vex Apply different operations on VEX-files.

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

cyclonedx_editor_validator-0.30.9.tar.gz (520.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cyclonedx_editor_validator-0.30.9-py3-none-any.whl (310.4 kB view details)

Uploaded Python 3

File details

Details for the file cyclonedx_editor_validator-0.30.9.tar.gz.

File metadata

File hashes

Hashes for cyclonedx_editor_validator-0.30.9.tar.gz
Algorithm Hash digest
SHA256 1f12e22b1d3392b79024adca1d1379a0b6b5a8b284cef0a0913c16066e1a29da
MD5 9838bde16b9ee50580e31e9e5722da2d
BLAKE2b-256 b363e995025bc4b602d3fc3534ce887f5c533c522ad342d6d35c683e43de95d4

See more details on using hashes here.

File details

Details for the file cyclonedx_editor_validator-0.30.9-py3-none-any.whl.

File metadata

File hashes

Hashes for cyclonedx_editor_validator-0.30.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4e4bdd32b3ab6f4b60f54bfd430b1f96402dcf24b9f6fb22f0627a8653b49168
MD5 2fde3739a177bb698dd1d4ccf5bd3738
BLAKE2b-256 14a71f5795bd1e33a666c8d5d031f9f0cdb0c1bd13c399c2389fabf8a3addafe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page