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

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

Uploaded Python 3

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