This tutorial illustrates how to create a cryptography bill of materials (CBOM) from git projects using the IBM CBOMkit application.
- git
- docker-compose
Install CBOMkit by cloning its repository by running the following:
git clone https://github.com/IBM/cbomkitNavigate and initiate the application by running:
cd cbomkit
make productionNavigate to http://localhost:8001 on your browser. You should see a page akin to the following:
To create a CBOM, navigate to the "Generate a new CBOM" section:
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:
-
Scan: Where specific branches and folders can be specified.
-
Authentication: Where repo authentication can be specified via username and password or through a personal access token (PAT).
After the scan is completed, the output will look similar to the following:
To download the created CBOM, navigate to the "Download CBOM" button on the right hand side and click on it:
The generated cbom.json file will be downloaded to your system's default downloads folder.
- The requirement
docker-composeis separate to the subcommand,docker compose.
The following section illustrates a CycloneDX Cryptographic Bill of Materials (CBOM) of the keycloak codebase, created with IBM CBOMkit.
<title>Pretty JSON Display</title> <style> #json-container { height: 400px; /* Set a fixed height */ overflow-y: auto; /* Enable vertical scrolling */ border: 2px solid #ccc; /* Optional: add a border for visibility */ padding: 10px; } #xml-container { height: 400px; /* Set a fixed height */ overflow-y: auto; /* Enable vertical scrolling */ border: 2px solid #ccc; /* Optional: add a border for visibility */ padding: 10px; } pre { margin: 0; white-space: pre-wrap; word-wrap: break-word; } </style>-
IBM. (2024, November 21). GitHub - IBM/cbomkit: A toolset for dealing with Cryptography Bill of Materials (CBOM). GitHub. https://github.com/IBM/cbomkit.
-
Keycloak. (n.d.). GitHub - keycloak/keycloak: Open Source Identity and Access Management For Modern Applications and Services. GitHub. https://github.com/keycloak/keycloak.





