View Source mix sbom.cyclonedx (SBoM v0.7.0)

Generates a Software Bill-of-Materials (SBoM) in CycloneDX format.

options

Options

  • --output (-o): the full path to the SBoM output file (default: bom.xml)
  • --force (-f): overwrite existing files without prompting for confirmation
  • --dev (-d): include dependencies for non-production environments (including dev, test or docs); by default only dependencies for MIX_ENV=prod are returned
  • --recurse (-r): in an umbrella project, generate individual output files for each application, rather than a single file for the entire project
  • --schema (-s): schema version to be used, defaults to "1.6"
  • --format (-t): output format: xml or json; defaults to "xml", unless the output path ends with ".json"
  • --classification (-c): the project classification, e.g. "application", "library", "framework"; defaults to "application"