SBoM v0.6.1 SBoM.CycloneDX View Source

Generate a CycloneDX SBoM in XML format.

Link to this section Summary

Functions

Generate a CycloneDX SBoM in XML 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, serial \\ nil)

View Source

Generate a CycloneDX SBoM in XML 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

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