SBOMgensbomgen

Creating CBOMs Using the IBM Cbomkit Application

Introduction

This tutorial illustrates how to create a cryptography bill of materials (CBOM) from git projects using the IBM CBOMkit application.

Requirements

Installation

Install CBOMkit by cloning its repository by running the following:

git clone https://github.com/IBM/cbomkit

Navigate and initiate the application by running:

cd cbomkit
make production

Navigate to http://localhost:8001 on your browser. You should see a page akin to the following:

homepage

Usage

To create a CBOM, navigate to the “Generate a new CBOM” section:

generate

Then, paste the URL of the git repo in question. Then, click “Scan”.

Advanced settings are accessed via clicking the “Advanced options” checkbox. The advanced options are:

After the scan is completed, the output will look similar to the following:

result

To download the created CBOM, navigate to the “Download CBOM” button on the right hand side and click on it:

download

The generated cbom.json file will be downloaded to your system’s default downloads folder.

Notes

Example SBOM

The following section illustrates a CycloneDX Cryptographic Bill of Materials (CBOM) of the keycloak codebase, created with IBM CBOMkit.

Pretty JSON Display

keycloak


    

References