View Source SBoM.CycloneDX (SBoM v0.7.0)

Generate a CycloneDX SBoM in XML format.

Link to this section Summary

Functions

Generate a CycloneDX SBoM in XML or JSON format from the specified list of components. Returns an iolist, which may be written to a file or IO device, or converted to a String using IO.iodata_to_binary/1

Link to this section Functions

Link to this function

bom(components, options \\ [])

View Source

Generate a CycloneDX SBoM in XML or JSON format from the specified list of components. Returns an iolist, which may be written to a file or IO device, or converted to a String using IO.iodata_to_binary/1

The first component in the list is assumed to be the top-level component that the SBoM describes.

If no serial number is specified a random UUID is generated.