mix sbom.cyclonedx (SBoM v0.8.0)

View Source

Mix SBoM 0.8.0 Erlang Ecosystem Foundation Generate CycloneDX SBoM

Usage

mix_sbom cyclonedx \
  [--force] \
  [--recurse] \
  [--pretty] \
  [--output OUTPUT_PATH] \
  [--schema SCHEMA_VERSION] \
  [--format FORMAT] \
  [--only ONLY] \
  [--targets TARGETS] \
  [--classification CLASSIFICATION]

Flags

  • -f, -force Overwrite existing output file if it exists
  • -r, -recurse Recurse into umbrella applications to generate SBoM for all apps
  • -p, -pretty Pretty print the SBoM

Options

  • -o, -output Path to write the generated SBoM to. Use '-' for STDOUT
  • -s, -schema CycloneDX schema version to use (default: 1.6)
  • -t, -format Output format, one of xml, json, protobuf
  • -l, -only Only include components used in the specified environment (default: ["*"])
  • -a, -targets Comma-separated list of Mix targets to include components from (default: ["*"])
  • -c, -classification Specifies the type of application being described (default: CLASSIFICATION_APPLICATION)