Current section
Files
Jump to
Current section
Files
lib/sbom/cyclonedx/v16/component_data.pb.ex
defmodule SBoM.CycloneDX.V16.ComponentData do
@moduledoc "CycloneDX ComponentData model."
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:bom_ref, 1, proto3_optional: true, type: :string, json_name: "bomRef")
field(:type, 2, type: SBoM.CycloneDX.V16.ComponentDataType, enum: true)
field(:name, 3, proto3_optional: true, type: :string)
field(:contents, 4,
proto3_optional: true,
type: SBoM.CycloneDX.V16.ComponentData.ComponentDataContents
)
field(:classification, 5, proto3_optional: true, type: :string)
field(:sensitiveData, 6, repeated: true, type: :string)
field(:graphics, 7, proto3_optional: true, type: SBoM.CycloneDX.V16.GraphicsCollection)
field(:description, 8, proto3_optional: true, type: :string)
field(:governance, 9, proto3_optional: true, type: SBoM.CycloneDX.V16.DataGovernance)
end