v1beta1

package
v1.120.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for containeranalysis/v1beta1 API group

Package v1beta1 contains API Schema definitions for the containeranalysis v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/containeranalysis +k8s:defaulter-gen=TypeMeta +groupName=containeranalysis.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "containeranalysis.cnrm.cloud.google.com", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	ContainerAnalysisNoteGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(ContainerAnalysisNote{}).Name(),
	}
)

Functions

This section is empty.

Types

type ContainerAnalysisNote

type ContainerAnalysisNote struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ContainerAnalysisNoteSpec   `json:"spec,omitempty"`
	Status ContainerAnalysisNoteStatus `json:"status,omitempty"`
}

ContainerAnalysisNote is the Schema for the containeranalysis API +k8s:openapi-gen=true

func (*ContainerAnalysisNote) DeepCopy

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

func (*ContainerAnalysisNote) DeepCopyInto

func (in *ContainerAnalysisNote) DeepCopyInto(out *ContainerAnalysisNote)

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

func (*ContainerAnalysisNote) DeepCopyObject

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

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

type ContainerAnalysisNoteList

type ContainerAnalysisNoteList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ContainerAnalysisNote `json:"items"`
}

ContainerAnalysisNoteList contains a list of ContainerAnalysisNote

func (*ContainerAnalysisNoteList) DeepCopy

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

func (*ContainerAnalysisNoteList) DeepCopyInto

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

func (*ContainerAnalysisNoteList) DeepCopyObject

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

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

type ContainerAnalysisNoteSpec

type ContainerAnalysisNoteSpec struct {
	/* A note describing an attestation role. */
	// +optional
	Attestation *NoteAttestation `json:"attestation,omitempty"`

	/* A note describing build provenance for a verifiable build. */
	// +optional
	Build *NoteBuild `json:"build,omitempty"`

	/* A note describing something that can be deployed. */
	// +optional
	Deployment *NoteDeployment `json:"deployment,omitempty"`

	/* A note describing the initial analysis of a resource. */
	// +optional
	Discovery *NoteDiscovery `json:"discovery,omitempty"`

	/* Time of expiration for this note. Empty if note does not expire. */
	// +optional
	ExpirationTime *string `json:"expirationTime,omitempty"`

	/* A note describing a base image. */
	// +optional
	Image *NoteImage `json:"image,omitempty"`

	/* A detailed description of this note. */
	// +optional
	LongDescription *string `json:"longDescription,omitempty"`

	/* Required for non-Windows OS. The package this Upgrade is for. */
	// +optional
	Package *NotePackage `json:"package,omitempty"`

	// +optional
	RelatedNoteNames []v1alpha1.ResourceRef `json:"relatedNoteNames,omitempty"`

	/* URLs associated with this note. */
	// +optional
	RelatedUrl []NoteRelatedUrl `json:"relatedUrl,omitempty"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* A one sentence description of this note. */
	// +optional
	ShortDescription *string `json:"shortDescription,omitempty"`

	/* A note describing a package vulnerability. */
	// +optional
	Vulnerability *NoteVulnerability `json:"vulnerability,omitempty"`
}

func (*ContainerAnalysisNoteSpec) DeepCopy

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

func (*ContainerAnalysisNoteSpec) DeepCopyInto

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

type ContainerAnalysisNoteStatus

type ContainerAnalysisNoteStatus struct {
	/* Conditions represent the latest available observations of the
	   ContainerAnalysisNote's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Output only. The time this note was created. This field can be used as a filter in list requests. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	// +optional
	Image *NoteImageStatus `json:"image,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* Output only. The time this note was last updated. This field can be used as a filter in list requests. */
	// +optional
	UpdateTime *string `json:"updateTime,omitempty"`
}

func (*ContainerAnalysisNoteStatus) DeepCopy

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

func (*ContainerAnalysisNoteStatus) DeepCopyInto

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

type NoteAffectedVersionEnd

type NoteAffectedVersionEnd struct {
	/* Used to correct mistakes in the version numbering scheme. */
	// +optional
	Epoch *int64 `json:"epoch,omitempty"`

	/* Human readable version string. This string is of the form :- and is only set when kind is NORMAL. */
	// +optional
	FullName *string `json:"fullName,omitempty"`

	/* Required. Distinguishes between sentinel MIN/MAX versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, UPGRADE */
	Kind string `json:"kind"`

	/* Required only when version kind is NORMAL. The main part of the version name. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* The iteration of the package build from the above version. */
	// +optional
	Revision *string `json:"revision,omitempty"`
}

func (*NoteAffectedVersionEnd) DeepCopy

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

func (*NoteAffectedVersionEnd) DeepCopyInto

func (in *NoteAffectedVersionEnd) DeepCopyInto(out *NoteAffectedVersionEnd)

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

type NoteAffectedVersionStart

type NoteAffectedVersionStart struct {
	/* Used to correct mistakes in the version numbering scheme. */
	// +optional
	Epoch *int64 `json:"epoch,omitempty"`

	/* Human readable version string. This string is of the form :- and is only set when kind is NORMAL. */
	// +optional
	FullName *string `json:"fullName,omitempty"`

	/* Required. Distinguishes between sentinel MIN/MAX versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, UPGRADE */
	Kind string `json:"kind"`

	/* Required only when version kind is NORMAL. The main part of the version name. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* The iteration of the package build from the above version. */
	// +optional
	Revision *string `json:"revision,omitempty"`
}

func (*NoteAffectedVersionStart) DeepCopy

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

func (*NoteAffectedVersionStart) DeepCopyInto

func (in *NoteAffectedVersionStart) DeepCopyInto(out *NoteAffectedVersionStart)

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

type NoteAttestation

type NoteAttestation struct {
	/* Hint hints at the purpose of the attestation authority. */
	// +optional
	Hint *NoteHint `json:"hint,omitempty"`
}

func (*NoteAttestation) DeepCopy

func (in *NoteAttestation) DeepCopy() *NoteAttestation

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

func (*NoteAttestation) DeepCopyInto

func (in *NoteAttestation) DeepCopyInto(out *NoteAttestation)

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

type NoteBuild

type NoteBuild struct {
	/* Required. Immutable. Version of the builder which produced this build. */
	BuilderVersion string `json:"builderVersion"`
}

func (*NoteBuild) DeepCopy

func (in *NoteBuild) DeepCopy() *NoteBuild

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

func (*NoteBuild) DeepCopyInto

func (in *NoteBuild) DeepCopyInto(out *NoteBuild)

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

type NoteCvssV3

type NoteCvssV3 struct {
	/* Possible values: ATTACK_COMPLEXITY_UNSPECIFIED, ATTACK_COMPLEXITY_LOW, ATTACK_COMPLEXITY_HIGH */
	// +optional
	AttackComplexity *string `json:"attackComplexity,omitempty"`

	/* Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Possible values: ATTACK_VECTOR_UNSPECIFIED, ATTACK_VECTOR_NETWORK, ATTACK_VECTOR_ADJACENT, ATTACK_VECTOR_LOCAL, ATTACK_VECTOR_PHYSICAL */
	// +optional
	AttackVector *string `json:"attackVector,omitempty"`

	/* Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH, IMPACT_LOW, IMPACT_NONE */
	// +optional
	AvailabilityImpact *string `json:"availabilityImpact,omitempty"`

	/* The base score is a function of the base metric scores. */
	// +optional
	BaseScore *float64 `json:"baseScore,omitempty"`

	/* Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH, IMPACT_LOW, IMPACT_NONE */
	// +optional
	ConfidentialityImpact *string `json:"confidentialityImpact,omitempty"`

	// +optional
	ExploitabilityScore *float64 `json:"exploitabilityScore,omitempty"`

	// +optional
	ImpactScore *float64 `json:"impactScore,omitempty"`

	/* Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH, IMPACT_LOW, IMPACT_NONE */
	// +optional
	IntegrityImpact *string `json:"integrityImpact,omitempty"`

	/* Possible values: PRIVILEGES_REQUIRED_UNSPECIFIED, PRIVILEGES_REQUIRED_NONE, PRIVILEGES_REQUIRED_LOW, PRIVILEGES_REQUIRED_HIGH */
	// +optional
	PrivilegesRequired *string `json:"privilegesRequired,omitempty"`

	/* Possible values: SCOPE_UNSPECIFIED, SCOPE_UNCHANGED, SCOPE_CHANGED */
	// +optional
	Scope *string `json:"scope,omitempty"`

	/* Possible values: USER_INTERACTION_UNSPECIFIED, USER_INTERACTION_NONE, USER_INTERACTION_REQUIRED */
	// +optional
	UserInteraction *string `json:"userInteraction,omitempty"`
}

func (*NoteCvssV3) DeepCopy

func (in *NoteCvssV3) DeepCopy() *NoteCvssV3

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

func (*NoteCvssV3) DeepCopyInto

func (in *NoteCvssV3) DeepCopyInto(out *NoteCvssV3)

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

type NoteDeployment

type NoteDeployment struct {
	/* Required. Resource URI for the artifact being deployed. */
	ResourceUri []string `json:"resourceUri"`
}

func (*NoteDeployment) DeepCopy

func (in *NoteDeployment) DeepCopy() *NoteDeployment

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

func (*NoteDeployment) DeepCopyInto

func (in *NoteDeployment) DeepCopyInto(out *NoteDeployment)

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

type NoteDetails

type NoteDetails struct {
	/* Required. The (https://cpe.mitre.org/specification/) this vulnerability affects. */
	AffectedCpeUri string `json:"affectedCpeUri"`

	/* Required. The package this vulnerability affects. */
	AffectedPackage string `json:"affectedPackage"`

	/* The version number at the end of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: ) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail. */
	// +optional
	AffectedVersionEnd *NoteAffectedVersionEnd `json:"affectedVersionEnd,omitempty"`

	/* The version number at the start of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: ) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail. */
	// +optional
	AffectedVersionStart *NoteAffectedVersionStart `json:"affectedVersionStart,omitempty"`

	/* A vendor-specific description of this vulnerability. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* The distro recommended (https://cpe.mitre.org/specification/) to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_cpe_uri. */
	// +optional
	FixedCpeUri *string `json:"fixedCpeUri,omitempty"`

	/* The distro recommended package to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_package. */
	// +optional
	FixedPackage *string `json:"fixedPackage,omitempty"`

	/* The distro recommended version to update to that contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no such version is yet available. */
	// +optional
	FixedVersion *NoteFixedVersion `json:"fixedVersion,omitempty"`

	/* Whether this detail is obsolete. Occurrences are expected not to point to obsolete details. */
	// +optional
	IsObsolete *bool `json:"isObsolete,omitempty"`

	/* The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.). */
	// +optional
	PackageType *string `json:"packageType,omitempty"`

	/* The distro assigned severity of this vulnerability. */
	// +optional
	SeverityName *string `json:"severityName,omitempty"`

	/* The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker. */
	// +optional
	SourceUpdateTime *string `json:"sourceUpdateTime,omitempty"`
}

func (*NoteDetails) DeepCopy

func (in *NoteDetails) DeepCopy() *NoteDetails

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

func (*NoteDetails) DeepCopyInto

func (in *NoteDetails) DeepCopyInto(out *NoteDetails)

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

type NoteDiscovery

type NoteDiscovery struct {
	/* The kind of analysis that is handled by this discovery. Possible values: NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, UPGRADE */
	AnalysisKind string `json:"analysisKind"`
}

func (*NoteDiscovery) DeepCopy

func (in *NoteDiscovery) DeepCopy() *NoteDiscovery

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

func (*NoteDiscovery) DeepCopyInto

func (in *NoteDiscovery) DeepCopyInto(out *NoteDiscovery)

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

type NoteDistribution

type NoteDistribution struct {
	/* The CPU architecture for which packages in this distribution channel were built Possible values: ARCHITECTURE_UNSPECIFIED, X86, X64 */
	// +optional
	Architecture *string `json:"architecture,omitempty"`

	/* The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. */
	CpeUri string `json:"cpeUri"`

	/* The distribution channel-specific description of this package. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* The latest available version of this package in this distribution channel. */
	// +optional
	LatestVersion *NoteLatestVersion `json:"latestVersion,omitempty"`

	/* A freeform string denoting the maintainer of this package. */
	// +optional
	Maintainer *string `json:"maintainer,omitempty"`

	/* The distribution channel-specific homepage for this package. */
	// +optional
	Url *string `json:"url,omitempty"`
}

func (*NoteDistribution) DeepCopy

func (in *NoteDistribution) DeepCopy() *NoteDistribution

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

func (*NoteDistribution) DeepCopyInto

func (in *NoteDistribution) DeepCopyInto(out *NoteDistribution)

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

type NoteFingerprint

type NoteFingerprint struct {
	/* Required. The layer ID of the final layer in the Docker image's v1 representation. */
	V1Name string `json:"v1Name"`

	/* Required. The ordered list of v2 blobs that represent a given image. */
	V2Blob []string `json:"v2Blob"`
}

func (*NoteFingerprint) DeepCopy

func (in *NoteFingerprint) DeepCopy() *NoteFingerprint

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

func (*NoteFingerprint) DeepCopyInto

func (in *NoteFingerprint) DeepCopyInto(out *NoteFingerprint)

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

type NoteFingerprintStatus

type NoteFingerprintStatus struct {
	/* Output only. The name of the image's v2 blobs computed via: ) Only the name of the final blob is kept. */
	// +optional
	V2Name *string `json:"v2Name,omitempty"`
}

func (*NoteFingerprintStatus) DeepCopy

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

func (*NoteFingerprintStatus) DeepCopyInto

func (in *NoteFingerprintStatus) DeepCopyInto(out *NoteFingerprintStatus)

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

type NoteFixedVersion

type NoteFixedVersion struct {
	/* Used to correct mistakes in the version numbering scheme. */
	// +optional
	Epoch *int64 `json:"epoch,omitempty"`

	/* Human readable version string. This string is of the form :- and is only set when kind is NORMAL. */
	// +optional
	FullName *string `json:"fullName,omitempty"`

	/* Required. Distinguishes between sentinel MIN/MAX versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, UPGRADE */
	Kind string `json:"kind"`

	/* Required only when version kind is NORMAL. The main part of the version name. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* The iteration of the package build from the above version. */
	// +optional
	Revision *string `json:"revision,omitempty"`
}

func (*NoteFixedVersion) DeepCopy

func (in *NoteFixedVersion) DeepCopy() *NoteFixedVersion

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

func (*NoteFixedVersion) DeepCopyInto

func (in *NoteFixedVersion) DeepCopyInto(out *NoteFixedVersion)

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

type NoteFixingKbs

type NoteFixingKbs struct {
	/* The KB name (generally of the form KB+ (e.g., KB123456)). */
	// +optional
	Name *string `json:"name,omitempty"`

	/* A link to the KB in the (https://www.catalog.update.microsoft.com/). */
	// +optional
	Url *string `json:"url,omitempty"`
}

func (*NoteFixingKbs) DeepCopy

func (in *NoteFixingKbs) DeepCopy() *NoteFixingKbs

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

func (*NoteFixingKbs) DeepCopyInto

func (in *NoteFixingKbs) DeepCopyInto(out *NoteFixingKbs)

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

type NoteHint

type NoteHint struct {
	/* Required. The human readable name of this attestation authority, for example "qa". */
	HumanReadableName string `json:"humanReadableName"`
}

func (*NoteHint) DeepCopy

func (in *NoteHint) DeepCopy() *NoteHint

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

func (*NoteHint) DeepCopyInto

func (in *NoteHint) DeepCopyInto(out *NoteHint)

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

type NoteImage

type NoteImage struct {
	/* Required. Immutable. The fingerprint of the base image. */
	Fingerprint NoteFingerprint `json:"fingerprint"`

	/* Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images. */
	ResourceUrl string `json:"resourceUrl"`
}

func (*NoteImage) DeepCopy

func (in *NoteImage) DeepCopy() *NoteImage

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

func (*NoteImage) DeepCopyInto

func (in *NoteImage) DeepCopyInto(out *NoteImage)

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

type NoteImageStatus

type NoteImageStatus struct {
	// +optional
	Fingerprint *NoteFingerprintStatus `json:"fingerprint,omitempty"`
}

func (*NoteImageStatus) DeepCopy

func (in *NoteImageStatus) DeepCopy() *NoteImageStatus

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

func (*NoteImageStatus) DeepCopyInto

func (in *NoteImageStatus) DeepCopyInto(out *NoteImageStatus)

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

type NoteLatestVersion

type NoteLatestVersion struct {
	/* Used to correct mistakes in the version numbering scheme. */
	// +optional
	Epoch *int64 `json:"epoch,omitempty"`

	/* Human readable version string. This string is of the form :- and is only set when kind is NORMAL. */
	// +optional
	FullName *string `json:"fullName,omitempty"`

	/* Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored. Possible values: VERSION_KIND_UNSPECIFIED, NORMAL, MINIMUM, MAXIMUM */
	Kind string `json:"kind"`

	/* The main part of the version name. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* The iteration of the package build from the above version. */
	// +optional
	Revision *string `json:"revision,omitempty"`
}

func (*NoteLatestVersion) DeepCopy

func (in *NoteLatestVersion) DeepCopy() *NoteLatestVersion

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

func (*NoteLatestVersion) DeepCopyInto

func (in *NoteLatestVersion) DeepCopyInto(out *NoteLatestVersion)

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

type NotePackage

type NotePackage struct {
	/* The various channels by which a package is distributed. */
	// +optional
	Distribution []NoteDistribution `json:"distribution,omitempty"`

	/* The name of the package. */
	Name string `json:"name"`
}

func (*NotePackage) DeepCopy

func (in *NotePackage) DeepCopy() *NotePackage

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

func (*NotePackage) DeepCopyInto

func (in *NotePackage) DeepCopyInto(out *NotePackage)

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

type NoteRelatedUrl

type NoteRelatedUrl struct {
	/* Label to describe usage of the URL */
	// +optional
	Label *string `json:"label,omitempty"`

	/* Specific URL to associate with the note */
	// +optional
	Url *string `json:"url,omitempty"`
}

func (*NoteRelatedUrl) DeepCopy

func (in *NoteRelatedUrl) DeepCopy() *NoteRelatedUrl

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

func (*NoteRelatedUrl) DeepCopyInto

func (in *NoteRelatedUrl) DeepCopyInto(out *NoteRelatedUrl)

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

type NoteVulnerability

type NoteVulnerability struct {
	/* The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity. */
	// +optional
	CvssScore *float64 `json:"cvssScore,omitempty"`

	/* The full description of the CVSSv3 for this vulnerability. */
	// +optional
	CvssV3 *NoteCvssV3 `json:"cvssV3,omitempty"`

	/* Details of all known distros and packages affected by this vulnerability. */
	// +optional
	Details []NoteDetails `json:"details,omitempty"`

	/* The note provider assigned severity of this vulnerability. Possible values: SEVERITY_UNSPECIFIED, MINIMAL, LOW, MEDIUM, HIGH, CRITICAL */
	// +optional
	Severity *string `json:"severity,omitempty"`

	/* The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker. */
	// +optional
	SourceUpdateTime *string `json:"sourceUpdateTime,omitempty"`

	/* Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version. */
	// +optional
	WindowsDetails []NoteWindowsDetails `json:"windowsDetails,omitempty"`
}

func (*NoteVulnerability) DeepCopy

func (in *NoteVulnerability) DeepCopy() *NoteVulnerability

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

func (*NoteVulnerability) DeepCopyInto

func (in *NoteVulnerability) DeepCopyInto(out *NoteVulnerability)

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

type NoteWindowsDetails

type NoteWindowsDetails struct {
	/* Required. The (https://cpe.mitre.org/specification/) this vulnerability affects. */
	CpeUri string `json:"cpeUri"`

	/* The description of this vulnerability. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed KBs presence is considered a fix. */
	FixingKbs []NoteFixingKbs `json:"fixingKbs"`

	/* Required. The name of this vulnerability. */
	Name string `json:"name"`
}

func (*NoteWindowsDetails) DeepCopy

func (in *NoteWindowsDetails) DeepCopy() *NoteWindowsDetails

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

func (*NoteWindowsDetails) DeepCopyInto

func (in *NoteWindowsDetails) DeepCopyInto(out *NoteWindowsDetails)

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

Jump to

Keyboard shortcuts

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