Current section
Files
Jump to
Current section
Files
lib/sbom/cyclonedx/v13/component.pb.ex
defmodule SBoM.CycloneDX.V13.Component do
@moduledoc "CycloneDX Component model."
use Protobuf,
full_name: "cyclonedx.v1_3.Component",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field(:type, 1, type: SBoM.CycloneDX.V13.Classification, enum: true)
field(:mime_type, 2, proto3_optional: true, type: :string, json_name: "mimeType")
field(:bom_ref, 3, proto3_optional: true, type: :string, json_name: "bomRef")
field(:supplier, 4, proto3_optional: true, type: SBoM.CycloneDX.V13.OrganizationalEntity)
field(:author, 5, proto3_optional: true, type: :string)
field(:publisher, 6, proto3_optional: true, type: :string)
field(:group, 7, proto3_optional: true, type: :string)
field(:name, 8, type: :string)
field(:version, 9, type: :string)
field(:description, 10, proto3_optional: true, type: :string)
field(:scope, 11, proto3_optional: true, type: SBoM.CycloneDX.V13.Scope, enum: true)
field(:hashes, 12, repeated: true, type: SBoM.CycloneDX.V13.Hash)
field(:licenses, 13, repeated: true, type: SBoM.CycloneDX.V13.LicenseChoice)
field(:copyright, 14, proto3_optional: true, type: :string)
field(:cpe, 15, proto3_optional: true, type: :string)
field(:purl, 16, proto3_optional: true, type: :string)
field(:swid, 17, proto3_optional: true, type: SBoM.CycloneDX.V13.Swid)
field(:modified, 18, proto3_optional: true, type: :bool)
field(:pedigree, 19, proto3_optional: true, type: SBoM.CycloneDX.V13.Pedigree)
field(:external_references, 20,
repeated: true,
type: SBoM.CycloneDX.V13.ExternalReference,
json_name: "externalReferences"
)
field(:components, 21, repeated: true, type: SBoM.CycloneDX.V13.Component)
field(:properties, 22, repeated: true, type: SBoM.CycloneDX.V13.Property)
field(:evidence, 23, repeated: true, type: SBoM.CycloneDX.V13.Evidence)
end