Skip to main content

Joint two SBOM files in JSON format

Project description

Logo
License CI Python 3.8 GitHub release

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:

  1. Execute pip install pip install ws-joint-sbom-reports
  2. 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


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

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

ws_joint_sbom_reports-0.0.4-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file ws_joint_sbom_reports-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for ws_joint_sbom_reports-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ce444158540676d67a3ee86ee813676b1a57eb2697ddbb9076e4ebfe5365f4e0
MD5 d916855cd79de078115dcd23dc7633a6
BLAKE2b-256 507703a20c26059e27f26f4db7da0c99889d0a271f06cdeabec6407200a1e7b1

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