cyclonedx_v1_4

package
v5.0.88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2023 License: BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Classification_name = map[int32]string{
		0: "CLASSIFICATION_NULL",
		1: "CLASSIFICATION_APPLICATION",
		2: "CLASSIFICATION_FRAMEWORK",
		3: "CLASSIFICATION_LIBRARY",
		4: "CLASSIFICATION_OPERATING_SYSTEM",
		5: "CLASSIFICATION_DEVICE",
		6: "CLASSIFICATION_FILE",
		7: "CLASSIFICATION_CONTAINER",
		8: "CLASSIFICATION_FIRMWARE",
	}
	Classification_value = map[string]int32{
		"CLASSIFICATION_NULL":             0,
		"CLASSIFICATION_APPLICATION":      1,
		"CLASSIFICATION_FRAMEWORK":        2,
		"CLASSIFICATION_LIBRARY":          3,
		"CLASSIFICATION_OPERATING_SYSTEM": 4,
		"CLASSIFICATION_DEVICE":           5,
		"CLASSIFICATION_FILE":             6,
		"CLASSIFICATION_CONTAINER":        7,
		"CLASSIFICATION_FIRMWARE":         8,
	}
)

Enum value maps for Classification.

View Source
var (
	DataFlow_name = map[int32]string{
		0: "DATA_FLOW_NULL",
		1: "DATA_FLOW_INBOUND",
		2: "DATA_FLOW_OUTBOUND",
		3: "DATA_FLOW_BI_DIRECTIONAL",
		4: "DATA_FLOW_UNKNOWN",
	}
	DataFlow_value = map[string]int32{
		"DATA_FLOW_NULL":           0,
		"DATA_FLOW_INBOUND":        1,
		"DATA_FLOW_OUTBOUND":       2,
		"DATA_FLOW_BI_DIRECTIONAL": 3,
		"DATA_FLOW_UNKNOWN":        4,
	}
)

Enum value maps for DataFlow.

View Source
var (
	ExternalReferenceType_name = map[int32]string{
		0:  "EXTERNAL_REFERENCE_TYPE_OTHER",
		1:  "EXTERNAL_REFERENCE_TYPE_VCS",
		2:  "EXTERNAL_REFERENCE_TYPE_ISSUE_TRACKER",
		3:  "EXTERNAL_REFERENCE_TYPE_WEBSITE",
		4:  "EXTERNAL_REFERENCE_TYPE_ADVISORIES",
		5:  "EXTERNAL_REFERENCE_TYPE_BOM",
		6:  "EXTERNAL_REFERENCE_TYPE_MAILING_LIST",
		7:  "EXTERNAL_REFERENCE_TYPE_SOCIAL",
		8:  "EXTERNAL_REFERENCE_TYPE_CHAT",
		9:  "EXTERNAL_REFERENCE_TYPE_DOCUMENTATION",
		10: "EXTERNAL_REFERENCE_TYPE_SUPPORT",
		11: "EXTERNAL_REFERENCE_TYPE_DISTRIBUTION",
		12: "EXTERNAL_REFERENCE_TYPE_LICENSE",
		13: "EXTERNAL_REFERENCE_TYPE_BUILD_META",
		14: "EXTERNAL_REFERENCE_TYPE_BUILD_SYSTEM",
	}
	ExternalReferenceType_value = map[string]int32{
		"EXTERNAL_REFERENCE_TYPE_OTHER":         0,
		"EXTERNAL_REFERENCE_TYPE_VCS":           1,
		"EXTERNAL_REFERENCE_TYPE_ISSUE_TRACKER": 2,
		"EXTERNAL_REFERENCE_TYPE_WEBSITE":       3,
		"EXTERNAL_REFERENCE_TYPE_ADVISORIES":    4,
		"EXTERNAL_REFERENCE_TYPE_BOM":           5,
		"EXTERNAL_REFERENCE_TYPE_MAILING_LIST":  6,
		"EXTERNAL_REFERENCE_TYPE_SOCIAL":        7,
		"EXTERNAL_REFERENCE_TYPE_CHAT":          8,
		"EXTERNAL_REFERENCE_TYPE_DOCUMENTATION": 9,
		"EXTERNAL_REFERENCE_TYPE_SUPPORT":       10,
		"EXTERNAL_REFERENCE_TYPE_DISTRIBUTION":  11,
		"EXTERNAL_REFERENCE_TYPE_LICENSE":       12,
		"EXTERNAL_REFERENCE_TYPE_BUILD_META":    13,
		"EXTERNAL_REFERENCE_TYPE_BUILD_SYSTEM":  14,
	}
)

Enum value maps for ExternalReferenceType.

View Source
var (
	HashAlg_name = map[int32]string{
		0:  "HASH_ALG_NULL",
		1:  "HASH_ALG_MD_5",
		2:  "HASH_ALG_SHA_1",
		3:  "HASH_ALG_SHA_256",
		4:  "HASH_ALG_SHA_384",
		5:  "HASH_ALG_SHA_512",
		6:  "HASH_ALG_SHA_3_256",
		7:  "HASH_ALG_SHA_3_384",
		8:  "HASH_ALG_SHA_3_512",
		9:  "HASH_ALG_BLAKE_2_B_256",
		10: "HASH_ALG_BLAKE_2_B_384",
		11: "HASH_ALG_BLAKE_2_B_512",
		12: "HASH_ALG_BLAKE_3",
	}
	HashAlg_value = map[string]int32{
		"HASH_ALG_NULL":          0,
		"HASH_ALG_MD_5":          1,
		"HASH_ALG_SHA_1":         2,
		"HASH_ALG_SHA_256":       3,
		"HASH_ALG_SHA_384":       4,
		"HASH_ALG_SHA_512":       5,
		"HASH_ALG_SHA_3_256":     6,
		"HASH_ALG_SHA_3_384":     7,
		"HASH_ALG_SHA_3_512":     8,
		"HASH_ALG_BLAKE_2_B_256": 9,
		"HASH_ALG_BLAKE_2_B_384": 10,
		"HASH_ALG_BLAKE_2_B_512": 11,
		"HASH_ALG_BLAKE_3":       12,
	}
)

Enum value maps for HashAlg.

View Source
var (
	IssueClassification_name = map[int32]string{
		0: "ISSUE_CLASSIFICATION_NULL",
		1: "ISSUE_CLASSIFICATION_DEFECT",
		2: "ISSUE_CLASSIFICATION_ENHANCEMENT",
		3: "ISSUE_CLASSIFICATION_SECURITY",
	}
	IssueClassification_value = map[string]int32{
		"ISSUE_CLASSIFICATION_NULL":        0,
		"ISSUE_CLASSIFICATION_DEFECT":      1,
		"ISSUE_CLASSIFICATION_ENHANCEMENT": 2,
		"ISSUE_CLASSIFICATION_SECURITY":    3,
	}
)

Enum value maps for IssueClassification.

View Source
var (
	PatchClassification_name = map[int32]string{
		0: "PATCH_CLASSIFICATION_NULL",
		1: "PATCH_CLASSIFICATION_UNOFFICIAL",
		2: "PATCH_CLASSIFICATION_MONKEY",
		3: "PATCH_CLASSIFICATION_BACKPORT",
		4: "PATCH_CLASSIFICATION_CHERRY_PICK",
	}
	PatchClassification_value = map[string]int32{
		"PATCH_CLASSIFICATION_NULL":        0,
		"PATCH_CLASSIFICATION_UNOFFICIAL":  1,
		"PATCH_CLASSIFICATION_MONKEY":      2,
		"PATCH_CLASSIFICATION_BACKPORT":    3,
		"PATCH_CLASSIFICATION_CHERRY_PICK": 4,
	}
)

Enum value maps for PatchClassification.

View Source
var (
	Scope_name = map[int32]string{
		0: "SCOPE_UNSPECIFIED",
		1: "SCOPE_REQUIRED",
		2: "SCOPE_OPTIONAL",
		3: "SCOPE_EXCLUDED",
	}
	Scope_value = map[string]int32{
		"SCOPE_UNSPECIFIED": 0,
		"SCOPE_REQUIRED":    1,
		"SCOPE_OPTIONAL":    2,
		"SCOPE_EXCLUDED":    3,
	}
)

Enum value maps for Scope.

View Source
var (
	Aggregate_name = map[int32]string{
		0: "AGGREGATE_NOT_SPECIFIED",
		1: "AGGREGATE_COMPLETE",
		2: "AGGREGATE_INCOMPLETE",
		3: "AGGREGATE_INCOMPLETE_FIRST_PARTY_ONLY",
		4: "AGGREGATE_INCOMPLETE_THIRD_PARTY_ONLY",
		5: "AGGREGATE_UNKNOWN",
	}
	Aggregate_value = map[string]int32{
		"AGGREGATE_NOT_SPECIFIED":               0,
		"AGGREGATE_COMPLETE":                    1,
		"AGGREGATE_INCOMPLETE":                  2,
		"AGGREGATE_INCOMPLETE_FIRST_PARTY_ONLY": 3,
		"AGGREGATE_INCOMPLETE_THIRD_PARTY_ONLY": 4,
		"AGGREGATE_UNKNOWN":                     5,
	}
)

Enum value maps for Aggregate.

View Source
var (
	Severity_name = map[int32]string{
		0: "SEVERITY_UNKNOWN",
		1: "SEVERITY_CRITICAL",
		2: "SEVERITY_HIGH",
		3: "SEVERITY_MEDIUM",
		4: "SEVERITY_LOW",
		5: "SEVERITY_INFO",
		6: "SEVERITY_NONE",
	}
	Severity_value = map[string]int32{
		"SEVERITY_UNKNOWN":  0,
		"SEVERITY_CRITICAL": 1,
		"SEVERITY_HIGH":     2,
		"SEVERITY_MEDIUM":   3,
		"SEVERITY_LOW":      4,
		"SEVERITY_INFO":     5,
		"SEVERITY_NONE":     6,
	}
)

Enum value maps for Severity.

View Source
var (
	ScoreMethod_name = map[int32]string{
		0: "SCORE_METHOD_NULL",
		1: "SCORE_METHOD_CVSSV2",
		2: "SCORE_METHOD_CVSSV3",
		3: "SCORE_METHOD_CVSSV31",
		4: "SCORE_METHOD_OWASP",
		5: "SCORE_METHOD_OTHER",
	}
	ScoreMethod_value = map[string]int32{
		"SCORE_METHOD_NULL":    0,
		"SCORE_METHOD_CVSSV2":  1,
		"SCORE_METHOD_CVSSV3":  2,
		"SCORE_METHOD_CVSSV31": 3,
		"SCORE_METHOD_OWASP":   4,
		"SCORE_METHOD_OTHER":   5,
	}
)

Enum value maps for ScoreMethod.

View Source
var (
	ImpactAnalysisState_name = map[int32]string{
		0: "IMPACT_ANALYSIS_STATE_NULL",
		1: "IMPACT_ANALYSIS_STATE_RESOLVED",
		2: "IMPACT_ANALYSIS_STATE_RESOLVED_WITH_PEDIGREE",
		3: "IMPACT_ANALYSIS_STATE_EXPLOITABLE",
		4: "IMPACT_ANALYSIS_STATE_IN_TRIAGE",
		5: "IMPACT_ANALYSIS_STATE_FALSE_POSITIVE",
		6: "IMPACT_ANALYSIS_STATE_NOT_AFFECTED",
	}
	ImpactAnalysisState_value = map[string]int32{
		"IMPACT_ANALYSIS_STATE_NULL":                   0,
		"IMPACT_ANALYSIS_STATE_RESOLVED":               1,
		"IMPACT_ANALYSIS_STATE_RESOLVED_WITH_PEDIGREE": 2,
		"IMPACT_ANALYSIS_STATE_EXPLOITABLE":            3,
		"IMPACT_ANALYSIS_STATE_IN_TRIAGE":              4,
		"IMPACT_ANALYSIS_STATE_FALSE_POSITIVE":         5,
		"IMPACT_ANALYSIS_STATE_NOT_AFFECTED":           6,
	}
)

Enum value maps for ImpactAnalysisState.

View Source
var (
	ImpactAnalysisJustification_name = map[int32]string{
		0: "IMPACT_ANALYSIS_JUSTIFICATION_NULL",
		1: "IMPACT_ANALYSIS_JUSTIFICATION_CODE_NOT_PRESENT",
		2: "IMPACT_ANALYSIS_JUSTIFICATION_CODE_NOT_REACHABLE",
		3: "IMPACT_ANALYSIS_JUSTIFICATION_REQUIRES_CONFIGURATION",
		4: "IMPACT_ANALYSIS_JUSTIFICATION_REQUIRES_DEPENDENCY",
		5: "IMPACT_ANALYSIS_JUSTIFICATION_REQUIRES_ENVIRONMENT",
		6: "IMPACT_ANALYSIS_JUSTIFICATION_PROTECTED_BY_COMPILER",
		7: "IMPACT_ANALYSIS_JUSTIFICATION_PROTECTED_AT_RUNTIME",
		8: "IMPACT_ANALYSIS_JUSTIFICATION_PROTECTED_AT_PERIMETER",
		9: "IMPACT_ANALYSIS_JUSTIFICATION_PROTECTED_BY_MITIGATING_CONTROL",
	}
	ImpactAnalysisJustification_value = map[string]int32{
		"IMPACT_ANALYSIS_JUSTIFICATION_NULL":                            0,
		"IMPACT_ANALYSIS_JUSTIFICATION_CODE_NOT_PRESENT":                1,
		"IMPACT_ANALYSIS_JUSTIFICATION_CODE_NOT_REACHABLE":              2,
		"IMPACT_ANALYSIS_JUSTIFICATION_REQUIRES_CONFIGURATION":          3,
		"IMPACT_ANALYSIS_JUSTIFICATION_REQUIRES_DEPENDENCY":             4,
		"IMPACT_ANALYSIS_JUSTIFICATION_REQUIRES_ENVIRONMENT":            5,
		"IMPACT_ANALYSIS_JUSTIFICATION_PROTECTED_BY_COMPILER":           6,
		"IMPACT_ANALYSIS_JUSTIFICATION_PROTECTED_AT_RUNTIME":            7,
		"IMPACT_ANALYSIS_JUSTIFICATION_PROTECTED_AT_PERIMETER":          8,
		"IMPACT_ANALYSIS_JUSTIFICATION_PROTECTED_BY_MITIGATING_CONTROL": 9,
	}
)

Enum value maps for ImpactAnalysisJustification.

View Source
var (
	VulnerabilityResponse_name = map[int32]string{
		0: "VULNERABILITY_RESPONSE_NULL",
		1: "VULNERABILITY_RESPONSE_CAN_NOT_FIX",
		2: "VULNERABILITY_RESPONSE_WILL_NOT_FIX",
		3: "VULNERABILITY_RESPONSE_UPDATE",
		4: "VULNERABILITY_RESPONSE_ROLLBACK",
		5: "VULNERABILITY_RESPONSE_WORKAROUND_AVAILABLE",
	}
	VulnerabilityResponse_value = map[string]int32{
		"VULNERABILITY_RESPONSE_NULL":                 0,
		"VULNERABILITY_RESPONSE_CAN_NOT_FIX":          1,
		"VULNERABILITY_RESPONSE_WILL_NOT_FIX":         2,
		"VULNERABILITY_RESPONSE_UPDATE":               3,
		"VULNERABILITY_RESPONSE_ROLLBACK":             4,
		"VULNERABILITY_RESPONSE_WORKAROUND_AVAILABLE": 5,
	}
)

Enum value maps for VulnerabilityResponse.

View Source
var (
	VulnerabilityAffectedStatus_name = map[int32]string{
		0: "VULNERABILITY_AFFECTED_STATUS_UNKNOWN",
		1: "VULNERABILITY_AFFECTED_STATUS_AFFECTED",
		2: "VULNERABILITY_AFFECTED_STATUS_NOT_AFFECTED",
	}
	VulnerabilityAffectedStatus_value = map[string]int32{
		"VULNERABILITY_AFFECTED_STATUS_UNKNOWN":      0,
		"VULNERABILITY_AFFECTED_STATUS_AFFECTED":     1,
		"VULNERABILITY_AFFECTED_STATUS_NOT_AFFECTED": 2,
	}
)

Enum value maps for VulnerabilityAffectedStatus.

View Source
var File_proto_deps_github_com_CycloneDX_specification_schema_bom_1_4_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Advisory

type Advisory struct {

	// An optional name of the advisory.
	Title *string `protobuf:"bytes,1,opt,name=title,proto3,oneof" json:"title,omitempty"`
	// Location where the advisory can be obtained.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*Advisory) Descriptor deprecated

func (*Advisory) Descriptor() ([]byte, []int)

Deprecated: Use Advisory.ProtoReflect.Descriptor instead.

func (*Advisory) GetTitle

func (x *Advisory) GetTitle() string

func (*Advisory) GetUrl

func (x *Advisory) GetUrl() string

func (*Advisory) ProtoMessage

func (*Advisory) ProtoMessage()

func (*Advisory) ProtoReflect

func (x *Advisory) ProtoReflect() protoreflect.Message

func (*Advisory) Reset

func (x *Advisory) Reset()

func (*Advisory) String

func (x *Advisory) String() string

type Aggregate

type Aggregate int32
const (
	// Default, no statement about the aggregate completeness is being made
	Aggregate_AGGREGATE_NOT_SPECIFIED Aggregate = 0
	// The aggregate composition is complete
	Aggregate_AGGREGATE_COMPLETE Aggregate = 1
	// The aggregate composition is incomplete
	Aggregate_AGGREGATE_INCOMPLETE Aggregate = 2
	// The aggregate composition is incomplete for first party components, complete for third party components
	Aggregate_AGGREGATE_INCOMPLETE_FIRST_PARTY_ONLY Aggregate = 3
	// The aggregate composition is incomplete for third party components, complete for first party components
	Aggregate_AGGREGATE_INCOMPLETE_THIRD_PARTY_ONLY Aggregate = 4
	// The aggregate composition completeness is unknown
	Aggregate_AGGREGATE_UNKNOWN Aggregate = 5
)

func (Aggregate) Descriptor

func (Aggregate) Descriptor() protoreflect.EnumDescriptor

func (Aggregate) Enum

func (x Aggregate) Enum() *Aggregate

func (Aggregate) EnumDescriptor deprecated

func (Aggregate) EnumDescriptor() ([]byte, []int)

Deprecated: Use Aggregate.Descriptor instead.

func (Aggregate) Number

func (x Aggregate) Number() protoreflect.EnumNumber

func (Aggregate) String

func (x Aggregate) String() string

func (Aggregate) Type

type AttachedText

type AttachedText struct {

	// Specifies the content type of the text. Defaults to text/plain if not specified.
	ContentType *string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3,oneof" json:"content_type,omitempty"`
	// Specifies the optional encoding the text is represented in
	Encoding *string `protobuf:"bytes,2,opt,name=encoding,proto3,oneof" json:"encoding,omitempty"`
	// SimpleContent value of element. Proactive controls such as input validation and sanitization should be employed to prevent misuse of attachment text.
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Specifies attributes of the text

func (*AttachedText) Descriptor deprecated

func (*AttachedText) Descriptor() ([]byte, []int)

Deprecated: Use AttachedText.ProtoReflect.Descriptor instead.

func (*AttachedText) GetContentType

func (x *AttachedText) GetContentType() string

func (*AttachedText) GetEncoding

func (x *AttachedText) GetEncoding() string

func (*AttachedText) GetValue

func (x *AttachedText) GetValue() string

func (*AttachedText) ProtoMessage

func (*AttachedText) ProtoMessage()

func (*AttachedText) ProtoReflect

func (x *AttachedText) ProtoReflect() protoreflect.Message

func (*AttachedText) Reset

func (x *AttachedText) Reset()

func (*AttachedText) String

func (x *AttachedText) String() string

type Bom

type Bom struct {

	// The version of the CycloneDX specification a BOM is written to (starting at version 1.3)
	SpecVersion string `protobuf:"bytes,1,opt,name=spec_version,json=specVersion,proto3" json:"spec_version,omitempty"`
	// The version allows component publishers/authors to make changes to existing BOMs to update various aspects of the document such as description or licenses. When a system is presented with multiple BOMs for the same component, the system should use the most recent version of the BOM. The default version is '1' and should be incremented for each version of the BOM that is published. Each version of a component should have a unique BOM and if no changes are made to the BOMs, then each BOM will have a version of '1'.
	Version *int32 `protobuf:"varint,2,opt,name=version,proto3,oneof" json:"version,omitempty"`
	// Every BOM generated should have a unique serial number, even if the contents of the BOM being generated have not changed over time. The process or tool responsible for creating the BOM should create random UUID's for every BOM generated.
	SerialNumber *string `protobuf:"bytes,3,opt,name=serial_number,json=serialNumber,proto3,oneof" json:"serial_number,omitempty"`
	// Provides additional information about a BOM.
	Metadata *Metadata `protobuf:"bytes,4,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// Provides the ability to document a list of components.
	Components []*Component `protobuf:"bytes,5,rep,name=components,proto3" json:"components,omitempty"`
	// Provides the ability to document a list of external services.
	Services []*Service `protobuf:"bytes,6,rep,name=services,proto3" json:"services,omitempty"`
	// Provides the ability to document external references related to the BOM or to the project the BOM describes.
	ExternalReferences []*ExternalReference `protobuf:"bytes,7,rep,name=external_references,json=externalReferences,proto3" json:"external_references,omitempty"`
	// Provides the ability to document dependency relationships.
	Dependencies []*Dependency `protobuf:"bytes,8,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// Provides the ability to document aggregate completeness
	Compositions []*Composition `protobuf:"bytes,9,rep,name=compositions,proto3" json:"compositions,omitempty"`
	// Vulnerabilities identified in components or services.
	Vulnerabilities []*Vulnerability `protobuf:"bytes,10,rep,name=vulnerabilities,proto3" json:"vulnerabilities,omitempty"`
	// contains filtered or unexported fields
}

func (*Bom) Descriptor deprecated

func (*Bom) Descriptor() ([]byte, []int)

Deprecated: Use Bom.ProtoReflect.Descriptor instead.

func (*Bom) GetComponents

func (x *Bom) GetComponents() []*Component

func (*Bom) GetCompositions

func (x *Bom) GetCompositions() []*Composition

func (*Bom) GetDependencies

func (x *Bom) GetDependencies() []*Dependency

func (*Bom) GetExternalReferences

func (x *Bom) GetExternalReferences() []*ExternalReference

func (*Bom) GetMetadata

func (x *Bom) GetMetadata() *Metadata

func (*Bom) GetSerialNumber

func (x *Bom) GetSerialNumber() string

func (*Bom) GetServices

func (x *Bom) GetServices() []*Service

func (*Bom) GetSpecVersion

func (x *Bom) GetSpecVersion() string

func (*Bom) GetVersion

func (x *Bom) GetVersion() int32

func (*Bom) GetVulnerabilities

func (x *Bom) GetVulnerabilities() []*Vulnerability

func (*Bom) ProtoMessage

func (*Bom) ProtoMessage()

func (*Bom) ProtoReflect

func (x *Bom) ProtoReflect() protoreflect.Message

func (*Bom) Reset

func (x *Bom) Reset()

func (*Bom) String

func (x *Bom) String() string

type Classification

type Classification int32
const (
	Classification_CLASSIFICATION_NULL Classification = 0
	// A software application. Refer to https://en.wikipedia.org/wiki/Application_software for information about applications.
	Classification_CLASSIFICATION_APPLICATION Classification = 1
	// A software framework. Refer to https://en.wikipedia.org/wiki/Software_framework for information on how frameworks vary slightly from libraries.
	Classification_CLASSIFICATION_FRAMEWORK Classification = 2
	// A software library. Refer to https://en.wikipedia.org/wiki/Library_(computing) for information about libraries. All third-party and open source reusable components will likely be a library. If the library also has key features of a framework, then it should be classified as a framework. If not, or is unknown, then specifying library is recommended.
	Classification_CLASSIFICATION_LIBRARY Classification = 3
	// A software operating system without regard to deployment model (i.e. installed on physical hardware, virtual machine, image, etc) Refer to https://en.wikipedia.org/wiki/Operating_system
	Classification_CLASSIFICATION_OPERATING_SYSTEM Classification = 4
	// A hardware device such as a processor, or chip-set. A hardware device containing firmware should include a component for the physical hardware itself, and another component of type 'firmware' or 'operating-system' (whichever is relevant), describing information about the software running on the device.
	Classification_CLASSIFICATION_DEVICE Classification = 5
	// A computer file. Refer to https://en.wikipedia.org/wiki/Computer_file for information about files.
	Classification_CLASSIFICATION_FILE Classification = 6
	// A packaging and/or runtime format, not specific to any particular technology, which isolates software inside the container from software outside of a container through virtualization technology. Refer to https://en.wikipedia.org/wiki/OS-level_virtualization
	Classification_CLASSIFICATION_CONTAINER Classification = 7
	// A special type of software that provides low-level control over a devices hardware. Refer to https://en.wikipedia.org/wiki/Firmware
	Classification_CLASSIFICATION_FIRMWARE Classification = 8
)

func (Classification) Descriptor

func (Classification) Enum

func (x Classification) Enum() *Classification

func (Classification) EnumDescriptor deprecated

func (Classification) EnumDescriptor() ([]byte, []int)

Deprecated: Use Classification.Descriptor instead.

func (Classification) Number

func (Classification) String

func (x Classification) String() string

func (Classification) Type

type Commit

type Commit struct {

	// A unique identifier of the commit. This may be version control specific. For example, Subversion uses revision numbers whereas git uses commit hashes.
	Uid *string `protobuf:"bytes,1,opt,name=uid,proto3,oneof" json:"uid,omitempty"`
	// The URL to the commit. This URL will typically point to a commit in a version control system.
	Url *string `protobuf:"bytes,2,opt,name=url,proto3,oneof" json:"url,omitempty"`
	// The author who created the changes in the commit
	Author *IdentifiableAction `protobuf:"bytes,3,opt,name=author,proto3,oneof" json:"author,omitempty"`
	// The person who committed or pushed the commit
	Committer *IdentifiableAction `protobuf:"bytes,4,opt,name=committer,proto3,oneof" json:"committer,omitempty"`
	// The text description of the contents of the commit
	Message *string `protobuf:"bytes,5,opt,name=message,proto3,oneof" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Commit) Descriptor deprecated

func (*Commit) Descriptor() ([]byte, []int)

Deprecated: Use Commit.ProtoReflect.Descriptor instead.

func (*Commit) GetAuthor

func (x *Commit) GetAuthor() *IdentifiableAction

func (*Commit) GetCommitter

func (x *Commit) GetCommitter() *IdentifiableAction

func (*Commit) GetMessage

func (x *Commit) GetMessage() string

func (*Commit) GetUid

func (x *Commit) GetUid() string

func (*Commit) GetUrl

func (x *Commit) GetUrl() string

func (*Commit) ProtoMessage

func (*Commit) ProtoMessage()

func (*Commit) ProtoReflect

func (x *Commit) ProtoReflect() protoreflect.Message

func (*Commit) Reset

func (x *Commit) Reset()

func (*Commit) String

func (x *Commit) String() string

type Component

type Component struct {

	// Specifies the type of component. For software components, classify as application if no more specific appropriate classification is available or cannot be determined for the component.
	Type Classification `protobuf:"varint,1,opt,name=type,proto3,enum=cyclonedx.v1_4.Classification" json:"type,omitempty"`
	// The optional mime-type of the component. When used on file components, the mime-type can provide additional context about the kind of file being represented such as an image, font, or executable. Some library or framework components may also have an associated mime-type.
	MimeType *string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3,oneof" json:"mime_type,omitempty"`
	// An optional identifier which can be used to reference the component elsewhere in the BOM. Uniqueness is enforced within all elements and children of the root-level bom element.
	BomRef *string `protobuf:"bytes,3,opt,name=bom_ref,json=bomRef,proto3,oneof" json:"bom_ref,omitempty"`
	// The organization that supplied the component. The supplier may often be the manufacture, but may also be a distributor or repackager.
	Supplier *OrganizationalEntity `protobuf:"bytes,4,opt,name=supplier,proto3,oneof" json:"supplier,omitempty"`
	// The person(s) or organization(s) that authored the component
	Author *string `protobuf:"bytes,5,opt,name=author,proto3,oneof" json:"author,omitempty"`
	// The person(s) or organization(s) that published the component
	Publisher *string `protobuf:"bytes,6,opt,name=publisher,proto3,oneof" json:"publisher,omitempty"`
	// The grouping name or identifier. This will often be a shortened, single name of the company or project that produced the component, or the source package or domain name. Whitespace and special characters should be avoided. Examples include: apache, org.apache.commons, and apache.org.
	Group *string `protobuf:"bytes,7,opt,name=group,proto3,oneof" json:"group,omitempty"`
	// The name of the component. This will often be a shortened, single name of the component. Examples: commons-lang3 and jquery
	Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
	// The component version. The version should ideally comply with semantic versioning but is not enforced. Version was made optional in v1.4 of the spec. For backward compatibility, it is RECOMMENDED to use an empty string to represent components without version information.
	Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"`
	// Specifies a description for the component
	Description *string `protobuf:"bytes,10,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Specifies the scope of the component. If scope is not specified, 'runtime' scope should be assumed by the consumer of the BOM
	Scope    *Scope           `protobuf:"varint,11,opt,name=scope,proto3,enum=cyclonedx.v1_4.Scope,oneof" json:"scope,omitempty"`
	Hashes   []*Hash          `protobuf:"bytes,12,rep,name=hashes,proto3" json:"hashes,omitempty"`
	Licenses []*LicenseChoice `protobuf:"bytes,13,rep,name=licenses,proto3" json:"licenses,omitempty"`
	// An optional copyright notice informing users of the underlying claims to copyright ownership in a published work.
	Copyright *string `protobuf:"bytes,14,opt,name=copyright,proto3,oneof" json:"copyright,omitempty"`
	// DEPRECATED - DO NOT USE. This will be removed in a future version. Specifies a well-formed CPE name. See https://nvd.nist.gov/products/cpe
	Cpe *string `protobuf:"bytes,15,opt,name=cpe,proto3,oneof" json:"cpe,omitempty"`
	// Specifies the package-url (PURL). The purl, if specified, must be valid and conform to the specification defined at: https://github.com/package-url/purl-spec
	Purl *string `protobuf:"bytes,16,opt,name=purl,proto3,oneof" json:"purl,omitempty"`
	// Specifies metadata and content for ISO-IEC 19770-2 Software Identification (SWID) Tags.
	Swid *Swid `protobuf:"bytes,17,opt,name=swid,proto3,oneof" json:"swid,omitempty"`
	// DEPRECATED - DO NOT USE. This will be removed in a future version. Use the pedigree element instead to supply information on exactly how the component was modified. A boolean value indicating is the component has been modified from the original. A value of true indicates the component is a derivative of the original. A value of false indicates the component has not been modified from the original.
	Modified *bool `protobuf:"varint,18,opt,name=modified,proto3,oneof" json:"modified,omitempty"`
	// Component pedigree is a way to document complex supply chain scenarios where components are created, distributed, modified, redistributed, combined with other components, etc.
	Pedigree *Pedigree `protobuf:"bytes,19,opt,name=pedigree,proto3,oneof" json:"pedigree,omitempty"`
	// Provides the ability to document external references related to the component or to the project the component describes.
	ExternalReferences []*ExternalReference `protobuf:"bytes,20,rep,name=external_references,json=externalReferences,proto3" json:"external_references,omitempty"`
	// Specifies optional sub-components. This is not a dependency tree. It provides a way to specify a hierarchical representation of component assemblies, similar to system -> subsystem -> parts assembly in physical supply chains.
	Components []*Component `protobuf:"bytes,21,rep,name=components,proto3" json:"components,omitempty"`
	// Specifies optional, custom, properties
	Properties []*Property `protobuf:"bytes,22,rep,name=properties,proto3" json:"properties,omitempty"`
	// Specifies optional license and copyright evidence
	Evidence []*Evidence `protobuf:"bytes,23,rep,name=evidence,proto3" json:"evidence,omitempty"`
	// Specifies optional release notes.
	ReleaseNotes *ReleaseNotes `protobuf:"bytes,24,opt,name=releaseNotes,proto3,oneof" json:"releaseNotes,omitempty"`
	// contains filtered or unexported fields
}

func (*Component) Descriptor deprecated

func (*Component) Descriptor() ([]byte, []int)

Deprecated: Use Component.ProtoReflect.Descriptor instead.

func (*Component) GetAuthor

func (x *Component) GetAuthor() string

func (*Component) GetBomRef

func (x *Component) GetBomRef() string

func (*Component) GetComponents

func (x *Component) GetComponents() []*Component

func (*Component) GetCopyright

func (x *Component) GetCopyright() string

func (*Component) GetCpe

func (x *Component) GetCpe() string

func (*Component) GetDescription

func (x *Component) GetDescription() string

func (*Component) GetEvidence

func (x *Component) GetEvidence() []*Evidence

func (*Component) GetExternalReferences

func (x *Component) GetExternalReferences() []*ExternalReference

func (*Component) GetGroup

func (x *Component) GetGroup() string

func (*Component) GetHashes

func (x *Component) GetHashes() []*Hash

func (*Component) GetLicenses

func (x *Component) GetLicenses() []*LicenseChoice

func (*Component) GetMimeType

func (x *Component) GetMimeType() string

func (*Component) GetModified

func (x *Component) GetModified() bool

func (*Component) GetName

func (x *Component) GetName() string

func (*Component) GetPedigree

func (x *Component) GetPedigree() *Pedigree

func (*Component) GetProperties

func (x *Component) GetProperties() []*Property

func (*Component) GetPublisher

func (x *Component) GetPublisher() string

func (*Component) GetPurl

func (x *Component) GetPurl() string

func (*Component) GetReleaseNotes

func (x *Component) GetReleaseNotes() *ReleaseNotes

func (*Component) GetScope

func (x *Component) GetScope() Scope

func (*Component) GetSupplier

func (x *Component) GetSupplier() *OrganizationalEntity

func (*Component) GetSwid

func (x *Component) GetSwid() *Swid

func (*Component) GetType

func (x *Component) GetType() Classification

func (*Component) GetVersion

func (x *Component) GetVersion() string

func (*Component) ProtoMessage

func (*Component) ProtoMessage()

func (*Component) ProtoReflect

func (x *Component) ProtoReflect() protoreflect.Message

func (*Component) Reset

func (x *Component) Reset()

func (*Component) String

func (x *Component) String() string

type Composition

type Composition struct {

	// Indicates the aggregate completeness
	Aggregate Aggregate `protobuf:"varint,1,opt,name=aggregate,proto3,enum=cyclonedx.v1_4.Aggregate" json:"aggregate,omitempty"`
	// The assemblies the aggregate completeness applies to
	Assemblies []string `protobuf:"bytes,2,rep,name=assemblies,proto3" json:"assemblies,omitempty"`
	// The dependencies the aggregate completeness applies to
	Dependencies []string `protobuf:"bytes,3,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// contains filtered or unexported fields
}

func (*Composition) Descriptor deprecated

func (*Composition) Descriptor() ([]byte, []int)

Deprecated: Use Composition.ProtoReflect.Descriptor instead.

func (*Composition) GetAggregate

func (x *Composition) GetAggregate() Aggregate

func (*Composition) GetAssemblies

func (x *Composition) GetAssemblies() []string

func (*Composition) GetDependencies

func (x *Composition) GetDependencies() []string

func (*Composition) ProtoMessage

func (*Composition) ProtoMessage()

func (*Composition) ProtoReflect

func (x *Composition) ProtoReflect() protoreflect.Message

func (*Composition) Reset

func (x *Composition) Reset()

func (*Composition) String

func (x *Composition) String() string

type DataClassification

type DataClassification struct {

	// Specifies the flow direction of the data.
	Flow DataFlow `protobuf:"varint,1,opt,name=flow,proto3,enum=cyclonedx.v1_4.DataFlow" json:"flow,omitempty"`
	// SimpleContent value of element
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Specifies the data classification.

func (*DataClassification) Descriptor deprecated

func (*DataClassification) Descriptor() ([]byte, []int)

Deprecated: Use DataClassification.ProtoReflect.Descriptor instead.

func (*DataClassification) GetFlow

func (x *DataClassification) GetFlow() DataFlow

func (*DataClassification) GetValue

func (x *DataClassification) GetValue() string

func (*DataClassification) ProtoMessage

func (*DataClassification) ProtoMessage()

func (*DataClassification) ProtoReflect

func (x *DataClassification) ProtoReflect() protoreflect.Message

func (*DataClassification) Reset

func (x *DataClassification) Reset()

func (*DataClassification) String

func (x *DataClassification) String() string

type DataFlow

type DataFlow int32

Specifies the flow direction of the data. Valid values are: inbound, outbound, bi-directional, and unknown. Direction is relative to the service. Inbound flow states that data enters the service. Outbound flow states that data leaves the service. Bi-directional states that data flows both ways, and unknown states that the direction is not known.

const (
	DataFlow_DATA_FLOW_NULL           DataFlow = 0
	DataFlow_DATA_FLOW_INBOUND        DataFlow = 1
	DataFlow_DATA_FLOW_OUTBOUND       DataFlow = 2
	DataFlow_DATA_FLOW_BI_DIRECTIONAL DataFlow = 3
	DataFlow_DATA_FLOW_UNKNOWN        DataFlow = 4
)

func (DataFlow) Descriptor

func (DataFlow) Descriptor() protoreflect.EnumDescriptor

func (DataFlow) Enum

func (x DataFlow) Enum() *DataFlow

func (DataFlow) EnumDescriptor deprecated

func (DataFlow) EnumDescriptor() ([]byte, []int)

Deprecated: Use DataFlow.Descriptor instead.

func (DataFlow) Number

func (x DataFlow) Number() protoreflect.EnumNumber

func (DataFlow) String

func (x DataFlow) String() string

func (DataFlow) Type

type Dependency

type Dependency struct {

	// References a component or service by the its bom-ref attribute
	Ref          string        `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	Dependencies []*Dependency `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// contains filtered or unexported fields
}

func (*Dependency) Descriptor deprecated

func (*Dependency) Descriptor() ([]byte, []int)

Deprecated: Use Dependency.ProtoReflect.Descriptor instead.

func (*Dependency) GetDependencies

func (x *Dependency) GetDependencies() []*Dependency

func (*Dependency) GetRef

func (x *Dependency) GetRef() string

func (*Dependency) ProtoMessage

func (*Dependency) ProtoMessage()

func (*Dependency) ProtoReflect

func (x *Dependency) ProtoReflect() protoreflect.Message

func (*Dependency) Reset

func (x *Dependency) Reset()

func (*Dependency) String

func (x *Dependency) String() string

type Diff

type Diff struct {

	// Specifies the optional text of the diff
	Text *AttachedText `protobuf:"bytes,1,opt,name=text,proto3,oneof" json:"text,omitempty"`
	// Specifies the URL to the diff
	Url *string `protobuf:"bytes,2,opt,name=url,proto3,oneof" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*Diff) Descriptor deprecated

func (*Diff) Descriptor() ([]byte, []int)

Deprecated: Use Diff.ProtoReflect.Descriptor instead.

func (*Diff) GetText

func (x *Diff) GetText() *AttachedText

func (*Diff) GetUrl

func (x *Diff) GetUrl() string

func (*Diff) ProtoMessage

func (*Diff) ProtoMessage()

func (*Diff) ProtoReflect

func (x *Diff) ProtoReflect() protoreflect.Message

func (*Diff) Reset

func (x *Diff) Reset()

func (*Diff) String

func (x *Diff) String() string

type Evidence

type Evidence struct {
	Licenses  []*LicenseChoice     `protobuf:"bytes,1,rep,name=licenses,proto3" json:"licenses,omitempty"`
	Copyright []*EvidenceCopyright `protobuf:"bytes,2,rep,name=copyright,proto3" json:"copyright,omitempty"`
	// contains filtered or unexported fields
}

func (*Evidence) Descriptor deprecated

func (*Evidence) Descriptor() ([]byte, []int)

Deprecated: Use Evidence.ProtoReflect.Descriptor instead.

func (*Evidence) GetCopyright

func (x *Evidence) GetCopyright() []*EvidenceCopyright

func (*Evidence) GetLicenses

func (x *Evidence) GetLicenses() []*LicenseChoice

func (*Evidence) ProtoMessage

func (*Evidence) ProtoMessage()

func (*Evidence) ProtoReflect

func (x *Evidence) ProtoReflect() protoreflect.Message

func (*Evidence) Reset

func (x *Evidence) Reset()

func (*Evidence) String

func (x *Evidence) String() string

type EvidenceCopyright

type EvidenceCopyright struct {

	// Copyright text
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*EvidenceCopyright) Descriptor deprecated

func (*EvidenceCopyright) Descriptor() ([]byte, []int)

Deprecated: Use EvidenceCopyright.ProtoReflect.Descriptor instead.

func (*EvidenceCopyright) GetText

func (x *EvidenceCopyright) GetText() string

func (*EvidenceCopyright) ProtoMessage

func (*EvidenceCopyright) ProtoMessage()

func (*EvidenceCopyright) ProtoReflect

func (x *EvidenceCopyright) ProtoReflect() protoreflect.Message

func (*EvidenceCopyright) Reset

func (x *EvidenceCopyright) Reset()

func (*EvidenceCopyright) String

func (x *EvidenceCopyright) String() string

type ExternalReference

type ExternalReference struct {

	// Specifies the type of external reference. There are built-in types to describe common references. If a type does not exist for the reference being referred to, use the "other" type.
	Type ExternalReferenceType `protobuf:"varint,1,opt,name=type,proto3,enum=cyclonedx.v1_4.ExternalReferenceType" json:"type,omitempty"`
	// The URL to the external reference
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// An optional comment describing the external reference
	Comment *string `protobuf:"bytes,3,opt,name=comment,proto3,oneof" json:"comment,omitempty"`
	// Optional integrity hashes for the external resource content
	Hashes []*Hash `protobuf:"bytes,4,rep,name=hashes,proto3" json:"hashes,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalReference) Descriptor deprecated

func (*ExternalReference) Descriptor() ([]byte, []int)

Deprecated: Use ExternalReference.ProtoReflect.Descriptor instead.

func (*ExternalReference) GetComment

func (x *ExternalReference) GetComment() string

func (*ExternalReference) GetHashes

func (x *ExternalReference) GetHashes() []*Hash

func (*ExternalReference) GetType

func (*ExternalReference) GetUrl

func (x *ExternalReference) GetUrl() string

func (*ExternalReference) ProtoMessage

func (*ExternalReference) ProtoMessage()

func (*ExternalReference) ProtoReflect

func (x *ExternalReference) ProtoReflect() protoreflect.Message

func (*ExternalReference) Reset

func (x *ExternalReference) Reset()

func (*ExternalReference) String

func (x *ExternalReference) String() string

type ExternalReferenceType

type ExternalReferenceType int32
const (
	// Use this if no other types accurately describe the purpose of the external reference
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_OTHER ExternalReferenceType = 0
	// Version Control System
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_VCS ExternalReferenceType = 1
	// Issue or defect tracking system, or an Application Lifecycle Management (ALM) system
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_ISSUE_TRACKER ExternalReferenceType = 2
	// Website
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_WEBSITE ExternalReferenceType = 3
	// Security advisories
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_ADVISORIES ExternalReferenceType = 4
	// Bill-of-material document (CycloneDX, SPDX, SWID, etc)
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_BOM ExternalReferenceType = 5
	// Mailing list or discussion group
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_MAILING_LIST ExternalReferenceType = 6
	// Social media account
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_SOCIAL ExternalReferenceType = 7
	// Real-time chat platform
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_CHAT ExternalReferenceType = 8
	// Documentation, guides, or how-to instructions
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_DOCUMENTATION ExternalReferenceType = 9
	// Community or commercial support
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_SUPPORT ExternalReferenceType = 10
	// Direct or repository download location
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_DISTRIBUTION ExternalReferenceType = 11
	// The URL to the license file. If a license URL has been defined in the license node, it should also be defined as an external reference for completeness
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_LICENSE ExternalReferenceType = 12
	// Build-system specific meta file (i.e. pom.xml, package.json, .nuspec, etc)
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_BUILD_META ExternalReferenceType = 13
	// URL to an automated build system
	ExternalReferenceType_EXTERNAL_REFERENCE_TYPE_BUILD_SYSTEM ExternalReferenceType = 14
)

func (ExternalReferenceType) Descriptor

func (ExternalReferenceType) Enum

func (ExternalReferenceType) EnumDescriptor deprecated

func (ExternalReferenceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExternalReferenceType.Descriptor instead.

func (ExternalReferenceType) Number

func (ExternalReferenceType) String

func (x ExternalReferenceType) String() string

func (ExternalReferenceType) Type

type Hash

type Hash struct {

	// Specifies the algorithm used to create the hash
	Alg HashAlg `protobuf:"varint,1,opt,name=alg,proto3,enum=cyclonedx.v1_4.HashAlg" json:"alg,omitempty"`
	// SimpleContent value of element
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Specifies the file hash of the component

func (*Hash) Descriptor deprecated

func (*Hash) Descriptor() ([]byte, []int)

Deprecated: Use Hash.ProtoReflect.Descriptor instead.

func (*Hash) GetAlg

func (x *Hash) GetAlg() HashAlg

func (*Hash) GetValue

func (x *Hash) GetValue() string

func (*Hash) ProtoMessage

func (*Hash) ProtoMessage()

func (*Hash) ProtoReflect

func (x *Hash) ProtoReflect() protoreflect.Message

func (*Hash) Reset

func (x *Hash) Reset()

func (*Hash) String

func (x *Hash) String() string

type HashAlg

type HashAlg int32
const (
	HashAlg_HASH_ALG_NULL          HashAlg = 0
	HashAlg_HASH_ALG_MD_5          HashAlg = 1
	HashAlg_HASH_ALG_SHA_1         HashAlg = 2
	HashAlg_HASH_ALG_SHA_256       HashAlg = 3
	HashAlg_HASH_ALG_SHA_384       HashAlg = 4
	HashAlg_HASH_ALG_SHA_512       HashAlg = 5
	HashAlg_HASH_ALG_SHA_3_256     HashAlg = 6
	HashAlg_HASH_ALG_SHA_3_384     HashAlg = 7
	HashAlg_HASH_ALG_SHA_3_512     HashAlg = 8
	HashAlg_HASH_ALG_BLAKE_2_B_256 HashAlg = 9
	HashAlg_HASH_ALG_BLAKE_2_B_384 HashAlg = 10
	HashAlg_HASH_ALG_BLAKE_2_B_512 HashAlg = 11
	HashAlg_HASH_ALG_BLAKE_3       HashAlg = 12
)

func (HashAlg) Descriptor

func (HashAlg) Descriptor() protoreflect.EnumDescriptor

func (HashAlg) Enum

func (x HashAlg) Enum() *HashAlg

func (HashAlg) EnumDescriptor deprecated

func (HashAlg) EnumDescriptor() ([]byte, []int)

Deprecated: Use HashAlg.Descriptor instead.

func (HashAlg) Number

func (x HashAlg) Number() protoreflect.EnumNumber

func (HashAlg) String

func (x HashAlg) String() string

func (HashAlg) Type

func (HashAlg) Type() protoreflect.EnumType

type IdentifiableAction

type IdentifiableAction struct {

	// The timestamp in which the action occurred
	Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof" json:"timestamp,omitempty"`
	// The name of the individual who performed the action
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// The email address of the individual who performed the action
	Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentifiableAction) Descriptor deprecated

func (*IdentifiableAction) Descriptor() ([]byte, []int)

Deprecated: Use IdentifiableAction.ProtoReflect.Descriptor instead.

func (*IdentifiableAction) GetEmail

func (x *IdentifiableAction) GetEmail() string

func (*IdentifiableAction) GetName

func (x *IdentifiableAction) GetName() string

func (*IdentifiableAction) GetTimestamp

func (x *IdentifiableAction) GetTimestamp() *timestamp.Timestamp

func (*IdentifiableAction) ProtoMessage

func (*IdentifiableAction) ProtoMessage()

func (*IdentifiableAction) ProtoReflect

func (x *IdentifiableAction) ProtoReflect() protoreflect.Message

func (*IdentifiableAction) Reset

func (x *IdentifiableAction) Reset()

func (*IdentifiableAction) String

func (x *IdentifiableAction) String() string

type ImpactAnalysisJustification

type ImpactAnalysisJustification int32
const (
	// An undefined impact analysis justification
	ImpactAnalysisJustification_IMPACT_ANALYSIS_JUSTIFICATION_NULL ImpactAnalysisJustification = 0
	// The code has been removed or tree-shaked.
	ImpactAnalysisJustification_IMPACT_ANALYSIS_JUSTIFICATION_CODE_NOT_PRESENT ImpactAnalysisJustification = 1
	// The vulnerable code is not invoked at runtime.
	ImpactAnalysisJustification_IMPACT_ANALYSIS_JUSTIFICATION_CODE_NOT_REACHABLE ImpactAnalysisJustification = 2
	// Exploitability requires a configurable option to be set/unset.
	ImpactAnalysisJustification_IMPACT_ANALYSIS_JUSTIFICATION_REQUIRES_CONFIGURATION ImpactAnalysisJustification = 3
	// Exploitability requires a dependency that is not present.
	ImpactAnalysisJustification_IMPACT_ANALYSIS_JUSTIFICATION_REQUIRES_DEPENDENCY ImpactAnalysisJustification = 4
	// Exploitability requires a certain environment which is not present.
	ImpactAnalysisJustification_IMPACT_ANALYSIS_JUSTIFICATION_REQUIRES_ENVIRONMENT ImpactAnalysisJustification = 5
	// Exploitability requires a compiler flag to be set/unset.
	ImpactAnalysisJustification_IMPACT_ANALYSIS_JUSTIFICATION_PROTECTED_BY_COMPILER ImpactAnalysisJustification = 6
	// Exploits are prevented at runtime.
	ImpactAnalysisJustification_IMPACT_ANALYSIS_JUSTIFICATION_PROTECTED_AT_RUNTIME ImpactAnalysisJustification = 7
	// Attacks are blocked at physical, logical, or network perimeter.
	ImpactAnalysisJustification_IMPACT_ANALYSIS_JUSTIFICATION_PROTECTED_AT_PERIMETER ImpactAnalysisJustification = 8
	// Preventative measures have been implemented that reduce the likelihood and/or impact of the vulnerability.
	ImpactAnalysisJustification_IMPACT_ANALYSIS_JUSTIFICATION_PROTECTED_BY_MITIGATING_CONTROL ImpactAnalysisJustification = 9
)

func (ImpactAnalysisJustification) Descriptor

func (ImpactAnalysisJustification) Enum

func (ImpactAnalysisJustification) EnumDescriptor deprecated

func (ImpactAnalysisJustification) EnumDescriptor() ([]byte, []int)

Deprecated: Use ImpactAnalysisJustification.Descriptor instead.

func (ImpactAnalysisJustification) Number

func (ImpactAnalysisJustification) String

func (ImpactAnalysisJustification) Type

type ImpactAnalysisState

type ImpactAnalysisState int32
const (
	// An undefined impact analysis state
	ImpactAnalysisState_IMPACT_ANALYSIS_STATE_NULL ImpactAnalysisState = 0
	// The vulnerability has been remediated.
	ImpactAnalysisState_IMPACT_ANALYSIS_STATE_RESOLVED ImpactAnalysisState = 1
	// The vulnerability has been remediated and evidence of the changes are provided in the affected components pedigree containing verifiable commit history and/or diff(s).
	ImpactAnalysisState_IMPACT_ANALYSIS_STATE_RESOLVED_WITH_PEDIGREE ImpactAnalysisState = 2
	// The vulnerability may be directly or indirectly exploitable.
	ImpactAnalysisState_IMPACT_ANALYSIS_STATE_EXPLOITABLE ImpactAnalysisState = 3
	// The vulnerability is being investigated.
	ImpactAnalysisState_IMPACT_ANALYSIS_STATE_IN_TRIAGE ImpactAnalysisState = 4
	// The vulnerability is not specific to the component or service and was falsely identified or associated.
	ImpactAnalysisState_IMPACT_ANALYSIS_STATE_FALSE_POSITIVE ImpactAnalysisState = 5
	// The component or service is not affected by the vulnerability. Justification should be specified for all not_affected cases.
	ImpactAnalysisState_IMPACT_ANALYSIS_STATE_NOT_AFFECTED ImpactAnalysisState = 6
)

func (ImpactAnalysisState) Descriptor

func (ImpactAnalysisState) Enum

func (ImpactAnalysisState) EnumDescriptor deprecated

func (ImpactAnalysisState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ImpactAnalysisState.Descriptor instead.

func (ImpactAnalysisState) Number

func (ImpactAnalysisState) String

func (x ImpactAnalysisState) String() string

func (ImpactAnalysisState) Type

type Issue

type Issue struct {

	// Specifies the type of issue
	Type IssueClassification `protobuf:"varint,1,opt,name=type,proto3,enum=cyclonedx.v1_4.IssueClassification" json:"type,omitempty"`
	// The identifier of the issue assigned by the source of the issue
	Id *string `protobuf:"bytes,2,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// The name of the issue
	Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// A description of the issue
	Description *string  `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Source      *Source  `protobuf:"bytes,5,opt,name=source,proto3,oneof" json:"source,omitempty"`
	References  []string `protobuf:"bytes,6,rep,name=references,proto3" json:"references,omitempty"`
	// contains filtered or unexported fields
}

func (*Issue) Descriptor deprecated

func (*Issue) Descriptor() ([]byte, []int)

Deprecated: Use Issue.ProtoReflect.Descriptor instead.

func (*Issue) GetDescription

func (x *Issue) GetDescription() string

func (*Issue) GetId

func (x *Issue) GetId() string

func (*Issue) GetName

func (x *Issue) GetName() string

func (*Issue) GetReferences

func (x *Issue) GetReferences() []string

func (*Issue) GetSource

func (x *Issue) GetSource() *Source

func (*Issue) GetType

func (x *Issue) GetType() IssueClassification

func (*Issue) ProtoMessage

func (*Issue) ProtoMessage()

func (*Issue) ProtoReflect

func (x *Issue) ProtoReflect() protoreflect.Message

func (*Issue) Reset

func (x *Issue) Reset()

func (*Issue) String

func (x *Issue) String() string

type IssueClassification

type IssueClassification int32
const (
	IssueClassification_ISSUE_CLASSIFICATION_NULL IssueClassification = 0
	// A fault, flaw, or bug in software
	IssueClassification_ISSUE_CLASSIFICATION_DEFECT IssueClassification = 1
	// A new feature or behavior in software
	IssueClassification_ISSUE_CLASSIFICATION_ENHANCEMENT IssueClassification = 2
	// A special type of defect which impacts security
	IssueClassification_ISSUE_CLASSIFICATION_SECURITY IssueClassification = 3
)

func (IssueClassification) Descriptor

func (IssueClassification) Enum

func (IssueClassification) EnumDescriptor deprecated

func (IssueClassification) EnumDescriptor() ([]byte, []int)

Deprecated: Use IssueClassification.Descriptor instead.

func (IssueClassification) Number

func (IssueClassification) String

func (x IssueClassification) String() string

func (IssueClassification) Type

type License

type License struct {

	// Types that are assignable to License:
	//	*License_Id
	//	*License_Name
	License isLicense_License `protobuf_oneof:"license"`
	// Specifies the optional full text of the attachment
	Text *AttachedText `protobuf:"bytes,3,opt,name=text,proto3,oneof" json:"text,omitempty"`
	// The URL to the attachment file. If the attachment is a license or BOM, an externalReference should also be specified for completeness.
	Url *string `protobuf:"bytes,4,opt,name=url,proto3,oneof" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*License) Descriptor deprecated

func (*License) Descriptor() ([]byte, []int)

Deprecated: Use License.ProtoReflect.Descriptor instead.

func (*License) GetId

func (x *License) GetId() string

func (*License) GetLicense

func (m *License) GetLicense() isLicense_License

func (*License) GetName

func (x *License) GetName() string

func (*License) GetText

func (x *License) GetText() *AttachedText

func (*License) GetUrl

func (x *License) GetUrl() string

func (*License) ProtoMessage

func (*License) ProtoMessage()

func (*License) ProtoReflect

func (x *License) ProtoReflect() protoreflect.Message

func (*License) Reset

func (x *License) Reset()

func (*License) String

func (x *License) String() string

type LicenseChoice

type LicenseChoice struct {

	// Types that are assignable to Choice:
	//	*LicenseChoice_License
	//	*LicenseChoice_Expression
	Choice isLicenseChoice_Choice `protobuf_oneof:"choice"`
	// contains filtered or unexported fields
}

func (*LicenseChoice) Descriptor deprecated

func (*LicenseChoice) Descriptor() ([]byte, []int)

Deprecated: Use LicenseChoice.ProtoReflect.Descriptor instead.

func (*LicenseChoice) GetChoice

func (m *LicenseChoice) GetChoice() isLicenseChoice_Choice

func (*LicenseChoice) GetExpression

func (x *LicenseChoice) GetExpression() string

func (*LicenseChoice) GetLicense

func (x *LicenseChoice) GetLicense() *License

func (*LicenseChoice) ProtoMessage

func (*LicenseChoice) ProtoMessage()

func (*LicenseChoice) ProtoReflect

func (x *LicenseChoice) ProtoReflect() protoreflect.Message

func (*LicenseChoice) Reset

func (x *LicenseChoice) Reset()

func (*LicenseChoice) String

func (x *LicenseChoice) String() string

type LicenseChoice_Expression

type LicenseChoice_Expression struct {
	Expression string `protobuf:"bytes,2,opt,name=expression,proto3,oneof"`
}

type LicenseChoice_License

type LicenseChoice_License struct {
	License *License `protobuf:"bytes,1,opt,name=license,proto3,oneof"`
}

type License_Id

type License_Id struct {
	// A valid SPDX license ID
	Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type License_Name

type License_Name struct {
	// If SPDX does not define the license used, this field may be used to provide the license name
	Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
}

type Metadata

type Metadata struct {

	// The date and time (timestamp) when the document was created.
	Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof" json:"timestamp,omitempty"`
	// The tool(s) used in the creation of the BOM.
	Tools []*Tool `protobuf:"bytes,2,rep,name=tools,proto3" json:"tools,omitempty"`
	// The person(s) who created the BOM. Authors are common in BOMs created through manual processes. BOMs created through automated means may not have authors.
	Authors []*OrganizationalContact `protobuf:"bytes,3,rep,name=authors,proto3" json:"authors,omitempty"`
	// The component that the BOM describes.
	Component *Component `protobuf:"bytes,4,opt,name=component,proto3,oneof" json:"component,omitempty"`
	// The organization that manufactured the component that the BOM describes.
	Manufacture *OrganizationalEntity `protobuf:"bytes,5,opt,name=manufacture,proto3,oneof" json:"manufacture,omitempty"`
	// The organization that supplied the component that the BOM describes. The supplier may often be the manufacture, but may also be a distributor or repackager.
	Supplier *OrganizationalEntity `protobuf:"bytes,6,opt,name=supplier,proto3,oneof" json:"supplier,omitempty"`
	// The license information for the BOM document
	Licenses *LicenseChoice `protobuf:"bytes,7,opt,name=licenses,proto3,oneof" json:"licenses,omitempty"`
	// Specifies optional, custom, properties
	Properties []*Property `protobuf:"bytes,8,rep,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetAuthors

func (x *Metadata) GetAuthors() []*OrganizationalContact

func (*Metadata) GetComponent

func (x *Metadata) GetComponent() *Component

func (*Metadata) GetLicenses

func (x *Metadata) GetLicenses() *LicenseChoice

func (*Metadata) GetManufacture

func (x *Metadata) GetManufacture() *OrganizationalEntity

func (*Metadata) GetProperties

func (x *Metadata) GetProperties() []*Property

func (*Metadata) GetSupplier

func (x *Metadata) GetSupplier() *OrganizationalEntity

func (*Metadata) GetTimestamp

func (x *Metadata) GetTimestamp() *timestamp.Timestamp

func (*Metadata) GetTools

func (x *Metadata) GetTools() []*Tool

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type Note

type Note struct {

	// The ISO-639 (or higher) language code and optional ISO-3166 (or higher) country code. Examples include: "en", "en-US", "fr" and "fr-CA".
	Locale *string `protobuf:"bytes,1,opt,name=locale,proto3,oneof" json:"locale,omitempty"`
	// Specifies the full content of the release note.
	Text *AttachedText `protobuf:"bytes,2,opt,name=text,proto3,oneof" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*Note) Descriptor deprecated

func (*Note) Descriptor() ([]byte, []int)

Deprecated: Use Note.ProtoReflect.Descriptor instead.

func (*Note) GetLocale

func (x *Note) GetLocale() string

func (*Note) GetText

func (x *Note) GetText() *AttachedText

func (*Note) ProtoMessage

func (*Note) ProtoMessage()

func (*Note) ProtoReflect

func (x *Note) ProtoReflect() protoreflect.Message

func (*Note) Reset

func (x *Note) Reset()

func (*Note) String

func (x *Note) String() string

type OrganizationalContact

type OrganizationalContact struct {

	// The name of the contact
	Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// The email address of the contact.
	Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
	// The phone number of the contact.
	Phone *string `protobuf:"bytes,3,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	// contains filtered or unexported fields
}

func (*OrganizationalContact) Descriptor deprecated

func (*OrganizationalContact) Descriptor() ([]byte, []int)

Deprecated: Use OrganizationalContact.ProtoReflect.Descriptor instead.

func (*OrganizationalContact) GetEmail

func (x *OrganizationalContact) GetEmail() string

func (*OrganizationalContact) GetName

func (x *OrganizationalContact) GetName() string

func (*OrganizationalContact) GetPhone

func (x *OrganizationalContact) GetPhone() string

func (*OrganizationalContact) ProtoMessage

func (*OrganizationalContact) ProtoMessage()

func (*OrganizationalContact) ProtoReflect

func (x *OrganizationalContact) ProtoReflect() protoreflect.Message

func (*OrganizationalContact) Reset

func (x *OrganizationalContact) Reset()

func (*OrganizationalContact) String

func (x *OrganizationalContact) String() string

type OrganizationalEntity

type OrganizationalEntity struct {

	// The name of the organization
	Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// The URL of the organization. Multiple URLs are allowed.
	Url []string `protobuf:"bytes,2,rep,name=url,proto3" json:"url,omitempty"`
	// A contact person at the organization. Multiple contacts are allowed.
	Contact []*OrganizationalContact `protobuf:"bytes,3,rep,name=contact,proto3" json:"contact,omitempty"`
	// contains filtered or unexported fields
}

func (*OrganizationalEntity) Descriptor deprecated

func (*OrganizationalEntity) Descriptor() ([]byte, []int)

Deprecated: Use OrganizationalEntity.ProtoReflect.Descriptor instead.

func (*OrganizationalEntity) GetContact

func (x *OrganizationalEntity) GetContact() []*OrganizationalContact

func (*OrganizationalEntity) GetName

func (x *OrganizationalEntity) GetName() string

func (*OrganizationalEntity) GetUrl

func (x *OrganizationalEntity) GetUrl() []string

func (*OrganizationalEntity) ProtoMessage

func (*OrganizationalEntity) ProtoMessage()

func (*OrganizationalEntity) ProtoReflect

func (x *OrganizationalEntity) ProtoReflect() protoreflect.Message

func (*OrganizationalEntity) Reset

func (x *OrganizationalEntity) Reset()

func (*OrganizationalEntity) String

func (x *OrganizationalEntity) String() string

type Patch

type Patch struct {

	// Specifies the purpose for the patch including the resolution of defects, security issues, or new behavior or functionality
	Type PatchClassification `protobuf:"varint,1,opt,name=type,proto3,enum=cyclonedx.v1_4.PatchClassification" json:"type,omitempty"`
	// The patch file (or diff) that show changes. Refer to https://en.wikipedia.org/wiki/Diff
	Diff     *Diff    `protobuf:"bytes,2,opt,name=diff,proto3,oneof" json:"diff,omitempty"`
	Resolves []*Issue `protobuf:"bytes,3,rep,name=resolves,proto3" json:"resolves,omitempty"`
	// contains filtered or unexported fields
}

func (*Patch) Descriptor deprecated

func (*Patch) Descriptor() ([]byte, []int)

Deprecated: Use Patch.ProtoReflect.Descriptor instead.

func (*Patch) GetDiff

func (x *Patch) GetDiff() *Diff

func (*Patch) GetResolves

func (x *Patch) GetResolves() []*Issue

func (*Patch) GetType

func (x *Patch) GetType() PatchClassification

func (*Patch) ProtoMessage

func (*Patch) ProtoMessage()

func (*Patch) ProtoReflect

func (x *Patch) ProtoReflect() protoreflect.Message

func (*Patch) Reset

func (x *Patch) Reset()

func (*Patch) String

func (x *Patch) String() string

type PatchClassification

type PatchClassification int32
const (
	PatchClassification_PATCH_CLASSIFICATION_NULL PatchClassification = 0
	// A patch which is not developed by the creators or maintainers of the software being patched. Refer to https://en.wikipedia.org/wiki/Unofficial_patch
	PatchClassification_PATCH_CLASSIFICATION_UNOFFICIAL PatchClassification = 1
	// A patch which dynamically modifies runtime behavior. Refer to https://en.wikipedia.org/wiki/Monkey_patch
	PatchClassification_PATCH_CLASSIFICATION_MONKEY PatchClassification = 2
	// A patch which takes code from a newer version of software and applies it to older versions of the same software. Refer to https://en.wikipedia.org/wiki/Backporting
	PatchClassification_PATCH_CLASSIFICATION_BACKPORT PatchClassification = 3
	// A patch created by selectively applying commits from other versions or branches of the same software.
	PatchClassification_PATCH_CLASSIFICATION_CHERRY_PICK PatchClassification = 4
)

func (PatchClassification) Descriptor

func (PatchClassification) Enum

func (PatchClassification) EnumDescriptor deprecated

func (PatchClassification) EnumDescriptor() ([]byte, []int)

Deprecated: Use PatchClassification.Descriptor instead.

func (PatchClassification) Number

func (PatchClassification) String

func (x PatchClassification) String() string

func (PatchClassification) Type

type Pedigree

type Pedigree struct {

	// Describes zero or more components in which a component is derived from. This is commonly used to describe forks from existing projects where the forked version contains a ancestor node containing the original component it was forked from. For example, Component A is the original component. Component B is the component being used and documented in the BOM. However, Component B contains a pedigree node with a single ancestor documenting Component A - the original component from which Component B is derived from.
	Ancestors []*Component `protobuf:"bytes,1,rep,name=ancestors,proto3" json:"ancestors,omitempty"`
	// Descendants are the exact opposite of ancestors. This provides a way to document all forks (and their forks) of an original or root component.
	Descendants []*Component `protobuf:"bytes,2,rep,name=descendants,proto3" json:"descendants,omitempty"`
	// Variants describe relations where the relationship between the components are not known. For example, if Component A contains nearly identical code to Component B. They are both related, but it is unclear if one is derived from the other, or if they share a common ancestor.
	Variants []*Component `protobuf:"bytes,3,rep,name=variants,proto3" json:"variants,omitempty"`
	// A list of zero or more commits which provide a trail describing how the component deviates from an ancestor, descendant, or variant.
	Commits []*Commit `protobuf:"bytes,4,rep,name=commits,proto3" json:"commits,omitempty"`
	// A list of zero or more patches describing how the component deviates from an ancestor, descendant, or variant. Patches may be complimentary to commits or may be used in place of commits.
	Patches []*Patch `protobuf:"bytes,5,rep,name=patches,proto3" json:"patches,omitempty"`
	// Notes, observations, and other non-structured commentary describing the components pedigree.
	Notes *string `protobuf:"bytes,6,opt,name=notes,proto3,oneof" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

Component pedigree is a way to document complex supply chain scenarios where components are created, distributed, modified, redistributed, combined with other components, etc. Pedigree supports viewing this complex chain from the beginning, the end, or anywhere in the middle. It also provides a way to document variants where the exact relation may not be known.

func (*Pedigree) Descriptor deprecated

func (*Pedigree) Descriptor() ([]byte, []int)

Deprecated: Use Pedigree.ProtoReflect.Descriptor instead.

func (*Pedigree) GetAncestors

func (x *Pedigree) GetAncestors() []*Component

func (*Pedigree) GetCommits

func (x *Pedigree) GetCommits() []*Commit

func (*Pedigree) GetDescendants

func (x *Pedigree) GetDescendants() []*Component

func (*Pedigree) GetNotes

func (x *Pedigree) GetNotes() string

func (*Pedigree) GetPatches

func (x *Pedigree) GetPatches() []*Patch

func (*Pedigree) GetVariants

func (x *Pedigree) GetVariants() []*Component

func (*Pedigree) ProtoMessage

func (*Pedigree) ProtoMessage()

func (*Pedigree) ProtoReflect

func (x *Pedigree) ProtoReflect() protoreflect.Message

func (*Pedigree) Reset

func (x *Pedigree) Reset()

func (*Pedigree) String

func (x *Pedigree) String() string

type Property

type Property struct {
	Name  string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value *string `protobuf:"bytes,2,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Specifies a property

func (*Property) Descriptor deprecated

func (*Property) Descriptor() ([]byte, []int)

Deprecated: Use Property.ProtoReflect.Descriptor instead.

func (*Property) GetName

func (x *Property) GetName() string

func (*Property) GetValue

func (x *Property) GetValue() string

func (*Property) ProtoMessage

func (*Property) ProtoMessage()

func (*Property) ProtoReflect

func (x *Property) ProtoReflect() protoreflect.Message

func (*Property) Reset

func (x *Property) Reset()

func (*Property) String

func (x *Property) String() string

type ReleaseNotes

type ReleaseNotes struct {

	// The software versioning type. It is RECOMMENDED that the release type use one of 'major', 'minor', 'patch', 'pre-release', or 'internal'. Representing all possible software release types is not practical, so standardizing on the recommended values, whenever possible, is strongly encouraged.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// The title of the release.
	Title *string `protobuf:"bytes,2,opt,name=title,proto3,oneof" json:"title,omitempty"`
	// The URL to an image that may be prominently displayed with the release note.
	FeaturedImage *string `protobuf:"bytes,3,opt,name=featuredImage,proto3,oneof" json:"featuredImage,omitempty"`
	// The URL to an image that may be used in messaging on social media platforms.
	SocialImage *string `protobuf:"bytes,4,opt,name=socialImage,proto3,oneof" json:"socialImage,omitempty"`
	// A short description of the release.
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// The date and time (timestamp) when the release note was created.
	Timestamp *timestamp.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3,oneof" json:"timestamp,omitempty"`
	// Optional alternate names the release may be referred to. This may include unofficial terms used by development and marketing teams (e.g. code names).
	Aliases []string `protobuf:"bytes,7,rep,name=aliases,proto3" json:"aliases,omitempty"`
	// Optional tags that may aid in search or retrieval of the release note.
	Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
	// A collection of issues that have been resolved.
	Resolves []*Issue `protobuf:"bytes,9,rep,name=resolves,proto3" json:"resolves,omitempty"`
	// Zero or more release notes containing the locale and content. Multiple note messages may be specified to support release notes in a wide variety of languages.
	Notes []*Note `protobuf:"bytes,10,rep,name=notes,proto3" json:"notes,omitempty"`
	// Specifies optional, custom, properties
	Properties []*Property `protobuf:"bytes,11,rep,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseNotes) Descriptor deprecated

func (*ReleaseNotes) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseNotes.ProtoReflect.Descriptor instead.

func (*ReleaseNotes) GetAliases

func (x *ReleaseNotes) GetAliases() []string

func (*ReleaseNotes) GetDescription

func (x *ReleaseNotes) GetDescription() string

func (*ReleaseNotes) GetFeaturedImage

func (x *ReleaseNotes) GetFeaturedImage() string

func (*ReleaseNotes) GetNotes

func (x *ReleaseNotes) GetNotes() []*Note

func (*ReleaseNotes) GetProperties

func (x *ReleaseNotes) GetProperties() []*Property

func (*ReleaseNotes) GetResolves

func (x *ReleaseNotes) GetResolves() []*Issue

func (*ReleaseNotes) GetSocialImage

func (x *ReleaseNotes) GetSocialImage() string

func (*ReleaseNotes) GetTags

func (x *ReleaseNotes) GetTags() []string

func (*ReleaseNotes) GetTimestamp

func (x *ReleaseNotes) GetTimestamp() *timestamp.Timestamp

func (*ReleaseNotes) GetTitle

func (x *ReleaseNotes) GetTitle() string

func (*ReleaseNotes) GetType

func (x *ReleaseNotes) GetType() string

func (*ReleaseNotes) ProtoMessage

func (*ReleaseNotes) ProtoMessage()

func (*ReleaseNotes) ProtoReflect

func (x *ReleaseNotes) ProtoReflect() protoreflect.Message

func (*ReleaseNotes) Reset

func (x *ReleaseNotes) Reset()

func (*ReleaseNotes) String

func (x *ReleaseNotes) String() string

type Scope

type Scope int32
const (
	// Default
	Scope_SCOPE_UNSPECIFIED Scope = 0
	// The component is required for runtime
	Scope_SCOPE_REQUIRED Scope = 1
	// The component is optional at runtime. Optional components are components that are not capable of being called due to them not be installed or otherwise accessible by any means. Components that are installed but due to configuration or other restrictions are prohibited from being called must be scoped as 'required'.
	Scope_SCOPE_OPTIONAL Scope = 2
	// Components that are excluded provide the ability to document component usage for test and other non-runtime purposes. Excluded components are not reachable within a call graph at runtime.
	Scope_SCOPE_EXCLUDED Scope = 3
)

func (Scope) Descriptor

func (Scope) Descriptor() protoreflect.EnumDescriptor

func (Scope) Enum

func (x Scope) Enum() *Scope

func (Scope) EnumDescriptor deprecated

func (Scope) EnumDescriptor() ([]byte, []int)

Deprecated: Use Scope.Descriptor instead.

func (Scope) Number

func (x Scope) Number() protoreflect.EnumNumber

func (Scope) String

func (x Scope) String() string

func (Scope) Type

func (Scope) Type() protoreflect.EnumType

type ScoreMethod

type ScoreMethod int32
const (
	// An undefined score method
	ScoreMethod_SCORE_METHOD_NULL ScoreMethod = 0
	// Common Vulnerability Scoring System v2 - https://www.first.org/cvss/v2/
	ScoreMethod_SCORE_METHOD_CVSSV2 ScoreMethod = 1
	// Common Vulnerability Scoring System v3 - https://www.first.org/cvss/v3-0/
	ScoreMethod_SCORE_METHOD_CVSSV3 ScoreMethod = 2
	// Common Vulnerability Scoring System v3.1 - https://www.first.org/cvss/v3-1/
	ScoreMethod_SCORE_METHOD_CVSSV31 ScoreMethod = 3
	// OWASP Risk Rating Methodology - https://owasp.org/www-community/OWASP_Risk_Rating_Methodology
	ScoreMethod_SCORE_METHOD_OWASP ScoreMethod = 4
	// Other scoring method
	ScoreMethod_SCORE_METHOD_OTHER ScoreMethod = 5
)

func (ScoreMethod) Descriptor

func (ScoreMethod) Enum

func (x ScoreMethod) Enum() *ScoreMethod

func (ScoreMethod) EnumDescriptor deprecated

func (ScoreMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use ScoreMethod.Descriptor instead.

func (ScoreMethod) Number

func (x ScoreMethod) Number() protoreflect.EnumNumber

func (ScoreMethod) String

func (x ScoreMethod) String() string

func (ScoreMethod) Type

type Service

type Service struct {

	// An optional identifier which can be used to reference the service elsewhere in the BOM. Uniqueness is enforced within all elements and children of the root-level bom element.
	BomRef *string `protobuf:"bytes,1,opt,name=bom_ref,json=bomRef,proto3,oneof" json:"bom_ref,omitempty"`
	// The organization that provides the service.
	Provider *OrganizationalEntity `protobuf:"bytes,2,opt,name=provider,proto3,oneof" json:"provider,omitempty"`
	// The grouping name, namespace, or identifier. This will often be a shortened, single name of the company or project that produced the service or domain name. Whitespace and special characters should be avoided.
	Group *string `protobuf:"bytes,3,opt,name=group,proto3,oneof" json:"group,omitempty"`
	// The name of the service. This will often be a shortened, single name of the service.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// The service version.
	Version *string `protobuf:"bytes,5,opt,name=version,proto3,oneof" json:"version,omitempty"`
	// Specifies a description for the service.
	Description *string  `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Endpoints   []string `protobuf:"bytes,7,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// A boolean value indicating if the service requires authentication. A value of true indicates the service requires authentication prior to use. A value of false indicates the service does not require authentication.
	Authenticated *bool `protobuf:"varint,8,opt,name=authenticated,proto3,oneof" json:"authenticated,omitempty"`
	// A boolean value indicating if use of the service crosses a trust zone or boundary. A value of true indicates that by using the service, a trust boundary is crossed. A value of false indicates that by using the service, a trust boundary is not crossed.
	XTrustBoundary *bool                 `protobuf:"varint,9,opt,name=x_trust_boundary,json=xTrustBoundary,proto3,oneof" json:"x_trust_boundary,omitempty"`
	Data           []*DataClassification `protobuf:"bytes,10,rep,name=data,proto3" json:"data,omitempty"`
	Licenses       []*LicenseChoice      `protobuf:"bytes,11,rep,name=licenses,proto3" json:"licenses,omitempty"`
	// Provides the ability to document external references related to the service.
	ExternalReferences []*ExternalReference `protobuf:"bytes,12,rep,name=external_references,json=externalReferences,proto3" json:"external_references,omitempty"`
	// Specifies optional sub-service. This is not a dependency tree. It provides a way to specify a hierarchical representation of service assemblies, similar to system -> subsystem -> parts assembly in physical supply chains.
	Services []*Service `protobuf:"bytes,13,rep,name=services,proto3" json:"services,omitempty"`
	// Specifies optional, custom, properties
	Properties []*Property `protobuf:"bytes,14,rep,name=properties,proto3" json:"properties,omitempty"`
	// Specifies optional release notes.
	ReleaseNotes *ReleaseNotes `protobuf:"bytes,15,opt,name=releaseNotes,proto3,oneof" json:"releaseNotes,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

func (*Service) Descriptor() ([]byte, []int)

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetAuthenticated

func (x *Service) GetAuthenticated() bool

func (*Service) GetBomRef

func (x *Service) GetBomRef() string

func (*Service) GetData

func (x *Service) GetData() []*DataClassification

func (*Service) GetDescription

func (x *Service) GetDescription() string

func (*Service) GetEndpoints

func (x *Service) GetEndpoints() []string

func (*Service) GetExternalReferences

func (x *Service) GetExternalReferences() []*ExternalReference

func (*Service) GetGroup

func (x *Service) GetGroup() string

func (*Service) GetLicenses

func (x *Service) GetLicenses() []*LicenseChoice

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) GetProperties

func (x *Service) GetProperties() []*Property

func (*Service) GetProvider

func (x *Service) GetProvider() *OrganizationalEntity

func (*Service) GetReleaseNotes

func (x *Service) GetReleaseNotes() *ReleaseNotes

func (*Service) GetServices

func (x *Service) GetServices() []*Service

func (*Service) GetVersion

func (x *Service) GetVersion() string

func (*Service) GetXTrustBoundary

func (x *Service) GetXTrustBoundary() bool

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

func (x *Service) ProtoReflect() protoreflect.Message

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type Severity

type Severity int32
const (
	Severity_SEVERITY_UNKNOWN  Severity = 0
	Severity_SEVERITY_CRITICAL Severity = 1
	Severity_SEVERITY_HIGH     Severity = 2
	Severity_SEVERITY_MEDIUM   Severity = 3
	Severity_SEVERITY_LOW      Severity = 4
	Severity_SEVERITY_INFO     Severity = 5
	Severity_SEVERITY_NONE     Severity = 6
)

func (Severity) Descriptor

func (Severity) Descriptor() protoreflect.EnumDescriptor

func (Severity) Enum

func (x Severity) Enum() *Severity

func (Severity) EnumDescriptor deprecated

func (Severity) EnumDescriptor() ([]byte, []int)

Deprecated: Use Severity.Descriptor instead.

func (Severity) Number

func (x Severity) Number() protoreflect.EnumNumber

func (Severity) String

func (x Severity) String() string

func (Severity) Type

type Source

type Source struct {

	// The name of the source. For example "National Vulnerability Database", "NVD", and "Apache"
	Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// The url of the issue documentation as provided by the source
	Url *string `protobuf:"bytes,2,opt,name=url,proto3,oneof" json:"url,omitempty"`
	// contains filtered or unexported fields
}

The source of the issue where it is documented.

func (*Source) Descriptor deprecated

func (*Source) Descriptor() ([]byte, []int)

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetName

func (x *Source) GetName() string

func (*Source) GetUrl

func (x *Source) GetUrl() string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

func (x *Source) ProtoReflect() protoreflect.Message

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

type Swid

type Swid struct {

	// Maps to the tagId of a SoftwareIdentity.
	TagId string `protobuf:"bytes,1,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"`
	// Maps to the name of a SoftwareIdentity.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Maps to the version of a SoftwareIdentity.
	Version *string `protobuf:"bytes,3,opt,name=version,proto3,oneof" json:"version,omitempty"`
	// Maps to the tagVersion of a SoftwareIdentity.
	TagVersion *int32 `protobuf:"varint,4,opt,name=tag_version,json=tagVersion,proto3,oneof" json:"tag_version,omitempty"`
	// Maps to the patch of a SoftwareIdentity.
	Patch *bool `protobuf:"varint,5,opt,name=patch,proto3,oneof" json:"patch,omitempty"`
	// Specifies the full content of the SWID tag.
	Text *AttachedText `protobuf:"bytes,6,opt,name=text,proto3,oneof" json:"text,omitempty"`
	// The URL to the SWID file.
	Url *string `protobuf:"bytes,7,opt,name=url,proto3,oneof" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*Swid) Descriptor deprecated

func (*Swid) Descriptor() ([]byte, []int)

Deprecated: Use Swid.ProtoReflect.Descriptor instead.

func (*Swid) GetName

func (x *Swid) GetName() string

func (*Swid) GetPatch

func (x *Swid) GetPatch() bool

func (*Swid) GetTagId

func (x *Swid) GetTagId() string

func (*Swid) GetTagVersion

func (x *Swid) GetTagVersion() int32

func (*Swid) GetText

func (x *Swid) GetText() *AttachedText

func (*Swid) GetUrl

func (x *Swid) GetUrl() string

func (*Swid) GetVersion

func (x *Swid) GetVersion() string

func (*Swid) ProtoMessage

func (*Swid) ProtoMessage()

func (*Swid) ProtoReflect

func (x *Swid) ProtoReflect() protoreflect.Message

func (*Swid) Reset

func (x *Swid) Reset()

func (*Swid) String

func (x *Swid) String() string

type Tool

type Tool struct {

	// The vendor of the tool used to create the BOM.
	Vendor *string `protobuf:"bytes,1,opt,name=vendor,proto3,oneof" json:"vendor,omitempty"`
	// The name of the tool used to create the BOM.
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// The version of the tool used to create the BOM.
	Version *string `protobuf:"bytes,3,opt,name=version,proto3,oneof" json:"version,omitempty"`
	Hashes  []*Hash `protobuf:"bytes,4,rep,name=hashes,proto3" json:"hashes,omitempty"`
	// Provides the ability to document external references related to the tool.
	ExternalReferences []*ExternalReference `protobuf:"bytes,5,rep,name=external_references,json=externalReferences,proto3" json:"external_references,omitempty"`
	// contains filtered or unexported fields
}

Specifies a tool (manual or automated).

func (*Tool) Descriptor deprecated

func (*Tool) Descriptor() ([]byte, []int)

Deprecated: Use Tool.ProtoReflect.Descriptor instead.

func (*Tool) GetExternalReferences

func (x *Tool) GetExternalReferences() []*ExternalReference

func (*Tool) GetHashes

func (x *Tool) GetHashes() []*Hash

func (*Tool) GetName

func (x *Tool) GetName() string

func (*Tool) GetVendor

func (x *Tool) GetVendor() string

func (*Tool) GetVersion

func (x *Tool) GetVersion() string

func (*Tool) ProtoMessage

func (*Tool) ProtoMessage()

func (*Tool) ProtoReflect

func (x *Tool) ProtoReflect() protoreflect.Message

func (*Tool) Reset

func (x *Tool) Reset()

func (*Tool) String

func (x *Tool) String() string

type Vulnerability

type Vulnerability struct {

	// An optional identifier which can be used to reference the vulnerability elsewhere in the BOM. Uniqueness is enforced within all elements and children of the root-level bom element.
	BomRef *string `protobuf:"bytes,1,opt,name=bom_ref,json=bomRef,proto3,oneof" json:"bom_ref,omitempty"`
	// The identifier that uniquely identifies the vulnerability.
	Id *string `protobuf:"bytes,2,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// The source that published the vulnerability.
	Source *Source `protobuf:"bytes,3,opt,name=source,proto3,oneof" json:"source,omitempty"`
	// Zero or more pointers to vulnerabilities that are the equivalent of the vulnerability specified. Often times, the same vulnerability may exist in multiple sources of vulnerability intelligence, but have different identifiers. References provide a way to correlate vulnerabilities across multiple sources of vulnerability intelligence.
	References []*VulnerabilityReference `protobuf:"bytes,4,rep,name=references,proto3" json:"references,omitempty"`
	// List of vulnerability ratings
	Ratings []*VulnerabilityRating `protobuf:"bytes,5,rep,name=ratings,proto3" json:"ratings,omitempty"`
	// List of Common Weaknesses Enumerations (CWEs) codes that describes this vulnerability. For example 399 (of https://cwe.mitre.org/data/definitions/399.html)
	Cwes []int32 `protobuf:"varint,6,rep,packed,name=cwes,proto3" json:"cwes,omitempty"`
	// A description of the vulnerability as provided by the source.
	Description *string `protobuf:"bytes,7,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// If available, an in-depth description of the vulnerability as provided by the source organization. Details often include examples, proof-of-concepts, and other information useful in understanding root cause.
	Detail *string `protobuf:"bytes,8,opt,name=detail,proto3,oneof" json:"detail,omitempty"`
	// Recommendations of how the vulnerability can be remediated or mitigated.
	Recommendation *string `protobuf:"bytes,9,opt,name=recommendation,proto3,oneof" json:"recommendation,omitempty"`
	// Published advisories of the vulnerability if provided.
	Advisories []*Advisory `protobuf:"bytes,10,rep,name=advisories,proto3" json:"advisories,omitempty"`
	// The date and time (timestamp) when the vulnerability record was created in the vulnerability database.
	Created *timestamp.Timestamp `protobuf:"bytes,11,opt,name=created,proto3,oneof" json:"created,omitempty"`
	// The date and time (timestamp) when the vulnerability record was first published.
	Published *timestamp.Timestamp `protobuf:"bytes,12,opt,name=published,proto3,oneof" json:"published,omitempty"`
	// The date and time (timestamp) when the vulnerability record was last updated.
	Updated *timestamp.Timestamp `protobuf:"bytes,13,opt,name=updated,proto3,oneof" json:"updated,omitempty"`
	// Individuals or organizations credited with the discovery of the vulnerability.
	Credits *VulnerabilityCredits `protobuf:"bytes,14,opt,name=credits,proto3,oneof" json:"credits,omitempty"`
	// The tool(s) used to identify, confirm, or score the vulnerability.
	Tools []*Tool `protobuf:"bytes,15,rep,name=tools,proto3" json:"tools,omitempty"`
	// An assessment of the impact and exploitability of the vulnerability.
	Analysis *VulnerabilityAnalysis `protobuf:"bytes,16,opt,name=analysis,proto3,oneof" json:"analysis,omitempty"`
	// affects
	Affects []*VulnerabilityAffects `protobuf:"bytes,17,rep,name=affects,proto3" json:"affects,omitempty"`
	// Specifies optional, custom, properties
	Properties []*Property `protobuf:"bytes,18,rep,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*Vulnerability) Descriptor deprecated

func (*Vulnerability) Descriptor() ([]byte, []int)

Deprecated: Use Vulnerability.ProtoReflect.Descriptor instead.

func (*Vulnerability) GetAdvisories

func (x *Vulnerability) GetAdvisories() []*Advisory

func (*Vulnerability) GetAffects

func (x *Vulnerability) GetAffects() []*VulnerabilityAffects

func (*Vulnerability) GetAnalysis

func (x *Vulnerability) GetAnalysis() *VulnerabilityAnalysis

func (*Vulnerability) GetBomRef

func (x *Vulnerability) GetBomRef() string

func (*Vulnerability) GetCreated

func (x *Vulnerability) GetCreated() *timestamp.Timestamp

func (*Vulnerability) GetCredits

func (x *Vulnerability) GetCredits() *VulnerabilityCredits

func (*Vulnerability) GetCwes

func (x *Vulnerability) GetCwes() []int32

func (*Vulnerability) GetDescription

func (x *Vulnerability) GetDescription() string

func (*Vulnerability) GetDetail

func (x *Vulnerability) GetDetail() string

func (*Vulnerability) GetId

func (x *Vulnerability) GetId() string

func (*Vulnerability) GetProperties

func (x *Vulnerability) GetProperties() []*Property

func (*Vulnerability) GetPublished

func (x *Vulnerability) GetPublished() *timestamp.Timestamp

func (*Vulnerability) GetRatings

func (x *Vulnerability) GetRatings() []*VulnerabilityRating

func (*Vulnerability) GetRecommendation

func (x *Vulnerability) GetRecommendation() string

func (*Vulnerability) GetReferences

func (x *Vulnerability) GetReferences() []*VulnerabilityReference

func (*Vulnerability) GetSource

func (x *Vulnerability) GetSource() *Source

func (*Vulnerability) GetTools

func (x *Vulnerability) GetTools() []*Tool

func (*Vulnerability) GetUpdated

func (x *Vulnerability) GetUpdated() *timestamp.Timestamp

func (*Vulnerability) ProtoMessage

func (*Vulnerability) ProtoMessage()

func (*Vulnerability) ProtoReflect

func (x *Vulnerability) ProtoReflect() protoreflect.Message

func (*Vulnerability) Reset

func (x *Vulnerability) Reset()

func (*Vulnerability) String

func (x *Vulnerability) String() string

type VulnerabilityAffectedStatus

type VulnerabilityAffectedStatus int32
const (
	// The vulnerability status of a given version or range of versions of a product. The statuses 'affected' and 'unaffected' indicate that the version is affected or unaffected by the vulnerability. The status 'unknown' indicates that it is unknown or unspecified whether the given version is affected. There can be many reasons for an 'unknown' status, including that an investigation has not been undertaken or that a vendor has not disclosed the status.
	VulnerabilityAffectedStatus_VULNERABILITY_AFFECTED_STATUS_UNKNOWN      VulnerabilityAffectedStatus = 0
	VulnerabilityAffectedStatus_VULNERABILITY_AFFECTED_STATUS_AFFECTED     VulnerabilityAffectedStatus = 1
	VulnerabilityAffectedStatus_VULNERABILITY_AFFECTED_STATUS_NOT_AFFECTED VulnerabilityAffectedStatus = 2
)

func (VulnerabilityAffectedStatus) Descriptor

func (VulnerabilityAffectedStatus) Enum

func (VulnerabilityAffectedStatus) EnumDescriptor deprecated

func (VulnerabilityAffectedStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use VulnerabilityAffectedStatus.Descriptor instead.

func (VulnerabilityAffectedStatus) Number

func (VulnerabilityAffectedStatus) String

func (VulnerabilityAffectedStatus) Type

type VulnerabilityAffectedVersions

type VulnerabilityAffectedVersions struct {

	// Types that are assignable to Choice:
	//	*VulnerabilityAffectedVersions_Version
	//	*VulnerabilityAffectedVersions_Range
	Choice isVulnerabilityAffectedVersions_Choice `protobuf_oneof:"choice"`
	// The vulnerability status for the version or range of versions.
	Status *VulnerabilityAffectedStatus `protobuf:"varint,3,opt,name=status,proto3,enum=cyclonedx.v1_4.VulnerabilityAffectedStatus,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnerabilityAffectedVersions) Descriptor deprecated

func (*VulnerabilityAffectedVersions) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityAffectedVersions.ProtoReflect.Descriptor instead.

func (*VulnerabilityAffectedVersions) GetChoice

func (m *VulnerabilityAffectedVersions) GetChoice() isVulnerabilityAffectedVersions_Choice

func (*VulnerabilityAffectedVersions) GetRange

func (x *VulnerabilityAffectedVersions) GetRange() string

func (*VulnerabilityAffectedVersions) GetStatus

func (*VulnerabilityAffectedVersions) GetVersion

func (x *VulnerabilityAffectedVersions) GetVersion() string

func (*VulnerabilityAffectedVersions) ProtoMessage

func (*VulnerabilityAffectedVersions) ProtoMessage()

func (*VulnerabilityAffectedVersions) ProtoReflect

func (*VulnerabilityAffectedVersions) Reset

func (x *VulnerabilityAffectedVersions) Reset()

func (*VulnerabilityAffectedVersions) String

type VulnerabilityAffectedVersions_Range

type VulnerabilityAffectedVersions_Range struct {
	// A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/VERSION-RANGE-SPEC.rst
	Range string `protobuf:"bytes,2,opt,name=range,proto3,oneof"`
}

type VulnerabilityAffectedVersions_Version

type VulnerabilityAffectedVersions_Version struct {
	// A single version of a component or service.
	Version string `protobuf:"bytes,1,opt,name=version,proto3,oneof"`
}

type VulnerabilityAffects

type VulnerabilityAffects struct {

	// References a component or service by the objects bom-ref
	Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	// Zero or more individual versions or range of versions.
	Versions []*VulnerabilityAffectedVersions `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnerabilityAffects) Descriptor deprecated

func (*VulnerabilityAffects) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityAffects.ProtoReflect.Descriptor instead.

func (*VulnerabilityAffects) GetRef

func (x *VulnerabilityAffects) GetRef() string

func (*VulnerabilityAffects) GetVersions

func (*VulnerabilityAffects) ProtoMessage

func (*VulnerabilityAffects) ProtoMessage()

func (*VulnerabilityAffects) ProtoReflect

func (x *VulnerabilityAffects) ProtoReflect() protoreflect.Message

func (*VulnerabilityAffects) Reset

func (x *VulnerabilityAffects) Reset()

func (*VulnerabilityAffects) String

func (x *VulnerabilityAffects) String() string

type VulnerabilityAnalysis

type VulnerabilityAnalysis struct {

	// Declares the current state of an occurrence of a vulnerability, after automated or manual analysis.
	State *ImpactAnalysisState `protobuf:"varint,1,opt,name=state,proto3,enum=cyclonedx.v1_4.ImpactAnalysisState,oneof" json:"state,omitempty"`
	// The rationale of why the impact analysis state was asserted.
	Justification *ImpactAnalysisJustification `` /* 134-byte string literal not displayed */
	// A response to the vulnerability by the manufacturer, supplier, or project responsible for the affected component or service. More than one response is allowed. Responses are strongly encouraged for vulnerabilities where the analysis state is exploitable.
	Response []VulnerabilityResponse `protobuf:"varint,3,rep,packed,name=response,proto3,enum=cyclonedx.v1_4.VulnerabilityResponse" json:"response,omitempty"`
	// Detailed description of the impact including methods used during assessment. If a vulnerability is not exploitable, this field should include specific details on why the component or service is not impacted by this vulnerability.
	Detail *string `protobuf:"bytes,4,opt,name=detail,proto3,oneof" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnerabilityAnalysis) Descriptor deprecated

func (*VulnerabilityAnalysis) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityAnalysis.ProtoReflect.Descriptor instead.

func (*VulnerabilityAnalysis) GetDetail

func (x *VulnerabilityAnalysis) GetDetail() string

func (*VulnerabilityAnalysis) GetJustification

func (x *VulnerabilityAnalysis) GetJustification() ImpactAnalysisJustification

func (*VulnerabilityAnalysis) GetResponse

func (x *VulnerabilityAnalysis) GetResponse() []VulnerabilityResponse

func (*VulnerabilityAnalysis) GetState

func (*VulnerabilityAnalysis) ProtoMessage

func (*VulnerabilityAnalysis) ProtoMessage()

func (*VulnerabilityAnalysis) ProtoReflect

func (x *VulnerabilityAnalysis) ProtoReflect() protoreflect.Message

func (*VulnerabilityAnalysis) Reset

func (x *VulnerabilityAnalysis) Reset()

func (*VulnerabilityAnalysis) String

func (x *VulnerabilityAnalysis) String() string

type VulnerabilityCredits

type VulnerabilityCredits struct {

	// The organizations credited with vulnerability discovery.
	Organizations []*OrganizationalEntity `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
	// The individuals, not associated with organizations, that are credited with vulnerability discovery.
	Individuals []*OrganizationalContact `protobuf:"bytes,2,rep,name=individuals,proto3" json:"individuals,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnerabilityCredits) Descriptor deprecated

func (*VulnerabilityCredits) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityCredits.ProtoReflect.Descriptor instead.

func (*VulnerabilityCredits) GetIndividuals

func (x *VulnerabilityCredits) GetIndividuals() []*OrganizationalContact

func (*VulnerabilityCredits) GetOrganizations

func (x *VulnerabilityCredits) GetOrganizations() []*OrganizationalEntity

func (*VulnerabilityCredits) ProtoMessage

func (*VulnerabilityCredits) ProtoMessage()

func (*VulnerabilityCredits) ProtoReflect

func (x *VulnerabilityCredits) ProtoReflect() protoreflect.Message

func (*VulnerabilityCredits) Reset

func (x *VulnerabilityCredits) Reset()

func (*VulnerabilityCredits) String

func (x *VulnerabilityCredits) String() string

type VulnerabilityRating

type VulnerabilityRating struct {

	// The source that calculated the severity or risk rating of the vulnerability.
	Source *Source `protobuf:"bytes,1,opt,name=source,proto3,oneof" json:"source,omitempty"`
	// The numerical score of the rating.
	Score *float64 `protobuf:"fixed64,2,opt,name=score,proto3,oneof" json:"score,omitempty"`
	// Textual representation of the severity that corresponds to the numerical score of the rating.
	Severity *Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=cyclonedx.v1_4.Severity,oneof" json:"severity,omitempty"`
	// Specifies the severity or risk scoring methodology or standard used.
	Method *ScoreMethod `protobuf:"varint,4,opt,name=method,proto3,enum=cyclonedx.v1_4.ScoreMethod,oneof" json:"method,omitempty"`
	// Textual representation of the metric values used to score the vulnerability.
	Vector *string `protobuf:"bytes,5,opt,name=vector,proto3,oneof" json:"vector,omitempty"`
	// An optional reason for rating the vulnerability as it was.
	Justification *string `protobuf:"bytes,6,opt,name=justification,proto3,oneof" json:"justification,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnerabilityRating) Descriptor deprecated

func (*VulnerabilityRating) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityRating.ProtoReflect.Descriptor instead.

func (*VulnerabilityRating) GetJustification

func (x *VulnerabilityRating) GetJustification() string

func (*VulnerabilityRating) GetMethod

func (x *VulnerabilityRating) GetMethod() ScoreMethod

func (*VulnerabilityRating) GetScore

func (x *VulnerabilityRating) GetScore() float64

func (*VulnerabilityRating) GetSeverity

func (x *VulnerabilityRating) GetSeverity() Severity

func (*VulnerabilityRating) GetSource

func (x *VulnerabilityRating) GetSource() *Source

func (*VulnerabilityRating) GetVector

func (x *VulnerabilityRating) GetVector() string

func (*VulnerabilityRating) ProtoMessage

func (*VulnerabilityRating) ProtoMessage()

func (*VulnerabilityRating) ProtoReflect

func (x *VulnerabilityRating) ProtoReflect() protoreflect.Message

func (*VulnerabilityRating) Reset

func (x *VulnerabilityRating) Reset()

func (*VulnerabilityRating) String

func (x *VulnerabilityRating) String() string

type VulnerabilityReference

type VulnerabilityReference struct {

	// An identifier that uniquely identifies the vulnerability.
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// The source that published the vulnerability.
	Source *Source `protobuf:"bytes,2,opt,name=source,proto3,oneof" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnerabilityReference) Descriptor deprecated

func (*VulnerabilityReference) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityReference.ProtoReflect.Descriptor instead.

func (*VulnerabilityReference) GetId

func (x *VulnerabilityReference) GetId() string

func (*VulnerabilityReference) GetSource

func (x *VulnerabilityReference) GetSource() *Source

func (*VulnerabilityReference) ProtoMessage

func (*VulnerabilityReference) ProtoMessage()

func (*VulnerabilityReference) ProtoReflect

func (x *VulnerabilityReference) ProtoReflect() protoreflect.Message

func (*VulnerabilityReference) Reset

func (x *VulnerabilityReference) Reset()

func (*VulnerabilityReference) String

func (x *VulnerabilityReference) String() string

type VulnerabilityResponse

type VulnerabilityResponse int32
const (
	VulnerabilityResponse_VULNERABILITY_RESPONSE_NULL                 VulnerabilityResponse = 0
	VulnerabilityResponse_VULNERABILITY_RESPONSE_CAN_NOT_FIX          VulnerabilityResponse = 1
	VulnerabilityResponse_VULNERABILITY_RESPONSE_WILL_NOT_FIX         VulnerabilityResponse = 2
	VulnerabilityResponse_VULNERABILITY_RESPONSE_UPDATE               VulnerabilityResponse = 3
	VulnerabilityResponse_VULNERABILITY_RESPONSE_ROLLBACK             VulnerabilityResponse = 4
	VulnerabilityResponse_VULNERABILITY_RESPONSE_WORKAROUND_AVAILABLE VulnerabilityResponse = 5
)

func (VulnerabilityResponse) Descriptor

func (VulnerabilityResponse) Enum

func (VulnerabilityResponse) EnumDescriptor deprecated

func (VulnerabilityResponse) EnumDescriptor() ([]byte, []int)

Deprecated: Use VulnerabilityResponse.Descriptor instead.

func (VulnerabilityResponse) Number

func (VulnerabilityResponse) String

func (x VulnerabilityResponse) String() string

func (VulnerabilityResponse) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL