From JSON to XML: Transforming SBOMs for Enhanced Software Insights through cyclonedx-cli tool

Can Özkan
2 min readNov 13, 2023

In the evolving landscape of software development, the need for transparency and interoperability has never been more crucial than before. A software bill of material (SBOM) is a comprehensive inventory of a software application’s components. As organizations strive to enhance their understanding of software supply chains, the ability to convert SBOM formats becomes a pivotal aspect. In this blog post, we delve into the world of converting SBOMs, specifically transitioning from the widely used JSON format to the versatile XML.

CycloneDX is a lightweight software bill of materials (SBOM) standard for application security contexts and supply chain component analysis. It produces a standard way of describing components, their dependencies, and how they are assembled in a software application.

The CycloneDX CLI tool currently supports BOM analysis, modification, diffing, merging, format conversion, signing, and verification.

Command:

cyclonedx-cli convert — input-file sbom.json — output-file sbom.xml

This work has been supported in part by the Energy Transition Fund of the FPS Economy of Belgium through the CYPRESS project, and in part by the VLAIO COOCK program through the IIoT-SBOM project.

Thanks for reading.

Can Özkan

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Can Özkan
Can Özkan

Written by Can Özkan

Security Researcher, Penetration Tester, and Reverse Engineer

No responses yet

Write a response