Current section

Files

Jump to
sbom lib sbom cyclonedx v16 bom.pb.ex
Raw

lib/sbom/cyclonedx/v16/bom.pb.ex

defmodule SBoM.Cyclonedx.V16.Bom do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:spec_version, 1, type: :string, json_name: "specVersion")
field(:version, 2, proto3_optional: true, type: :int32)
field(:serial_number, 3, proto3_optional: true, type: :string, json_name: "serialNumber")
field(:metadata, 4, proto3_optional: true, type: SBoM.Cyclonedx.V16.Metadata)
field(:components, 5, repeated: true, type: SBoM.Cyclonedx.V16.Component)
field(:services, 6, repeated: true, type: SBoM.Cyclonedx.V16.Service)
field(:external_references, 7,
repeated: true,
type: SBoM.Cyclonedx.V16.ExternalReference,
json_name: "externalReferences"
)
field(:dependencies, 8, repeated: true, type: SBoM.Cyclonedx.V16.Dependency)
field(:compositions, 9, repeated: true, type: SBoM.Cyclonedx.V16.Composition)
field(:vulnerabilities, 10, repeated: true, type: SBoM.Cyclonedx.V16.Vulnerability)
field(:annotations, 11, repeated: true, type: SBoM.Cyclonedx.V16.Annotation)
field(:properties, 12, repeated: true, type: SBoM.Cyclonedx.V16.Property)
field(:formulation, 13, repeated: true, type: SBoM.Cyclonedx.V16.Formula)
field(:declarations, 14, repeated: true, type: SBoM.Cyclonedx.V16.Declarations)
field(:definitions, 15, repeated: true, type: SBoM.Cyclonedx.V16.Definition)
end