Convert your SBOM from CSV to CycloneDX
Use an open-source tool
Install CycloneDX-CLI.
Run the tool, using the “--output-format json” option. This will output the file as a JSON file format. For example, from your directory (ours is ./bin/linux-x64/cyclonedx), you would enter the following in the command line (in our example, we used source_sbom_cyclonedx.csv as our source CSV file, then destination_sbom_cyclonedx.json as the output JSON file that we were creating from the CSV file): convert --input-file source_sbom_cyclonedx.csv -–output-format json > destination_sbom_cyclonedx.json
Write a custom script
You can write a custom script in Python or your favorite language to convert the file from CSV to CycloneDX JSON.
Last updated