CycloneDX Buildroot SBOM generator
Project description
CycloneDX Buildroot
This Buildroot python application generates CycloneDX Software Bill of Materials
(SBOM) containing all direct dependencies of a Buildroot generated project.
OWASP CycloneDX is a full-stack Bill of Materials (BOM) standard that provides advanced supply chain capabilities for
cyber risk reduction.
Buildroot provides a build target named "legal-info" which produces a set of files including manifest.csv. The legal-info
is a general "make" target for a Buildroot project.
Usage
By default, manifest.csv
will be read from the current working directory
and the resulting bom.json
will also be created in the current working directory.
This can be overwritten as follows:
$ python3 generateBuildrootSBOM.py -i <path>/manifest.csv -n "My Project" -v "1.2.3.4" -m "company name" -c cpe.json
Usage: generateBom.cli [OPTIONS]
Options:
-i <path> - filename of the output from make legal-info, example: manifest.csv
-o <path> - the bom file name to create
-n name of the project or product SBOM <project name in quotes>
-v your product SBOM version <project version in quotes>
-m SBOM manufacturer name
-c <path> - cpe file name from make show-info, example cpe.json
Diagram depicting where this project fits into the pipeline of secure development activities. Note that while the diagram depicts a linear sequence of activities, the entire sequence is typically cyclical. The end state of SBOM management receives the SBOM files for the product versions to properly manage the state of vulnerabilities over time.
CycloneDX Schema Support
The following table provides information on the version of this module, the CycloneDX schema version supported, as well as the output format options. Use the latest possible version of this module that is compatible with the CycloneDX version supported by the target system.
Version | Schema Version | Format(s) |
---|---|---|
1.0x | CycloneDX v1.4 | XML/JSON |
Copyright & License
CycloneDX Buildroot is Copyright (c) OWASP Foundation. All Rights Reserved.
Permission to modify and redistribute is granted under the terms of the Apache 2.0 license. See the LICENSE file for the full license.
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
Built Distribution
File details
Details for the file CycloneDX_Buildroot-1.0.6.tar.gz
.
File metadata
- Download URL: CycloneDX_Buildroot-1.0.6.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d64355a82c7db8264eed6802b03876da2a86a17ae961dc9f9ca8d834fc6d5218 |
|
MD5 | 0fd996216a91d8988559a5f3b8ffb6d9 |
|
BLAKE2b-256 | e519453656705f483a4ec17bb8f186f59c32aaf8146402e13a4cd8171997607b |
File details
Details for the file CycloneDX_Buildroot-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: CycloneDX_Buildroot-1.0.6-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 880d3a5b3948b59d77e705b39685d5a0e5d79b0335d57106be37971ecfd78109 |
|
MD5 | 546f9fed0f5bdef6fd163e7b8fe31588 |
|
BLAKE2b-256 | 8ed1e44a5b78671e7bef4276a063dbd403671b6609a801c7a4f901fd83824deb |