Skip to main content

Tool for creating, modifying and validating CycloneDX SBOMs.

Project description

build and test security: bandit Code style: black Checked with mypy Imports: isort 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.
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


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.19.0.tar.gz (273.1 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: cyclonedx_editor_validator-0.19.0.tar.gz
  • Upload date:
  • Size: 273.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-1014-azure

File hashes

Hashes for cyclonedx_editor_validator-0.19.0.tar.gz
Algorithm Hash digest
SHA256 952bd4952324e4fe596d6ffbc84429bae26b720d81b37ca617c57f1cdbfe9bc3
MD5 a909855fad5613db13182c548f1822cd
BLAKE2b-256 93025cb690799d548029feb1e0b0a7a298e5ef52a362be3b4cb2fc7eeeccb31e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cyclonedx_editor_validator-0.19.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89ed229d0cca73f320788a9c04c57a21d338f05c8465c9e4b80ba4a63e9caf95
MD5 89590915324871d1155ad0102584b6b9
BLAKE2b-256 a1a4d88e3dfcd086c4c2e2a5eac2c34ddca5ca83772ffbed666085e1131e801d

See more details on using hashes here.

Supported by

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