softwarecomposition

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Overview

Package softwarecomposition is the internal version of the API.

Index

Constants

View Source
const (
	// F.2 Security types
	TypeSecurityCPE23Type string = "cpe23Type"
	TypeSecurityCPE22Type string = "cpe22Type"
	TypeSecurityAdvisory  string = "advisory"
	TypeSecurityFix       string = "fix"
	TypeSecurityUrl       string = "url"
	TypeSecuritySwid      string = "swid"

	// F.3 Package-Manager types
	TypePackageManagerMavenCentral string = "maven-central"
	TypePackageManagerNpm          string = "npm"
	TypePackageManagerNuGet        string = "nuget"
	TypePackageManagerBower        string = "bower"
	TypePackageManagerPURL         string = "purl"

	// 11.1 Relationship field types
	TypeRelationshipDescribe                  string = "DESCRIBES"
	TypeRelationshipDescribeBy                string = "DESCRIBED_BY"
	TypeRelationshipContains                  string = "CONTAINS"
	TypeRelationshipContainedBy               string = "CONTAINED_BY"
	TypeRelationshipDependsOn                 string = "DEPENDS_ON"
	TypeRelationshipDependencyOf              string = "DEPENDENCY_OF"
	TypeRelationshipBuildDependencyOf         string = "BUILD_DEPENDENCY_OF"
	TypeRelationshipDevDependencyOf           string = "DEV_DEPENDENCY_OF"
	TypeRelationshipOptionalDependencyOf      string = "OPTIONAL_DEPENDENCY_OF"
	TypeRelationshipProvidedDependencyOf      string = "PROVIDED_DEPENDENCY_OF"
	TypeRelationshipTestDependencyOf          string = "TEST_DEPENDENCY_OF"
	TypeRelationshipRuntimeDependencyOf       string = "RUNTIME_DEPENDENCY_OF"
	TypeRelationshipExampleOf                 string = "EXAMPLE_OF"
	TypeRelationshipGenerates                 string = "GENERATES"
	TypeRelationshipGeneratedFrom             string = "GENERATED_FROM"
	TypeRelationshipAncestorOf                string = "ANCESTOR_OF"
	TypeRelationshipDescendantOf              string = "DESCENDANT_OF"
	TypeRelationshipVariantOf                 string = "VARIANT_OF"
	TypeRelationshipDistributionArtifact      string = "DISTRIBUTION_ARTIFACT"
	TypeRelationshipPatchFor                  string = "PATCH_FOR"
	TypeRelationshipPatchApplied              string = "PATCH_APPLIED"
	TypeRelationshipCopyOf                    string = "COPY_OF"
	TypeRelationshipFileAdded                 string = "FILE_ADDED"
	TypeRelationshipFileDeleted               string = "FILE_DELETED"
	TypeRelationshipFileModified              string = "FILE_MODIFIED"
	TypeRelationshipExpandedFromArchive       string = "EXPANDED_FROM_ARCHIVE"
	TypeRelationshipDynamicLink               string = "DYNAMIC_LINK"
	TypeRelationshipStaticLink                string = "STATIC_LINK"
	TypeRelationshipDataFileOf                string = "DATA_FILE_OF"
	TypeRelationshipTestCaseOf                string = "TEST_CASE_OF"
	TypeRelationshipBuildToolOf               string = "BUILD_TOOL_OF"
	TypeRelationshipDevToolOf                 string = "DEV_TOOL_OF"
	TypeRelationshipTestOf                    string = "TEST_OF"
	TypeRelationshipTestToolOf                string = "TEST_TOOL_OF"
	TypeRelationshipDocumentationOf           string = "DOCUMENTATION_OF"
	TypeRelationshipOptionalComponentOf       string = "OPTIONAL_COMPONENT_OF"
	TypeRelationshipMetafileOf                string = "METAFILE_OF"
	TypeRelationshipPackageOf                 string = "PACKAGE_OF"
	TypeRelationshipAmends                    string = "AMENDS"
	TypeRelationshipPrerequisiteFor           string = "PREREQUISITE_FOR"
	TypeRelationshipHasPrerequisite           string = "HAS_PREREQUISITE"
	TypeRelationshipRequirementDescriptionFor string = "REQUIREMENT_DESCRIPTION_FOR"
	TypeRelationshipSpecificationFor          string = "SPECIFICATION_FOR"
	TypeRelationshipOther                     string = "OTHER"
)

Constants for various string types

View Source
const GroupName = "spdx.softwarecomposition.kubescape.io"

GroupName is the group name used in this package

Variables

View Source
var (
	// SchemeBuilder is the scheme builder with scheme init functions to run for this API package
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a common registration function for mapping packaged scoped group & version keys to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func RenderDocElementID

func RenderDocElementID(deID DocElementID) string

RenderDocElementID takes a DocElementID and returns the string equivalent, with the SPDXRef- prefix (and, if applicable, the DocumentRef- prefix) reinserted. If a SpecialID is present, it will be rendered verbatim and DocumentRefID and ElementRefID will be ignored.

func RenderElementID

func RenderElementID(eID ElementID) string

RenderElementID takes an ElementID and returns the string equivalent, with the SPDXRef- prefix reinserted.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns back a Group qualified GroupResource

Types

type Advisory

type Advisory struct {
	ID   string
	Link string
}

func (*Advisory) DeepCopy

func (in *Advisory) DeepCopy() *Advisory

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Advisory.

func (*Advisory) DeepCopyInto

func (in *Advisory) DeepCopyInto(out *Advisory)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Annotation

type Annotation struct {
	// 12.1: Annotator
	// Cardinality: conditional (mandatory, one) if there is an Annotation
	Annotator Annotator

	// 12.2: Annotation Date: YYYY-MM-DDThh:mm:ssZ
	// Cardinality: conditional (mandatory, one) if there is an Annotation
	AnnotationDate string

	// 12.3: Annotation Type: "REVIEW" or "OTHER"
	// Cardinality: conditional (mandatory, one) if there is an Annotation
	AnnotationType string

	// 12.4: SPDX Identifier Reference
	// Cardinality: conditional (mandatory, one) if there is an Annotation
	// This field is not used in hierarchical data formats where the referenced element is clear, such as JSON or YAML.
	AnnotationSPDXIdentifier DocElementID

	// 12.5: Annotation Comment
	// Cardinality: conditional (mandatory, one) if there is an Annotation
	AnnotationComment string
}

Annotation is an Annotation section of an SPDX Document for version 2.3 of the spec.

func (*Annotation) DeepCopy

func (in *Annotation) DeepCopy() *Annotation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Annotation.

func (*Annotation) DeepCopyInto

func (in *Annotation) DeepCopyInto(out *Annotation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Annotator

type Annotator struct {
	Annotator string
	// including AnnotatorType: one of "Person", "Organization" or "Tool"
	AnnotatorType string
}

func (*Annotator) DeepCopy

func (in *Annotator) DeepCopy() *Annotator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Annotator.

func (*Annotator) DeepCopyInto

func (in *Annotator) DeepCopyInto(out *Annotator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Annotator) MarshalJSON

func (a Annotator) MarshalJSON() ([]byte, error)

MarshalJSON converts the receiver into a slice of bytes representing an Annotator in string form. This function is also used when marshalling to YAML

func (*Annotator) UnmarshalJSON

func (a *Annotator) UnmarshalJSON(data []byte) error

UnmarshalJSON takes an annotator in the typical one-line format and parses it into an Annotator struct. This function is also used when unmarshalling YAML

type ArtifactOfProject

type ArtifactOfProject struct {

	// DEPRECATED in version 2.1 of spec
	// 8.9: Artifact of Project Name
	// Cardinality: conditional, required if present, one per AOP
	Name string

	// DEPRECATED in version 2.1 of spec
	// 8.10: Artifact of Project Homepage: URL or "UNKNOWN"
	// Cardinality: optional, one per AOP
	HomePage string

	// DEPRECATED in version 2.1 of spec
	// 8.11: Artifact of Project Uniform Resource Identifier
	// Cardinality: optional, one per AOP
	URI string
}

ArtifactOfProject is a DEPRECATED collection of data regarding a Package, as defined in sections 8.9-8.11 in version 2.3 of the spec. NOTE: the JSON schema does not define the structure of this object: https://github.com/spdx/spdx-spec/blob/development/v2.3.1/schemas/spdx-schema.json#L480

func (*ArtifactOfProject) DeepCopy

func (in *ArtifactOfProject) DeepCopy() *ArtifactOfProject

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactOfProject.

func (*ArtifactOfProject) DeepCopyInto

func (in *ArtifactOfProject) DeepCopyInto(out *ArtifactOfProject)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Checksum

type Checksum struct {
	Algorithm ChecksumAlgorithm
	Value     string
}

Checksum provides a unique identifier to match analysis information on each specific file in a package. The Algorithm field describes the ChecksumAlgorithm used and the Value represents the file checksum

func (*Checksum) DeepCopy

func (in *Checksum) DeepCopy() *Checksum

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Checksum.

func (*Checksum) DeepCopyInto

func (in *Checksum) DeepCopyInto(out *Checksum)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ChecksumAlgorithm

type ChecksumAlgorithm string

ChecksumAlgorithm represents the algorithm used to generate the file checksum in the Checksum struct.

const (
	SHA224      ChecksumAlgorithm = "SHA224"
	SHA1        ChecksumAlgorithm = "SHA1"
	SHA256      ChecksumAlgorithm = "SHA256"
	SHA384      ChecksumAlgorithm = "SHA384"
	SHA512      ChecksumAlgorithm = "SHA512"
	MD2         ChecksumAlgorithm = "MD2"
	MD4         ChecksumAlgorithm = "MD4"
	MD5         ChecksumAlgorithm = "MD5"
	MD6         ChecksumAlgorithm = "MD6"
	SHA3_256    ChecksumAlgorithm = "SHA3-256"
	SHA3_384    ChecksumAlgorithm = "SHA3-384"
	SHA3_512    ChecksumAlgorithm = "SHA3-512"
	BLAKE2b_256 ChecksumAlgorithm = "BLAKE2b-256"
	BLAKE2b_384 ChecksumAlgorithm = "BLAKE2b-384"
	BLAKE2b_512 ChecksumAlgorithm = "BLAKE2b-512"
	BLAKE3      ChecksumAlgorithm = "BLAKE3"
	ADLER32     ChecksumAlgorithm = "ADLER32"
)

The checksum algorithms mentioned in the spdxv2.2.0 https://spdx.github.io/spdx-spec/4-file-information/#44-file-checksum

type ConfigurationScanSummary added in v0.0.18

type ConfigurationScanSummary struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec ConfigurationScanSummarySpec
}

ConfigurationScanSummary is a summary for a group of WorkloadConfigurationScanSummary objects for a given scope (ex. namespace).

func (*ConfigurationScanSummary) DeepCopy added in v0.0.18

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationScanSummary.

func (*ConfigurationScanSummary) DeepCopyInto added in v0.0.18

func (in *ConfigurationScanSummary) DeepCopyInto(out *ConfigurationScanSummary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConfigurationScanSummary) DeepCopyObject added in v0.0.18

func (in *ConfigurationScanSummary) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ConfigurationScanSummaryList added in v0.0.18

type ConfigurationScanSummaryList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []ConfigurationScanSummary
}

ConfigurationScanSummaryList is a list of ConfigurationScanSummary summaries.

func (*ConfigurationScanSummaryList) DeepCopy added in v0.0.18

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationScanSummaryList.

func (*ConfigurationScanSummaryList) DeepCopyInto added in v0.0.18

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConfigurationScanSummaryList) DeepCopyObject added in v0.0.18

func (in *ConfigurationScanSummaryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ConfigurationScanSummarySpec added in v0.0.18

type ConfigurationScanSummarySpec struct {
	Severities                                  WorkloadConfigurationScanSeveritiesSummary
	WorkloadConfigurationScanSummaryIdentifiers []WorkloadConfigurationScanSummaryIdentifier
}

func (*ConfigurationScanSummarySpec) DeepCopy added in v0.0.18

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationScanSummarySpec.

func (*ConfigurationScanSummarySpec) DeepCopyInto added in v0.0.18

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ControlSeverity added in v0.0.16

type ControlSeverity struct {
	Severity    string
	ScoreFactor float32
}

func (*ControlSeverity) DeepCopy added in v0.0.16

func (in *ControlSeverity) DeepCopy() *ControlSeverity

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlSeverity.

func (*ControlSeverity) DeepCopyInto added in v0.0.16

func (in *ControlSeverity) DeepCopyInto(out *ControlSeverity)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CreationInfo

type CreationInfo struct {
	// 6.7: License List Version
	// Cardinality: optional, one
	LicenseListVersion string

	// 6.8: Creators: may have multiple keys for Person, Organization
	//      and/or Tool
	// Cardinality: mandatory, one or many
	Creators []Creator

	// 6.9: Created: data format YYYY-MM-DDThh:mm:ssZ
	// Cardinality: mandatory, one
	Created string

	// 6.10: Creator Comment
	// Cardinality: optional, one
	CreatorComment string
}

CreationInfo is a Document Creation Information section of an SPDX Document for version 2.3 of the spec.

func (*CreationInfo) DeepCopy

func (in *CreationInfo) DeepCopy() *CreationInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreationInfo.

func (*CreationInfo) DeepCopyInto

func (in *CreationInfo) DeepCopyInto(out *CreationInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Creator

type Creator struct {
	Creator string
	// CreatorType should be one of "Person", "Organization", or "Tool"
	CreatorType string
}

Creator is a wrapper around the Creator SPDX field. The SPDX field contains two values, which requires special handling in order to marshal/unmarshal it to/from Go data types.

func (*Creator) DeepCopy

func (in *Creator) DeepCopy() *Creator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Creator.

func (*Creator) DeepCopyInto

func (in *Creator) DeepCopyInto(out *Creator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Creator) MarshalJSON

func (c Creator) MarshalJSON() ([]byte, error)

MarshalJSON converts the receiver into a slice of bytes representing a Creator in string form. This function is also used with marshalling to YAML

func (*Creator) UnmarshalJSON

func (c *Creator) UnmarshalJSON(data []byte) error

UnmarshalJSON takes an annotator in the typical one-line format and parses it into a Creator struct. This function is also used when unmarshalling YAML

type Cvss

type Cvss struct {
	Version        string
	Vector         string
	Metrics        CvssMetrics
	VendorMetadata json.RawMessage
}

func (*Cvss) DeepCopy

func (in *Cvss) DeepCopy() *Cvss

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cvss.

func (*Cvss) DeepCopyInto

func (in *Cvss) DeepCopyInto(out *Cvss)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CvssMetrics

type CvssMetrics struct {
	BaseScore           float64
	ExploitabilityScore *float64
	ImpactScore         *float64
}

func (*CvssMetrics) DeepCopy

func (in *CvssMetrics) DeepCopy() *CvssMetrics

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CvssMetrics.

func (*CvssMetrics) DeepCopyInto

func (in *CvssMetrics) DeepCopyInto(out *CvssMetrics)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Descriptor

type Descriptor struct {
	Name                  string
	Version               string
	Configuration         json.RawMessage
	VulnerabilityDBStatus json.RawMessage
}

func (*Descriptor) DeepCopy

func (in *Descriptor) DeepCopy() *Descriptor

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Descriptor.

func (*Descriptor) DeepCopyInto

func (in *Descriptor) DeepCopyInto(out *Descriptor)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Distribution

type Distribution struct {
	Name    string
	Version string
	IDLike  []string
}

func (*Distribution) DeepCopy

func (in *Distribution) DeepCopy() *Distribution

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Distribution.

func (*Distribution) DeepCopyInto

func (in *Distribution) DeepCopyInto(out *Distribution)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DocElementID

type DocElementID struct {
	DocumentRefID string
	ElementRefID  ElementID
	SpecialID     string
}

DocElementID represents an SPDX element identifier that could be defined in a different SPDX document, and therefore could have a "DocumentRef-" portion, such as Relationships and Annotations. ElementID is used for attributes in which a "DocumentRef-" portion cannot appear, such as a Package or File definition (since it is necessarily being defined in the present document). DocumentRefID will be the empty string for elements defined in the present document. DocElementIDs should NOT contain the mandatory 'DocumentRef-' or 'SPDXRef-' portions. SpecialID is used ONLY if the DocElementID matches a defined set of permitted special values for a particular field, e.g. "NONE" or "NOASSERTION" for the right-hand side of Relationships. If SpecialID is set, DocumentRefID and ElementRefID should be empty (and vice versa).

func MakeDocElementID

func MakeDocElementID(docRef string, eltRef string) DocElementID

MakeDocElementID takes strings (without prefixes) for the DocumentRef- and SPDXRef- identifiers, and returns a DocElementID. An empty string should be used for the DocumentRef- portion if it is referring to the present document.

func MakeDocElementSpecial

func MakeDocElementSpecial(specialID string) DocElementID

MakeDocElementSpecial takes a "special" string (e.g. "NONE" or "NOASSERTION" for the right side of a Relationship), nd returns a DocElementID with it in the SpecialID field. Other fields will be empty.

func (*DocElementID) DeepCopy

func (in *DocElementID) DeepCopy() *DocElementID

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocElementID.

func (*DocElementID) DeepCopyInto

func (in *DocElementID) DeepCopyInto(out *DocElementID)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (DocElementID) MarshalJSON

func (d DocElementID) MarshalJSON() ([]byte, error)

MarshalJSON converts the receiver into a slice of bytes representing a DocElementID in string form. This function is also used when marshalling to YAML

func (*DocElementID) UnmarshalJSON

func (d *DocElementID) UnmarshalJSON(data []byte) (err error)

UnmarshalJSON takes a SPDX Identifier string parses it into a DocElementID struct. This function is also used when unmarshalling YAML

type Document

type Document struct {
	// Added
	DocumentDescribes []string

	// 6.1: SPDX Version; should be in the format "SPDX-2.3"
	// Cardinality: mandatory, one
	SPDXVersion string

	// 6.2: Data License; should be "CC0-1.0"
	// Cardinality: mandatory, one
	DataLicense string

	// 6.3: SPDX Identifier; should be "DOCUMENT" to represent
	//      mandatory identifier of SPDXRef-DOCUMENT
	// Cardinality: mandatory, one
	SPDXIdentifier ElementID

	// 6.4: Document Name
	// Cardinality: mandatory, one
	DocumentName string

	// 6.5: Document Namespace
	// Cardinality: mandatory, one
	DocumentNamespace string

	// 6.6: External Document References
	// Cardinality: optional, one or many
	ExternalDocumentReferences []ExternalDocumentRef

	// 6.11: Document Comment
	// Cardinality: optional, one
	DocumentComment string

	CreationInfo  *CreationInfo
	Packages      []*Package
	Files         []*File
	OtherLicenses []*OtherLicense
	Relationships []*Relationship
	Annotations   []Annotation
	Snippets      []Snippet

	// DEPRECATED in version 2.0 of spec
	Reviews []*Review
}

Document is an SPDX Document for version 2.3 of the spec. See https://spdx.github.io/spdx-spec/v2.3/document-creation-information

func (*Document) DeepCopy

func (in *Document) DeepCopy() *Document

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Document.

func (*Document) DeepCopyInto

func (in *Document) DeepCopyInto(out *Document)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ElementID

type ElementID string

ElementID represents the identifier string portion of an SPDX element identifier. DocElementID should be used for any attributes which can contain identifiers defined in a different SPDX document. ElementIDs should NOT contain the mandatory 'SPDXRef-' portion.

func (ElementID) MarshalJSON

func (d ElementID) MarshalJSON() ([]byte, error)

MarshalJSON returns an SPDXRef- prefixed JSON string

func (*ElementID) UnmarshalJSON

func (d *ElementID) UnmarshalJSON(data []byte) error

UnmarshalJSON validates SPDXRef- prefixes and removes them when processing ElementIDs

type ExternalDocumentRef

type ExternalDocumentRef struct {
	// DocumentRefID is the ID string defined in the start of the
	// reference. It should _not_ contain the "DocumentRef-" part
	// of the mandatory ID string.
	DocumentRefID string

	// URI is the URI defined for the external document
	URI string

	// Checksum is the actual hash data
	Checksum Checksum
}

ExternalDocumentRef is a reference to an external SPDX document as defined in section 6.6 for version 2.3 of the spec.

func (*ExternalDocumentRef) DeepCopy

func (in *ExternalDocumentRef) DeepCopy() *ExternalDocumentRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalDocumentRef.

func (*ExternalDocumentRef) DeepCopyInto

func (in *ExternalDocumentRef) DeepCopyInto(out *ExternalDocumentRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type File

type File struct {
	// 8.1: File Name
	// Cardinality: mandatory, one
	FileName string

	// 8.2: File SPDX Identifier: "SPDXRef-[idstring]"
	// Cardinality: mandatory, one
	FileSPDXIdentifier ElementID

	// 8.3: File Types
	// Cardinality: optional, multiple
	FileTypes []string

	// 8.4: File Checksum: may have keys for SHA1, SHA256, MD5, SHA3-256, SHA3-384, SHA3-512, BLAKE2b-256, BLAKE2b-384, BLAKE2b-512, BLAKE3, ADLER32
	// Cardinality: mandatory, one SHA1, others may be optionally provided
	Checksums []Checksum

	// 8.5: Concluded License: SPDX License Expression, "NONE" or "NOASSERTION"
	// Cardinality: optional, one
	LicenseConcluded string

	// 8.6: License Information in File: SPDX License Expression, "NONE" or "NOASSERTION"
	// Cardinality: optional, one or many
	LicenseInfoInFiles []string

	// 8.7: Comments on License
	// Cardinality: optional, one
	LicenseComments string

	// 8.8: Copyright Text: copyright notice(s) text, "NONE" or "NOASSERTION"
	// Cardinality: mandatory, one
	FileCopyrightText string

	// DEPRECATED in version 2.1 of spec
	// 8.9-8.11: Artifact of Project variables (defined below)
	// Cardinality: optional, one or many
	ArtifactOfProjects []*ArtifactOfProject

	// 8.12: File Comment
	// Cardinality: optional, one
	FileComment string

	// 8.13: File Notice
	// Cardinality: optional, one
	FileNotice string

	// 8.14: File Contributor
	// Cardinality: optional, one or many
	FileContributors []string

	// 8.15: File Attribution Text
	// Cardinality: optional, one or many
	FileAttributionTexts []string

	// DEPRECATED in version 2.0 of spec
	// 8.16: File Dependencies
	// Cardinality: optional, one or many
	FileDependencies []string

	// Snippets contained in this File
	// Note that Snippets could be defined in a different Document! However,
	// the only ones that _THIS_ document can contain are this ones that are
	// defined here -- so this should just be an ElementID.
	Snippets map[ElementID]*Snippet

	Annotations []Annotation
}

File is a File section of an SPDX Document for version 2.3 of the spec.

func (*File) DeepCopy

func (in *File) DeepCopy() *File

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.

func (*File) DeepCopyInto

func (in *File) DeepCopyInto(out *File)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Fix

type Fix struct {
	Versions []string
	State    string
}

func (*Fix) DeepCopy

func (in *Fix) DeepCopy() *Fix

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fix.

func (*Fix) DeepCopyInto

func (in *Fix) DeepCopyInto(out *Fix)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrypeDocument

type GrypeDocument struct {
	Matches        []Match
	IgnoredMatches []IgnoredMatch
	Source         *Source
	Distro         Distribution
	Descriptor     Descriptor
}

GrypeDocument is the document that represents the vulnerability manifest in the Grype’s JSON format

func (*GrypeDocument) DeepCopy

func (in *GrypeDocument) DeepCopy() *GrypeDocument

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrypeDocument.

func (*GrypeDocument) DeepCopyInto

func (in *GrypeDocument) DeepCopyInto(out *GrypeDocument)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrypePackage

type GrypePackage struct {
	Name         string
	Version      string
	Type         SyftType
	Locations    []SyftCoordinates
	Language     SyftLanguage
	Licenses     []string
	CPEs         []string
	PURL         string
	Upstreams    []UpstreamPackage
	MetadataType MetadataType
	Metadata     json.RawMessage
}

func (*GrypePackage) DeepCopy

func (in *GrypePackage) DeepCopy() *GrypePackage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrypePackage.

func (*GrypePackage) DeepCopyInto

func (in *GrypePackage) DeepCopyInto(out *GrypePackage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IgnoreRule

type IgnoreRule struct {
	Vulnerability string
	FixState      string
	Package       *IgnoreRulePackage
}

func (*IgnoreRule) DeepCopy

func (in *IgnoreRule) DeepCopy() *IgnoreRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnoreRule.

func (*IgnoreRule) DeepCopyInto

func (in *IgnoreRule) DeepCopyInto(out *IgnoreRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IgnoreRulePackage

type IgnoreRulePackage struct {
	Name     string
	Version  string
	Type     string
	Location string
}

func (*IgnoreRulePackage) DeepCopy

func (in *IgnoreRulePackage) DeepCopy() *IgnoreRulePackage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnoreRulePackage.

func (*IgnoreRulePackage) DeepCopyInto

func (in *IgnoreRulePackage) DeepCopyInto(out *IgnoreRulePackage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IgnoredMatch

type IgnoredMatch struct {
	Match
	AppliedIgnoreRules []IgnoreRule
}

func (*IgnoredMatch) DeepCopy

func (in *IgnoredMatch) DeepCopy() *IgnoredMatch

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnoredMatch.

func (*IgnoredMatch) DeepCopyInto

func (in *IgnoredMatch) DeepCopyInto(out *IgnoredMatch)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Match

type Match struct {
	Vulnerability          Vulnerability
	RelatedVulnerabilities []VulnerabilityMetadata
	MatchDetails           []MatchDetails
	Artifact               GrypePackage
}

func (*Match) DeepCopy

func (in *Match) DeepCopy() *Match

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Match.

func (*Match) DeepCopyInto

func (in *Match) DeepCopyInto(out *Match)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MatchDetails

type MatchDetails struct {
	Type       string
	Matcher    string
	SearchedBy json.RawMessage
	Found      json.RawMessage
}

func (*MatchDetails) DeepCopy

func (in *MatchDetails) DeepCopy() *MatchDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchDetails.

func (*MatchDetails) DeepCopyInto

func (in *MatchDetails) DeepCopyInto(out *MatchDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetadataType

type MetadataType string

type Originator

type Originator struct {
	// can be "NOASSERTION"
	Originator string
	// OriginatorType can be one of "Person", "Organization", or empty if Originator is "NOASSERTION"
	OriginatorType string
}

func (*Originator) DeepCopy

func (in *Originator) DeepCopy() *Originator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Originator.

func (*Originator) DeepCopyInto

func (in *Originator) DeepCopyInto(out *Originator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Originator) MarshalJSON

func (o Originator) MarshalJSON() ([]byte, error)

MarshalJSON converts the receiver into a slice of bytes representing an Originator in string form. This function is also used when marshalling to YAML

func (*Originator) UnmarshalJSON

func (o *Originator) UnmarshalJSON(data []byte) error

UnmarshalJSON takes an originator in the typical one-line format and parses it into an Originator struct. This function is also used when unmarshalling YAML

type OtherLicense

type OtherLicense struct {
	// 10.1: License Identifier: "LicenseRef-[idstring]"
	// Cardinality: conditional (mandatory, one) if license is not
	//              on SPDX License List
	LicenseIdentifier string

	// 10.2: Extracted Text
	// Cardinality: conditional (mandatory, one) if there is a
	//              License Identifier assigned
	ExtractedText string

	// 10.3: License Name: single line of text or "NOASSERTION"
	// Cardinality: conditional (mandatory, one) if license is not
	//              on SPDX License List
	LicenseName string

	// 10.4: License Cross Reference
	// Cardinality: conditional (optional, one or many) if license
	//              is not on SPDX License List
	LicenseCrossReferences []string

	// 10.5: License Comment
	// Cardinality: optional, one
	LicenseComment string
}

OtherLicense is an Other License Information section of an SPDX Document for version 2.3 of the spec.

func (*OtherLicense) DeepCopy

func (in *OtherLicense) DeepCopy() *OtherLicense

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OtherLicense.

func (*OtherLicense) DeepCopyInto

func (in *OtherLicense) DeepCopyInto(out *OtherLicense)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Package

type Package struct {
	// Added
	HasFiles []string

	// NOT PART OF SPEC
	// flag: does this "package" contain files that were in fact "unpackaged",
	// e.g. included directly in the Document without being in a Package?
	IsUnpackaged bool

	// 7.1: Package Name
	// Cardinality: mandatory, one
	PackageName string

	// 7.2: Package SPDX Identifier: "SPDXRef-[idstring]"
	// Cardinality: mandatory, one
	PackageSPDXIdentifier ElementID

	// 7.3: Package Version
	// Cardinality: optional, one
	PackageVersion string

	// 7.4: Package File Name
	// Cardinality: optional, one
	PackageFileName string

	// 7.5: Package Supplier: may have single result for either Person or Organization,
	//                        or NOASSERTION
	// Cardinality: optional, one
	PackageSupplier *Supplier

	// 7.6: Package Originator: may have single result for either Person or Organization,
	//                          or NOASSERTION
	// Cardinality: optional, one
	PackageOriginator *Originator

	// 7.7: Package Download Location
	// Cardinality: mandatory, one
	PackageDownloadLocation string

	// 7.8: FilesAnalyzed
	// Cardinality: optional, one; default value is "true" if omitted
	FilesAnalyzed bool
	// NOT PART OF SPEC: did FilesAnalyzed tag appear?
	IsFilesAnalyzedTagPresent bool

	// 7.9: Package Verification Code
	// Cardinality: if FilesAnalyzed == true must be present, if FilesAnalyzed == false must be omitted
	PackageVerificationCode *PackageVerificationCode

	// 7.10: Package Checksum: may have keys for SHA1, SHA256, SHA512, MD5, SHA3-256, SHA3-384, SHA3-512, BLAKE2b-256, BLAKE2b-384, BLAKE2b-512, BLAKE3, ADLER32
	// Cardinality: optional, one or many
	PackageChecksums []Checksum

	// 7.11: Package Home Page
	// Cardinality: optional, one
	PackageHomePage string

	// 7.12: Source Information
	// Cardinality: optional, one
	PackageSourceInfo string

	// 7.13: Concluded License: SPDX License Expression, "NONE" or "NOASSERTION"
	// Cardinality: optional, one
	PackageLicenseConcluded string

	// 7.14: All Licenses Info from Files: SPDX License Expression, "NONE" or "NOASSERTION"
	// Cardinality: optional, one or many if filesAnalyzed is true / omitted;
	//              zero (must be omitted) if filesAnalyzed is false
	PackageLicenseInfoFromFiles []string

	// 7.15: Declared License: SPDX License Expression, "NONE" or "NOASSERTION"
	// Cardinality: optional, one
	PackageLicenseDeclared string

	// 7.16: Comments on License
	// Cardinality: optional, one
	PackageLicenseComments string

	// 7.17: Copyright Text: copyright notice(s) text, "NONE" or "NOASSERTION"
	// Cardinality: mandatory, one
	PackageCopyrightText string

	// 7.18: Package Summary Description
	// Cardinality: optional, one
	PackageSummary string

	// 7.19: Package Detailed Description
	// Cardinality: optional, one
	PackageDescription string

	// 7.20: Package Comment
	// Cardinality: optional, one
	PackageComment string

	// 7.21: Package External Reference
	// Cardinality: optional, one or many
	PackageExternalReferences []*PackageExternalReference

	// 7.23: Package Attribution Text
	// Cardinality: optional, one or many
	PackageAttributionTexts []string

	// 7.24: Primary Package Purpose
	// Cardinality: optional, one or many
	// Allowed values: APPLICATION, FRAMEWORK, LIBRARY, CONTAINER, OPERATING-SYSTEM, DEVICE, FIRMWARE, SOURCE, ARCHIVE, FILE, INSTALL, OTHER
	PrimaryPackagePurpose string

	// 7.25: Release Date: YYYY-MM-DDThh:mm:ssZ
	// Cardinality: optional, one
	ReleaseDate string

	// 7.26: Build Date: YYYY-MM-DDThh:mm:ssZ
	// Cardinality: optional, one
	BuiltDate string

	// 7.27: Valid Until Date: YYYY-MM-DDThh:mm:ssZ
	// Cardinality: optional, one
	ValidUntilDate string

	// Files contained in this Package
	Files []*File

	Annotations []Annotation
}

Package is a Package section of an SPDX Document for version 2.3 of the spec.

func (*Package) DeepCopy

func (in *Package) DeepCopy() *Package

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package.

func (*Package) DeepCopyInto

func (in *Package) DeepCopyInto(out *Package)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PackageExternalReference

type PackageExternalReference struct {
	// category is "SECURITY", "PACKAGE-MANAGER" or "OTHER"
	Category string

	// type is an [idstring] as defined in Appendix VI;
	// called RefType here due to "type" being a Golang keyword
	RefType string

	// locator is a unique string to access the package-specific
	// info, metadata or content within the target location
	Locator string

	// 7.22: Package External Reference Comment
	// Cardinality: conditional (optional, one) for each External Reference
	ExternalRefComment string
}

PackageExternalReference is an External Reference to additional info about a Package, as defined in section 7.21 in version 2.3 of the spec.

func (*PackageExternalReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageExternalReference.

func (*PackageExternalReference) DeepCopyInto

func (in *PackageExternalReference) DeepCopyInto(out *PackageExternalReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PackageVerificationCode

type PackageVerificationCode struct {
	// Cardinality: mandatory, one if filesAnalyzed is true / omitted;
	//              zero (must be omitted) if filesAnalyzed is false
	Value string
	// Spec also allows specifying files to exclude from the
	// verification code algorithm; intended to enable exclusion of
	// the SPDX document file itself.
	ExcludedFiles []string
}

func (*PackageVerificationCode) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageVerificationCode.

func (*PackageVerificationCode) DeepCopyInto

func (in *PackageVerificationCode) DeepCopyInto(out *PackageVerificationCode)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Relationship

type Relationship struct {

	// 11.1: Relationship
	// Cardinality: optional, one or more; one per Relationship
	//              one mandatory for SPDX Document with multiple packages
	// RefA and RefB are first and second item
	// Relationship is type from 11.1.1
	RefA         DocElementID
	RefB         DocElementID
	Relationship string

	// 11.2: Relationship Comment
	// Cardinality: optional, one
	RelationshipComment string
}

Relationship is a Relationship section of an SPDX Document for version 2.3 of the spec.

func (*Relationship) DeepCopy

func (in *Relationship) DeepCopy() *Relationship

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Relationship.

func (*Relationship) DeepCopyInto

func (in *Relationship) DeepCopyInto(out *Relationship)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReportMeta

type ReportMeta struct {
	CreatedAt metav1.Time
}

ReportMeta describes metadata about a report

func (*ReportMeta) DeepCopy

func (in *ReportMeta) DeepCopy() *ReportMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportMeta.

func (*ReportMeta) DeepCopyInto

func (in *ReportMeta) DeepCopyInto(out *ReportMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Review

type Review struct {

	// DEPRECATED in version 2.0 of spec
	// 13.1: Reviewer
	// Cardinality: optional, one
	Reviewer string
	// including AnnotatorType: one of "Person", "Organization" or "Tool"
	ReviewerType string

	// DEPRECATED in version 2.0 of spec
	// 13.2: Review Date: YYYY-MM-DDThh:mm:ssZ
	// Cardinality: conditional (mandatory, one) if there is a Reviewer
	ReviewDate string

	// DEPRECATED in version 2.0 of spec
	// 13.3: Review Comment
	// Cardinality: optional, one
	ReviewComment string
}

Review is a Review section of an SPDX Document for version 2.3 of the spec. DEPRECATED in version 2.0 of spec; retained here for compatibility.

func (*Review) DeepCopy

func (in *Review) DeepCopy() *Review

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Review.

func (*Review) DeepCopyInto

func (in *Review) DeepCopyInto(out *Review)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulePath added in v0.0.16

type RulePath struct {
	FailedPath   string
	FixPath      string
	FixPathValue string
	FixCommand   string
}

func (*RulePath) DeepCopy added in v0.0.16

func (in *RulePath) DeepCopy() *RulePath

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulePath.

func (*RulePath) DeepCopyInto added in v0.0.16

func (in *RulePath) DeepCopyInto(out *RulePath)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleStatus added in v0.0.16

type RuleStatus struct {
	Status    string
	SubStatus string
}

func (*RuleStatus) DeepCopy added in v0.0.16

func (in *RuleStatus) DeepCopy() *RuleStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleStatus.

func (*RuleStatus) DeepCopyInto added in v0.0.16

func (in *RuleStatus) DeepCopyInto(out *RuleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SBOMSPDXv2p3

type SBOMSPDXv2p3 struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   SBOMSPDXv2p3Spec
	Status SBOMSPDXv2p3Status
}

SBOMSPDXv2p3 is a custom resource that describes an SBOM in the SPDX 2.3 format.

func (*SBOMSPDXv2p3) DeepCopy

func (in *SBOMSPDXv2p3) DeepCopy() *SBOMSPDXv2p3

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3.

func (*SBOMSPDXv2p3) DeepCopyInto

func (in *SBOMSPDXv2p3) DeepCopyInto(out *SBOMSPDXv2p3)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SBOMSPDXv2p3) DeepCopyObject

func (in *SBOMSPDXv2p3) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SBOMSPDXv2p3Filtered

type SBOMSPDXv2p3Filtered struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   SBOMSPDXv2p3Spec
	Status SBOMSPDXv2p3Status
}

SBOMSPDXv2p3Filtered is a custom resource that describes a filtered SBOM in the SPDX 2.3 format.

Being filtered means that the SBOM contains only the relevant vulnerable materials.

func (*SBOMSPDXv2p3Filtered) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3Filtered.

func (*SBOMSPDXv2p3Filtered) DeepCopyInto

func (in *SBOMSPDXv2p3Filtered) DeepCopyInto(out *SBOMSPDXv2p3Filtered)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SBOMSPDXv2p3Filtered) DeepCopyObject

func (in *SBOMSPDXv2p3Filtered) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SBOMSPDXv2p3FilteredList

type SBOMSPDXv2p3FilteredList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []SBOMSPDXv2p3Filtered
}

SBOMSPDXv2p3FilteredList is a list of SBOMSPDXv2p3Filtered objects.

func (*SBOMSPDXv2p3FilteredList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3FilteredList.

func (*SBOMSPDXv2p3FilteredList) DeepCopyInto

func (in *SBOMSPDXv2p3FilteredList) DeepCopyInto(out *SBOMSPDXv2p3FilteredList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SBOMSPDXv2p3FilteredList) DeepCopyObject

func (in *SBOMSPDXv2p3FilteredList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SBOMSPDXv2p3List

type SBOMSPDXv2p3List struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []SBOMSPDXv2p3
}

SBOMSPDXv2p3List is a list of Flunder objects.

func (*SBOMSPDXv2p3List) DeepCopy

func (in *SBOMSPDXv2p3List) DeepCopy() *SBOMSPDXv2p3List

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3List.

func (*SBOMSPDXv2p3List) DeepCopyInto

func (in *SBOMSPDXv2p3List) DeepCopyInto(out *SBOMSPDXv2p3List)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SBOMSPDXv2p3List) DeepCopyObject

func (in *SBOMSPDXv2p3List) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SBOMSPDXv2p3Spec

type SBOMSPDXv2p3Spec struct {
	Metadata SPDXMeta
	SPDX     Document
}

SBOMSPDXv2p3Spec is the specification of an SPDX SBOM.

func (*SBOMSPDXv2p3Spec) DeepCopy

func (in *SBOMSPDXv2p3Spec) DeepCopy() *SBOMSPDXv2p3Spec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3Spec.

func (*SBOMSPDXv2p3Spec) DeepCopyInto

func (in *SBOMSPDXv2p3Spec) DeepCopyInto(out *SBOMSPDXv2p3Spec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SBOMSPDXv2p3Status

type SBOMSPDXv2p3Status struct {
}

SBOMSPDXv2p3Status is the status of an SPDX SBOM.

func (*SBOMSPDXv2p3Status) DeepCopy

func (in *SBOMSPDXv2p3Status) DeepCopy() *SBOMSPDXv2p3Status

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3Status.

func (*SBOMSPDXv2p3Status) DeepCopyInto

func (in *SBOMSPDXv2p3Status) DeepCopyInto(out *SBOMSPDXv2p3Status)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SBOMSummary added in v0.0.7

type SBOMSummary struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   SBOMSummarySpec
	Status SBOMSPDXv2p3Status
}

SBOMSummary is a summary of an SBOM. It is not meant to be changed and only works as a lightweight facade for watching proper SBOMs.

func (*SBOMSummary) DeepCopy added in v0.0.7

func (in *SBOMSummary) DeepCopy() *SBOMSummary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSummary.

func (*SBOMSummary) DeepCopyInto added in v0.0.7

func (in *SBOMSummary) DeepCopyInto(out *SBOMSummary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SBOMSummary) DeepCopyObject added in v0.0.7

func (in *SBOMSummary) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SBOMSummaryList added in v0.0.7

type SBOMSummaryList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []SBOMSummary
}

SBOMSummaryList is a list of SBOM summaries

func (*SBOMSummaryList) DeepCopy added in v0.0.7

func (in *SBOMSummaryList) DeepCopy() *SBOMSummaryList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSummaryList.

func (*SBOMSummaryList) DeepCopyInto added in v0.0.7

func (in *SBOMSummaryList) DeepCopyInto(out *SBOMSummaryList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SBOMSummaryList) DeepCopyObject added in v0.0.7

func (in *SBOMSummaryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SBOMSummarySpec added in v0.0.7

type SBOMSummarySpec struct{}

SBOMSummarySpec is the spec for the SBOM summary

Since the summary spec is supposed to hold no data, only used as a low footprint way to watch for heavy full-sized SBOMs, the spec is supposed to be empty on purpose.

func (*SBOMSummarySpec) DeepCopy added in v0.0.7

func (in *SBOMSummarySpec) DeepCopy() *SBOMSummarySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSummarySpec.

func (*SBOMSummarySpec) DeepCopyInto added in v0.0.7

func (in *SBOMSummarySpec) DeepCopyInto(out *SBOMSummarySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SPDXMeta

type SPDXMeta struct {
	Tool   ToolMeta
	Report ReportMeta
}

SPDXMeta describes metadata about an SPDX-formatted SBOM

func (*SPDXMeta) DeepCopy

func (in *SPDXMeta) DeepCopy() *SPDXMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SPDXMeta.

func (*SPDXMeta) DeepCopyInto

func (in *SPDXMeta) DeepCopyInto(out *SPDXMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ScannedControl added in v0.0.16

type ScannedControl struct {
	ControlID string
	Name      string
	Severity  ControlSeverity
	Status    ScannedControlStatus
	Rules     []ScannedControlRule
}

func (*ScannedControl) DeepCopy added in v0.0.16

func (in *ScannedControl) DeepCopy() *ScannedControl

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScannedControl.

func (*ScannedControl) DeepCopyInto added in v0.0.16

func (in *ScannedControl) DeepCopyInto(out *ScannedControl)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ScannedControlRule added in v0.0.16

type ScannedControlRule struct {
	Name                  string
	Status                RuleStatus
	ControlConfigurations map[string][]string
	Paths                 []RulePath
	AppliedIgnoreRules    []string
	RelatedResourcesIDs   []string // ?
}

func (*ScannedControlRule) DeepCopy added in v0.0.16

func (in *ScannedControlRule) DeepCopy() *ScannedControlRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScannedControlRule.

func (*ScannedControlRule) DeepCopyInto added in v0.0.16

func (in *ScannedControlRule) DeepCopyInto(out *ScannedControlRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ScannedControlStatus added in v0.0.16

type ScannedControlStatus struct {
	Status    string
	SubStatus string
	Info      string
}

func (*ScannedControlStatus) DeepCopy added in v0.0.16

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScannedControlStatus.

func (*ScannedControlStatus) DeepCopyInto added in v0.0.16

func (in *ScannedControlStatus) DeepCopyInto(out *ScannedControlStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ScannedControlSummary added in v0.0.16

type ScannedControlSummary struct {
	ControlID string
	Severity  ControlSeverity
	Status    ScannedControlStatus
}

func (*ScannedControlSummary) DeepCopy added in v0.0.16

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScannedControlSummary.

func (*ScannedControlSummary) DeepCopyInto added in v0.0.16

func (in *ScannedControlSummary) DeepCopyInto(out *ScannedControlSummary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SeveritySummary added in v0.0.7

SeveritySummary is a summary of all vulnerabilities included in vulnerability manifest

func (*SeveritySummary) DeepCopy added in v0.0.7

func (in *SeveritySummary) DeepCopy() *SeveritySummary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeveritySummary.

func (*SeveritySummary) DeepCopyInto added in v0.0.7

func (in *SeveritySummary) DeepCopyInto(out *SeveritySummary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Snippet

type Snippet struct {

	// 9.1: Snippet SPDX Identifier: "SPDXRef-[idstring]"
	// Cardinality: mandatory, one
	SnippetSPDXIdentifier ElementID

	// 9.2: Snippet from File SPDX Identifier
	// Cardinality: mandatory, one
	SnippetFromFileSPDXIdentifier ElementID

	// Ranges denotes the start/end byte offsets or line numbers that the snippet is relevant to
	Ranges []SnippetRange

	// 9.5: Snippet Concluded License: SPDX License Expression, "NONE" or "NOASSERTION"
	// Cardinality: optional, one
	SnippetLicenseConcluded string

	// 9.6: License Information in Snippet: SPDX License Expression, "NONE" or "NOASSERTION"
	// Cardinality: optional, one or many
	LicenseInfoInSnippet []string

	// 9.7: Snippet Comments on License
	// Cardinality: optional, one
	SnippetLicenseComments string

	// 9.8: Snippet Copyright Text: copyright notice(s) text, "NONE" or "NOASSERTION"
	// Cardinality: mandatory, one
	SnippetCopyrightText string

	// 9.9: Snippet Comment
	// Cardinality: optional, one
	SnippetComment string

	// 9.10: Snippet Name
	// Cardinality: optional, one
	SnippetName string

	// 9.11: Snippet Attribution Text
	// Cardinality: optional, one or many
	SnippetAttributionTexts []string
}

Snippet is a Snippet section of an SPDX Document for version 2.3 of the spec.

func (*Snippet) DeepCopy

func (in *Snippet) DeepCopy() *Snippet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snippet.

func (*Snippet) DeepCopyInto

func (in *Snippet) DeepCopyInto(out *Snippet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SnippetRange

type SnippetRange struct {
	StartPointer SnippetRangePointer
	EndPointer   SnippetRangePointer
}

func (*SnippetRange) DeepCopy

func (in *SnippetRange) DeepCopy() *SnippetRange

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnippetRange.

func (*SnippetRange) DeepCopyInto

func (in *SnippetRange) DeepCopyInto(out *SnippetRange)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SnippetRangePointer

type SnippetRangePointer struct {
	// 5.3: Snippet Byte Range: [start byte]:[end byte]
	// Cardinality: mandatory, one
	Offset int

	// 5.4: Snippet Line Range: [start line]:[end line]
	// Cardinality: optional, one
	LineNumber int

	FileSPDXIdentifier ElementID
}

func (*SnippetRangePointer) DeepCopy

func (in *SnippetRangePointer) DeepCopy() *SnippetRangePointer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnippetRangePointer.

func (*SnippetRangePointer) DeepCopyInto

func (in *SnippetRangePointer) DeepCopyInto(out *SnippetRangePointer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Source

type Source struct {
	Type   string
	Target json.RawMessage
}

func (*Source) DeepCopy

func (in *Source) DeepCopy() *Source

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Source.

func (*Source) DeepCopyInto

func (in *Source) DeepCopyInto(out *Source)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Supplier

type Supplier struct {
	// can be "NOASSERTION"
	Supplier string
	// SupplierType can be one of "Person", "Organization", or empty if Supplier is "NOASSERTION"
	SupplierType string
}

func (*Supplier) DeepCopy

func (in *Supplier) DeepCopy() *Supplier

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Supplier.

func (*Supplier) DeepCopyInto

func (in *Supplier) DeepCopyInto(out *Supplier)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Supplier) MarshalJSON

func (s Supplier) MarshalJSON() ([]byte, error)

MarshalJSON converts the receiver into a slice of bytes representing a Supplier in string form. This function is also used when marshalling to YAML

func (*Supplier) UnmarshalJSON

func (s *Supplier) UnmarshalJSON(data []byte) error

UnmarshalJSON takes a supplier in the typical one-line format and parses it into a Supplier struct. This function is also used when unmarshalling YAML

type SyftCoordinates

type SyftCoordinates struct {
	RealPath     string
	FileSystemID string
}

func (*SyftCoordinates) DeepCopy

func (in *SyftCoordinates) DeepCopy() *SyftCoordinates

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftCoordinates.

func (*SyftCoordinates) DeepCopyInto

func (in *SyftCoordinates) DeepCopyInto(out *SyftCoordinates)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SyftLanguage

type SyftLanguage string

type SyftType

type SyftType string

type ToolMeta

type ToolMeta struct {
	Name    string
	Version string
}

ToolMeta describes metadata about a tool that generated an artifact

func (*ToolMeta) DeepCopy

func (in *ToolMeta) DeepCopy() *ToolMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolMeta.

func (*ToolMeta) DeepCopyInto

func (in *ToolMeta) DeepCopyInto(out *ToolMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UpstreamPackage

type UpstreamPackage struct {
	Name    string
	Version string
}

func (*UpstreamPackage) DeepCopy

func (in *UpstreamPackage) DeepCopy() *UpstreamPackage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamPackage.

func (*UpstreamPackage) DeepCopyInto

func (in *UpstreamPackage) DeepCopyInto(out *UpstreamPackage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilitiesComponents added in v0.0.16

type VulnerabilitiesComponents struct {
	ImageVulnerabilitiesObj    VulnerabilitiesObjScope
	WorkloadVulnerabilitiesObj VulnerabilitiesObjScope
}

func (*VulnerabilitiesComponents) DeepCopy added in v0.0.16

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilitiesComponents.

func (*VulnerabilitiesComponents) DeepCopyInto added in v0.0.16

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilitiesObjScope added in v0.0.16

type VulnerabilitiesObjScope struct {
	Namespace string
	Name      string
	Kind      string
}

func (*VulnerabilitiesObjScope) DeepCopy added in v0.0.16

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilitiesObjScope.

func (*VulnerabilitiesObjScope) DeepCopyInto added in v0.0.16

func (in *VulnerabilitiesObjScope) DeepCopyInto(out *VulnerabilitiesObjScope)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Vulnerability

type Vulnerability struct {
	VulnerabilityMetadata
	Fix        Fix
	Advisories []Advisory
}

func (*Vulnerability) DeepCopy

func (in *Vulnerability) DeepCopy() *Vulnerability

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vulnerability.

func (*Vulnerability) DeepCopyInto

func (in *Vulnerability) DeepCopyInto(out *Vulnerability)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilityCounters added in v0.0.7

type VulnerabilityCounters struct {
	All      int
	Relevant int
}

VulnerabilityCounters describes a counter of vulnerabilityes.

Intended to store relevant and total vulnerabilities in the future.

func (*VulnerabilityCounters) DeepCopy added in v0.0.7

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityCounters.

func (*VulnerabilityCounters) DeepCopyInto added in v0.0.7

func (in *VulnerabilityCounters) DeepCopyInto(out *VulnerabilityCounters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilityManifest

type VulnerabilityManifest struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   VulnerabilityManifestSpec
	Status VulnerabilityManifestStatus
}

VulnerabilityManifest is a custom resource that describes a manifest of found vulnerabilities.

func (*VulnerabilityManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifest.

func (*VulnerabilityManifest) DeepCopyInto

func (in *VulnerabilityManifest) DeepCopyInto(out *VulnerabilityManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VulnerabilityManifest) DeepCopyObject

func (in *VulnerabilityManifest) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VulnerabilityManifestList

type VulnerabilityManifestList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []VulnerabilityManifest
}

VulnerabilityManifestList is a list of Vulnerability manifests.

func (*VulnerabilityManifestList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestList.

func (*VulnerabilityManifestList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VulnerabilityManifestList) DeepCopyObject

func (in *VulnerabilityManifestList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VulnerabilityManifestMeta

type VulnerabilityManifestMeta struct {
	WithRelevancy bool
	Tool          VulnerabilityManifestToolMeta
	Report        VulnerabilityManifestReportMeta
}

VulnerabilityManifestMeta holds metadata about a vulnerability manifest

func (*VulnerabilityManifestMeta) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestMeta.

func (*VulnerabilityManifestMeta) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilityManifestReportMeta

type VulnerabilityManifestReportMeta struct {
	CreatedAt metav1.Time
}

VulnerabilityManifestReportMeta holds metadata about the specific report tied to a vulnerability manifest

func (*VulnerabilityManifestReportMeta) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestReportMeta.

func (*VulnerabilityManifestReportMeta) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilityManifestSpec

type VulnerabilityManifestSpec struct {
	Metadata VulnerabilityManifestMeta
	Payload  GrypeDocument
}

func (*VulnerabilityManifestSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestSpec.

func (*VulnerabilityManifestSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilityManifestStatus

type VulnerabilityManifestStatus struct {
}

func (*VulnerabilityManifestStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestStatus.

func (*VulnerabilityManifestStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilityManifestSummary added in v0.0.7

type VulnerabilityManifestSummary struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   VulnerabilityManifestSummarySpec
	Status VulnerabilityManifestStatus
}

VulnerabilityManifestSummary is a summary of a VulnerabilityManifest.

func (*VulnerabilityManifestSummary) DeepCopy added in v0.0.7

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestSummary.

func (*VulnerabilityManifestSummary) DeepCopyInto added in v0.0.7

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VulnerabilityManifestSummary) DeepCopyObject added in v0.0.7

func (in *VulnerabilityManifestSummary) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VulnerabilityManifestSummaryList added in v0.0.7

type VulnerabilityManifestSummaryList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []VulnerabilityManifestSummary
}

VulnerabilityManifestSummaryList is a list of VulnerabilityManifest summaries.

func (*VulnerabilityManifestSummaryList) DeepCopy added in v0.0.7

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestSummaryList.

func (*VulnerabilityManifestSummaryList) DeepCopyInto added in v0.0.7

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VulnerabilityManifestSummaryList) DeepCopyObject added in v0.0.7

func (in *VulnerabilityManifestSummaryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VulnerabilityManifestSummarySpec added in v0.0.7

type VulnerabilityManifestSummarySpec struct {
	Severities      SeveritySummary
	Vulnerabilities VulnerabilitiesComponents
}

func (*VulnerabilityManifestSummarySpec) DeepCopy added in v0.0.7

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestSummarySpec.

func (*VulnerabilityManifestSummarySpec) DeepCopyInto added in v0.0.7

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilityManifestToolMeta

type VulnerabilityManifestToolMeta struct {
	Name            string
	Version         string
	DatabaseVersion string
}

VulnerabilityManifestToolMeta describes data about the tool used to generate the vulnerability manifest’s report

func (*VulnerabilityManifestToolMeta) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestToolMeta.

func (*VulnerabilityManifestToolMeta) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilityMetadata

type VulnerabilityMetadata struct {
	ID          string
	DataSource  string
	Namespace   string
	Severity    string
	URLs        []string
	Description string
	Cvss        []Cvss
}

func (*VulnerabilityMetadata) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityMetadata.

func (*VulnerabilityMetadata) DeepCopyInto

func (in *VulnerabilityMetadata) DeepCopyInto(out *VulnerabilityMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkloadConfigurationScan added in v0.0.16

type WorkloadConfigurationScan struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec WorkloadConfigurationScanSpec
}

WorkloadConfigurationScan is a custom resource that describes a configuration scan result of a workload.

func (*WorkloadConfigurationScan) DeepCopy added in v0.0.16

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScan.

func (*WorkloadConfigurationScan) DeepCopyInto added in v0.0.16

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkloadConfigurationScan) DeepCopyObject added in v0.0.16

func (in *WorkloadConfigurationScan) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WorkloadConfigurationScanList added in v0.0.16

type WorkloadConfigurationScanList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []WorkloadConfigurationScan
}

WorkloadConfigurationScanList is a list of workload configuration scan results.

func (*WorkloadConfigurationScanList) DeepCopy added in v0.0.16

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanList.

func (*WorkloadConfigurationScanList) DeepCopyInto added in v0.0.16

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkloadConfigurationScanList) DeepCopyObject added in v0.0.16

func (in *WorkloadConfigurationScanList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WorkloadConfigurationScanSeveritiesSummary added in v0.0.16

type WorkloadConfigurationScanSeveritiesSummary struct {
	Critical int
	High     int
	Medium   int
	Low      int
	Unknown  int
}

func (*WorkloadConfigurationScanSeveritiesSummary) DeepCopy added in v0.0.16

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSeveritiesSummary.

func (*WorkloadConfigurationScanSeveritiesSummary) DeepCopyInto added in v0.0.16

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkloadConfigurationScanSpec added in v0.0.16

type WorkloadConfigurationScanSpec struct {
	Controls       map[string]ScannedControl
	RelatedObjects []WorkloadScanRelatedObject
}

func (*WorkloadConfigurationScanSpec) DeepCopy added in v0.0.16

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSpec.

func (*WorkloadConfigurationScanSpec) DeepCopyInto added in v0.0.16

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkloadConfigurationScanSummary added in v0.0.16

type WorkloadConfigurationScanSummary struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec WorkloadConfigurationScanSummarySpec
}

WorkloadConfigurationScanSummary is a summary of a WorkloadConfigurationScan

func (*WorkloadConfigurationScanSummary) DeepCopy added in v0.0.16

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSummary.

func (*WorkloadConfigurationScanSummary) DeepCopyInto added in v0.0.16

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkloadConfigurationScanSummary) DeepCopyObject added in v0.0.16

func (in *WorkloadConfigurationScanSummary) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WorkloadConfigurationScanSummaryIdentifier added in v0.0.18

type WorkloadConfigurationScanSummaryIdentifier struct {
	Namespace string
	Kind      string
	Name      string
}

WorkloadConfigurationScanSummaryIdentifier includes information needed to identify a WorkloadConfigurationScanSummary object

func (*WorkloadConfigurationScanSummaryIdentifier) DeepCopy added in v0.0.18

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSummaryIdentifier.

func (*WorkloadConfigurationScanSummaryIdentifier) DeepCopyInto added in v0.0.18

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkloadConfigurationScanSummaryList added in v0.0.16

type WorkloadConfigurationScanSummaryList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []WorkloadConfigurationScanSummary
}

WorkloadConfigurationScanSummaryList is a list of WorkloadConfigurationScan summaries.

func (*WorkloadConfigurationScanSummaryList) DeepCopy added in v0.0.16

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSummaryList.

func (*WorkloadConfigurationScanSummaryList) DeepCopyInto added in v0.0.16

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkloadConfigurationScanSummaryList) DeepCopyObject added in v0.0.16

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WorkloadConfigurationScanSummarySpec added in v0.0.16

type WorkloadConfigurationScanSummarySpec struct {
	Severities WorkloadConfigurationScanSeveritiesSummary
	Controls   map[string]ScannedControlSummary
}

func (*WorkloadConfigurationScanSummarySpec) DeepCopy added in v0.0.16

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSummarySpec.

func (*WorkloadConfigurationScanSummarySpec) DeepCopyInto added in v0.0.16

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkloadScanRelatedObject added in v0.0.16

type WorkloadScanRelatedObject struct {
	Namespace  string
	APIGroup   string
	APIVersion string
	Kind       string
	Name       string
}

func (*WorkloadScanRelatedObject) DeepCopy added in v0.0.16

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadScanRelatedObject.

func (*WorkloadScanRelatedObject) DeepCopyInto added in v0.0.16

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Directories

Path Synopsis
Package v1beta1 is the v1beta1 version of the API.
Package v1beta1 is the v1beta1 version of the API.

Jump to

Keyboard shortcuts

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