Generating a Buildroot SBOM
cvescan-buildroot allows you to generate .inventory.json SBOMs file for your Buildroot project starting from version 2022.02. Let's follow the instructions from CVEScan-Buildroot readme.
Add the cvescan-buildroot-external folder as a Buildroot external, as
described in Buildroot
manual:
If you already use some externals, using multiple externals is supported:
The inventory can be created using the cvescan-inventory target:
The inventory file will be created in your output folder (output/ by default),
named as buildroot.inventory.json.
It can be fed to the CVEScan run subcommand as: