Joint two SBOM files in JSON format
Project description
WS Joint SBOM Tool in SPDX format
CLI Tool to generate joint SBOM report in SPDX format from two SBOM reports.
- The tool can generate mutual report from two SBOM reports just in JSON format.
- Both source files should be in JSON format also.
Prerequisites
Python 3.9+
Installation and Execution by pulling package from PyPi:
- Execute pip install
pip install ws-joint-sbom-reports
- Run report:
ws_joint_sbom_reports -f1 <FIRST_FILE> -f2 <SECOND_FILE> -o <OUTPUT_FILE> -hf <HEAD_FILE>
Required and Optional arguments:
-h, --help show this help message and exit
-f1 FIRST_FILE, --first_file
FIRST_FILE
-f2 SECOND_FILE, --second_file
SECOND_FILE
-hf HEAD_FILE, --head_file
Taking head of data from First file if True (default) or from second file if False
-o OUTPUT_FILE, --output_file
OUTPUT_FILE
Examples:
# Create output report with head data from first file
ws_joint_sbom_reports -f1 <FIRST_FILE> -f2 <SECOND_FILE> -o <OUTPUT_FILE>
# Create output report with head data from second file
ws_joint_sbom_reports -f1 <FIRST_FILE> -f2 <SECOND_FILE> -o <OUTPUT_FILE> -hf False
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file ws_joint_sbom_reports-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: ws_joint_sbom_reports-0.0.4-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce444158540676d67a3ee86ee813676b1a57eb2697ddbb9076e4ebfe5365f4e0 |
|
MD5 | d916855cd79de078115dcd23dc7633a6 |
|
BLAKE2b-256 | 507703a20c26059e27f26f4db7da0c99889d0a271f06cdeabec6407200a1e7b1 |