softwarecomposition

package
v0.0.0-...-48aa2c9 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: Apache-2.0 Imports: 22 Imported by: 2

Documentation

Overview

Package softwarecomposition is the internal version of the API.

Index

Constants

View Source
const (
	ProtocolTCP  Protocol = "TCP"
	ProtocolUDP  Protocol = "UDP"
	ProtocolSCTP Protocol = "SCTP"

	CommunicationTypeIngress CommunicationType = "internal"
	CommunicationTypeEgress  CommunicationType = "external"
)
View Source
const (
	// PathTypeExact matches the URL path exactly and with case sensitivity.
	PathTypeExact = PathType("Exact")

	// PathTypePrefix matches based on a URL path prefix split by '/'. Matching
	// is case sensitive and done on a path element by element basis. A path
	// element refers to the list of labels in the path split by the '/'
	// separator. A request is a match for path p if every p is an element-wise
	// prefix of p of the request path. Note that if the last element of the
	// path is a substring of the last element in request path, it is not a
	// match (e.g. /foo/bar matches /foo/bar/baz, but does not match
	// /foo/barbaz). If multiple matching paths exist in an Ingress spec, the
	// longest matching path is given priority.
	// Examples:
	// - /foo/bar does not match requests to /foo/barbaz
	// - /foo/bar matches request to /foo/bar and /foo/bar/baz
	// - /foo and /foo/ both match requests to /foo and /foo/. If both paths are
	//   present in an Ingress spec, the longest matching path (/foo/) is given
	//   priority.
	PathTypePrefix = PathType("Prefix")

	// PathTypeImplementationSpecific matching is up to the IngressClass.
	// Implementations can treat this as a separate PathType or treat it
	// identically to Prefix or Exact path types.
	PathTypeImplementationSpecific = PathType("ImplementationSpecific")
)
View Source
const (
	// IngressClassParametersReferenceScopeNamespace indicates that the
	// referenced Parameters resource is namespace-scoped.
	IngressClassParametersReferenceScopeNamespace = "Namespace"
	// IngressClassParametersReferenceScopeCluster indicates that the
	// referenced Parameters resource is cluster-scoped.
	IngressClassParametersReferenceScopeCluster = "Cluster"
)
View Source
const (
	ResourceVersionFullSpec = "fullSpec"
	ResourceVersionMetadata = "metadata"
)

Special resource versions used to modify the behavior of the API server calls.

View Source
const GroupName = "spdx.softwarecomposition.seclogic.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 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 Algorithm

type Algorithm string

type ApplicationActivity

type ApplicationActivity struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   ApplicationActivitySpec
	Status ApplicationActivityStatus
}

func (*ApplicationActivity) DeepCopy

func (in *ApplicationActivity) DeepCopy() *ApplicationActivity

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

func (*ApplicationActivity) DeepCopyInto

func (in *ApplicationActivity) DeepCopyInto(out *ApplicationActivity)

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

func (*ApplicationActivity) DeepCopyObject

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

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

type ApplicationActivityList

type ApplicationActivityList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []ApplicationActivity
}

func (*ApplicationActivityList) DeepCopy

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

func (*ApplicationActivityList) DeepCopyInto

func (in *ApplicationActivityList) DeepCopyInto(out *ApplicationActivityList)

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

func (*ApplicationActivityList) DeepCopyObject

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

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

type ApplicationActivitySpec

type ApplicationActivitySpec struct {
	Syscalls []string
}

func (*ApplicationActivitySpec) DeepCopy

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

func (*ApplicationActivitySpec) DeepCopyInto

func (in *ApplicationActivitySpec) DeepCopyInto(out *ApplicationActivitySpec)

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

type ApplicationActivityStatus

type ApplicationActivityStatus struct {
}

func (*ApplicationActivityStatus) DeepCopy

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

func (*ApplicationActivityStatus) DeepCopyInto

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

type ApplicationProfile

type ApplicationProfile struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   ApplicationProfileSpec
	Status ApplicationProfileStatus
}

func (*ApplicationProfile) DeepCopy

func (in *ApplicationProfile) DeepCopy() *ApplicationProfile

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

func (*ApplicationProfile) DeepCopyInto

func (in *ApplicationProfile) DeepCopyInto(out *ApplicationProfile)

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

func (*ApplicationProfile) DeepCopyObject

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

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

type ApplicationProfileContainer

type ApplicationProfileContainer struct {
	Name                 string
	Capabilities         []string
	Execs                []ExecCalls
	Opens                []OpenCalls
	Syscalls             []string
	SeccompProfile       SingleSeccompProfile
	Endpoints            []HTTPEndpoint
	ImageID              string
	ImageTag             string
	PolicyByRuleId       map[string]RulePolicy
	IdentifiedCallStacks []IdentifiedCallStack
}

func (*ApplicationProfileContainer) DeepCopy

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

func (*ApplicationProfileContainer) DeepCopyInto

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

type ApplicationProfileList

type ApplicationProfileList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []ApplicationProfile
}

func (*ApplicationProfileList) DeepCopy

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

func (*ApplicationProfileList) DeepCopyInto

func (in *ApplicationProfileList) DeepCopyInto(out *ApplicationProfileList)

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

func (*ApplicationProfileList) DeepCopyObject

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

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

type ApplicationProfileSpec

type ApplicationProfileSpec struct {
	Architectures       []string
	Containers          []ApplicationProfileContainer
	InitContainers      []ApplicationProfileContainer
	EphemeralContainers []ApplicationProfileContainer
}

func (*ApplicationProfileSpec) DeepCopy

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

func (*ApplicationProfileSpec) DeepCopyInto

func (in *ApplicationProfileSpec) DeepCopyInto(out *ApplicationProfileSpec)

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

type ApplicationProfileStatus

type ApplicationProfileStatus struct {
}

func (*ApplicationProfileStatus) DeepCopy

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

func (*ApplicationProfileStatus) DeepCopyInto

func (in *ApplicationProfileStatus) DeepCopyInto(out *ApplicationProfileStatus)

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

type Arch

type Arch string

type Arg

type Arg struct {
	// the index for syscall arguments in seccomp
	Index uint64
	// the value for syscall arguments in seccomp
	Value uint64
	// the value for syscall arguments in seccomp
	ValueTwo uint64
	// the operator for syscall arguments in seccomp
	Op seccomp.Operator
}

Arg defines the specific syscall in seccomp.

func (*Arg) DeepCopy

func (in *Arg) DeepCopy() *Arg

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

func (*Arg) DeepCopyInto

func (in *Arg) DeepCopyInto(out *Arg)

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

type CPE

type CPE struct {
	Value  string
	Source string
}

func (*CPE) DeepCopy

func (in *CPE) DeepCopy() *CPE

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

func (*CPE) DeepCopyInto

func (in *CPE) DeepCopyInto(out *CPE)

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

type CPEs

type CPEs []CPE

func (CPEs) DeepCopy

func (in CPEs) DeepCopy() CPEs

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

func (CPEs) DeepCopyInto

func (in CPEs) DeepCopyInto(out *CPEs)

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

type CallID

type CallID string

type CallStack

type CallStack struct {
	Root CallStackNode
}

func (*CallStack) DeepCopy

func (in *CallStack) DeepCopy() *CallStack

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

func (*CallStack) DeepCopyInto

func (in *CallStack) DeepCopyInto(out *CallStack)

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

type CallStackNode

type CallStackNode struct {
	Children []CallStackNode
	Frame    StackFrame
}

func (*CallStackNode) DeepCopy

func (in *CallStackNode) DeepCopy() *CallStackNode

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

func (*CallStackNode) DeepCopyInto

func (in *CallStackNode) DeepCopyInto(out *CallStackNode)

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

type CommunicationType

type CommunicationType string

type Component

type Component struct {
	// ID is an IRI identifying the component. It is optional as the component
	// can also be identified using hashes or software identifiers.
	ID string

	// Hashes is a map of hashes to identify the component using cryptographic
	// hashes.
	Hashes map[Algorithm]Hash

	// Identifiers is a list of software identifiers that describe the component.
	Identifiers map[IdentifierType]string

	// Supplier is an optional machine-readable identifier for the supplier of
	// the component. Valid examples include email address or IRIs.
	Supplier string
}

func (*Component) DeepCopy

func (in *Component) DeepCopy() *Component

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

func (*Component) DeepCopyInto

func (in *Component) DeepCopyInto(out *Component)

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

type Condition

type Condition struct {
	// Type of this condition. At most one of each condition type may apply to
	// a resource at any point in time.
	Type ConditionType

	// Status of this condition; is it currently True, False, or Unknown?
	Status corev1.ConditionStatus

	// LastTransitionTime is the last time this condition transitioned from one
	// status to another.
	LastTransitionTime metav1.Time

	// A Reason for this condition's last transition from one status to another.
	Reason ConditionReason

	// A Message containing details about this condition's last transition from
	// one status to another, if any.
	// +optional
	Message string
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type ConditionReason

type ConditionReason string

type ConditionType

type ConditionType string

type ConditionedStatus

type ConditionedStatus struct {
	// Conditions of the resource.
	// +optional
	Conditions []Condition
}

func (*ConditionedStatus) DeepCopy

func (in *ConditionedStatus) DeepCopy() *ConditionedStatus

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

func (*ConditionedStatus) DeepCopyInto

func (in *ConditionedStatus) DeepCopyInto(out *ConditionedStatus)

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

type ConfigurationScanSummary

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

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

func (*ConfigurationScanSummary) DeepCopyInto

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

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

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

type ConfigurationScanSummaryList

type ConfigurationScanSummaryList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []ConfigurationScanSummary
}

ConfigurationScanSummaryList is a list of ConfigurationScanSummary summaries.

func (*ConfigurationScanSummaryList) DeepCopy

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

func (*ConfigurationScanSummaryList) DeepCopyInto

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

func (*ConfigurationScanSummaryList) DeepCopyObject

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

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

type ConfigurationScanSummarySpec

type ConfigurationScanSummarySpec struct {
	Severities                                  WorkloadConfigurationScanSeveritiesSummary
	WorkloadConfigurationScanSummaryIdentifiers []WorkloadConfigurationScanSummaryIdentifier
}

func (*ConfigurationScanSummarySpec) DeepCopy

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

func (*ConfigurationScanSummarySpec) DeepCopyInto

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

type ControlSeverity

type ControlSeverity struct {
	Severity    string
	ScoreFactor float32
}

func (*ControlSeverity) DeepCopy

func (in *ControlSeverity) DeepCopy() *ControlSeverity

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

func (*ControlSeverity) DeepCopyInto

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

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

type Coordinates

type Coordinates struct {
	RealPath     string // The path where all path ancestors have no hardlinks / symlinks
	FileSystemID string // An ID representing the filesystem. For container images, this is a layer digest. For directories or a root filesystem, this is blank.
}

Coordinates contains the minimal information needed to describe how to find a file within any possible source object (e.g. image and directory sources)

func (*Coordinates) DeepCopy

func (in *Coordinates) DeepCopy() *Coordinates

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

func (*Coordinates) DeepCopyInto

func (in *Coordinates) DeepCopyInto(out *Coordinates)

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

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 Digest

type Digest struct {
	Algorithm string
	Value     string
}

func (*Digest) DeepCopy

func (in *Digest) DeepCopy() *Digest

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

func (*Digest) DeepCopyInto

func (in *Digest) DeepCopyInto(out *Digest)

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 ELFSecurityFeatures

type ELFSecurityFeatures struct {
	SymbolTableStripped bool

	StackCanary                   *bool
	NoExecutable                  bool
	RelocationReadOnly            RelocationReadOnly
	PositionIndependentExecutable bool
	DynamicSharedObject           bool

	// LlvmSafeStack represents a compiler-based security mechanism that separates the stack into a safe stack for storing return addresses and other critical data, and an unsafe stack for everything else, to mitigate stack-based memory corruption errors
	// see https://clang.llvm.org/docs/SafeStack.html
	LlvmSafeStack *bool

	// ControlFlowIntegrity represents runtime checks to ensure a program's control flow adheres to the legal paths determined at compile time, thus protecting against various types of control-flow hijacking attacks
	// see https://clang.llvm.org/docs/ControlFlowIntegrity.html
	LlvmControlFlowIntegrity *bool

	// ClangFortifySource is a broad suite of extensions to libc aimed at catching misuses of common library functions
	// see https://android.googlesource.com/platform//bionic/+/d192dbecf0b2a371eb127c0871f77a9caf81c4d2/docs/clang_fortify_anatomy.md
	ClangFortifySource *bool
}

func (*ELFSecurityFeatures) DeepCopy

func (in *ELFSecurityFeatures) DeepCopy() *ELFSecurityFeatures

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

func (*ELFSecurityFeatures) DeepCopyInto

func (in *ELFSecurityFeatures) DeepCopyInto(out *ELFSecurityFeatures)

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

type ExecCalls

type ExecCalls struct {
	Path string
	Args []string
	Envs []string
}

func (*ExecCalls) DeepCopy

func (in *ExecCalls) DeepCopy() *ExecCalls

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

func (*ExecCalls) DeepCopyInto

func (in *ExecCalls) DeepCopyInto(out *ExecCalls)

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

func (ExecCalls) String

func (e ExecCalls) String() string

type Executable

type Executable struct {
	// Format denotes either ELF, Mach-O, or PE
	Format ExecutableFormat

	HasExports          bool
	HasEntrypoint       bool
	ImportedLibraries   []string
	ELFSecurityFeatures *ELFSecurityFeatures
}

func (*Executable) DeepCopy

func (in *Executable) DeepCopy() *Executable

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

func (*Executable) DeepCopyInto

func (in *Executable) DeepCopyInto(out *Executable)

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

type ExecutableFormat

type ExecutableFormat string

type FileLicense

type FileLicense struct {
	Value          string
	SPDXExpression string
	Type           LicenseType
	Evidence       *FileLicenseEvidence
}

func (*FileLicense) DeepCopy

func (in *FileLicense) DeepCopy() *FileLicense

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

func (*FileLicense) DeepCopyInto

func (in *FileLicense) DeepCopyInto(out *FileLicense)

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

type FileLicenseEvidence

type FileLicenseEvidence struct {
	Confidence int64
	Offset     int64
	Extent     int64
}

func (*FileLicenseEvidence) DeepCopy

func (in *FileLicenseEvidence) DeepCopy() *FileLicenseEvidence

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

func (*FileLicenseEvidence) DeepCopyInto

func (in *FileLicenseEvidence) DeepCopyInto(out *FileLicenseEvidence)

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

type FileMetadataEntry

type FileMetadataEntry struct {
	Mode            int64
	Type            string
	LinkDestination string
	UserID          int64
	GroupID         int64
	MIMEType        string
	Size_           int64
}

func (*FileMetadataEntry) DeepCopy

func (in *FileMetadataEntry) DeepCopy() *FileMetadataEntry

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

func (*FileMetadataEntry) DeepCopyInto

func (in *FileMetadataEntry) DeepCopyInto(out *FileMetadataEntry)

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 Flag

type Flag string

type GeneratedNetworkPolicy

type GeneratedNetworkPolicy struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec        NetworkPolicy
	PoliciesRef []PolicyRef
}

GeneratedNetworkPolicy represents a generated NetworkPolicy.

func (*GeneratedNetworkPolicy) DeepCopy

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

func (*GeneratedNetworkPolicy) DeepCopyInto

func (in *GeneratedNetworkPolicy) DeepCopyInto(out *GeneratedNetworkPolicy)

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

func (*GeneratedNetworkPolicy) DeepCopyObject

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

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

type GeneratedNetworkPolicyList

type GeneratedNetworkPolicyList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []GeneratedNetworkPolicy
}

GeneratedNetworkPolicyList is a list of GeneratedNetworkPolicies.

func (*GeneratedNetworkPolicyList) DeepCopy

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

func (*GeneratedNetworkPolicyList) DeepCopyInto

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

func (*GeneratedNetworkPolicyList) DeepCopyObject

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

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

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 HTTPEndpoint

type HTTPEndpoint struct {
	Endpoint  string
	Methods   []string
	Internal  bool
	Direction consts.NetworkDirection
	Headers   json.RawMessage
}

func (*HTTPEndpoint) DeepCopy

func (in *HTTPEndpoint) DeepCopy() *HTTPEndpoint

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

func (*HTTPEndpoint) DeepCopyInto

func (in *HTTPEndpoint) DeepCopyInto(out *HTTPEndpoint)

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

func (*HTTPEndpoint) Equal

func (e *HTTPEndpoint) Equal(other *HTTPEndpoint) bool

func (*HTTPEndpoint) GetHeaders

func (e *HTTPEndpoint) GetHeaders() (map[string][]string, error)

func (HTTPEndpoint) String

func (e HTTPEndpoint) String() string

type HTTPIngressPath

type HTTPIngressPath struct {
	Path string

	// pathType determines the interpretation of the path matching. PathType can
	// be one of the following values:
	// * Exact: Matches the URL path exactly.
	// * Prefix: Matches based on a URL path prefix split by '/'. Matching is
	//   done on a path element by element basis. A path element refers is the
	//   list of labels in the path split by the '/' separator. A request is a
	//   match for path p if every p is an element-wise prefix of p of the
	//   request path. Note that if the last element of the path is a substring
	//   of the last element in request path, it is not a match (e.g. /foo/bar
	//   matches /foo/bar/baz, but does not match /foo/barbaz).
	// * ImplementationSpecific: Interpretation of the Path matching is up to
	//   the IngressClass. Implementations can treat this as a separate PathType
	//   or treat it identically to Prefix or Exact path types.
	// Implementations are required to support all path types.
	PathType *PathType

	// backend defines the referenced service endpoint to which the traffic
	// will be forwarded to.
	Backend IngressBackend
}

HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.

func (*HTTPIngressPath) DeepCopy

func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath

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

func (*HTTPIngressPath) DeepCopyInto

func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath)

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

type HTTPIngressRuleValue

type HTTPIngressRuleValue struct {
	// paths is a collection of paths that map requests to backends.
	// +listType=atomic
	Paths []HTTPIngressPath
}

HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.

func (*HTTPIngressRuleValue) DeepCopy

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

func (*HTTPIngressRuleValue) DeepCopyInto

func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue)

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

type Hash

type Hash string

type IDLikes

type IDLikes []string

func (IDLikes) DeepCopy

func (in IDLikes) DeepCopy() IDLikes

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

func (IDLikes) DeepCopyInto

func (in IDLikes) DeepCopyInto(out *IDLikes)

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

func (*IDLikes) UnmarshalJSON

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

type IKnownServerEntry

type IKnownServerEntry interface {
	GetIPBlock() string
	GetName() string
	GetServer() string
}

type IKnownServersFinder

type IKnownServersFinder interface {
	Contains(ip net.IP) ([]IKnownServerEntry, bool)
}

func NewKnownServersFinderImpl

func NewKnownServersFinderImpl(knownServers []KnownServer) IKnownServersFinder

type IPBlock

type IPBlock struct {
	// cidr is a string representing the IPBlock
	// Valid examples are "192.168.1.0/24" or "2001:db8::/64"
	CIDR string

	Except []string
}

IPBlock describes a particular CIDR (Ex. "192.168.1.0/24","2001:db8::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.

func (*IPBlock) DeepCopy

func (in *IPBlock) DeepCopy() *IPBlock

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

func (*IPBlock) DeepCopyInto

func (in *IPBlock) DeepCopyInto(out *IPBlock)

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

type IdentifiedCallStack

type IdentifiedCallStack struct {
	CallID    CallID
	CallStack CallStack
}

func (*IdentifiedCallStack) DeepCopy

func (in *IdentifiedCallStack) DeepCopy() *IdentifiedCallStack

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

func (*IdentifiedCallStack) DeepCopyInto

func (in *IdentifiedCallStack) DeepCopyInto(out *IdentifiedCallStack)

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

type IdentifierLocator

type IdentifierLocator string

type IdentifierType

type IdentifierType string

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
	UpstreamName 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 Ingress

type Ingress struct {
	metav1.TypeMeta

	metav1.ObjectMeta

	Spec IngressSpec

	Status IngressStatus
}

Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.

func (*Ingress) DeepCopy

func (in *Ingress) DeepCopy() *Ingress

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

func (*Ingress) DeepCopyInto

func (in *Ingress) DeepCopyInto(out *Ingress)

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

type IngressBackend

type IngressBackend struct {
	Service *IngressServiceBackend

	Resource *v1.TypedLocalObjectReference
}

IngressBackend describes all endpoints for a given service and port.

func (*IngressBackend) DeepCopy

func (in *IngressBackend) DeepCopy() *IngressBackend

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

func (*IngressBackend) DeepCopyInto

func (in *IngressBackend) DeepCopyInto(out *IngressBackend)

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

type IngressClass

type IngressClass struct {
	metav1.TypeMeta

	metav1.ObjectMeta

	Spec IngressClassSpec
}

IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.

func (*IngressClass) DeepCopy

func (in *IngressClass) DeepCopy() *IngressClass

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

func (*IngressClass) DeepCopyInto

func (in *IngressClass) DeepCopyInto(out *IngressClass)

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

type IngressClassList

type IngressClassList struct {
	metav1.TypeMeta

	metav1.ListMeta

	// items is the list of IngressClasses.
	Items []IngressClass
}

IngressClassList is a collection of IngressClasses.

func (*IngressClassList) DeepCopy

func (in *IngressClassList) DeepCopy() *IngressClassList

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

func (*IngressClassList) DeepCopyInto

func (in *IngressClassList) DeepCopyInto(out *IngressClassList)

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

type IngressClassParametersReference

type IngressClassParametersReference struct {
	APIGroup *string

	// kind is the type of resource being referenced.
	Kind string

	// name is the name of resource being referenced.
	Name string

	Scope *string

	Namespace *string
}

IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.

func (*IngressClassParametersReference) DeepCopy

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

func (*IngressClassParametersReference) DeepCopyInto

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

type IngressClassSpec

type IngressClassSpec struct {
	// controller refers to the name of the controller that should handle this
	// class. This allows for different "flavors" that are controlled by the
	// same controller. For example, you may have different parameters for the
	// same implementing controller. This should be specified as a
	// domain-prefixed path no more than 250 characters in length, e.g.
	// "acme.io/ingress-controller". This field is immutable.
	Controller string

	Parameters *IngressClassParametersReference
}

IngressClassSpec provides information about the class of an Ingress.

func (*IngressClassSpec) DeepCopy

func (in *IngressClassSpec) DeepCopy() *IngressClassSpec

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

func (*IngressClassSpec) DeepCopyInto

func (in *IngressClassSpec) DeepCopyInto(out *IngressClassSpec)

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

type IngressList

type IngressList struct {
	metav1.TypeMeta

	metav1.ListMeta

	// items is the list of Ingress.
	Items []Ingress
}

IngressList is a collection of Ingress.

func (*IngressList) DeepCopy

func (in *IngressList) DeepCopy() *IngressList

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

func (*IngressList) DeepCopyInto

func (in *IngressList) DeepCopyInto(out *IngressList)

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

type IngressLoadBalancerIngress

type IngressLoadBalancerIngress struct {
	IP string

	Hostname string

	Ports []IngressPortStatus
}

IngressLoadBalancerIngress represents the status of a load-balancer ingress point.

func (*IngressLoadBalancerIngress) DeepCopy

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

func (*IngressLoadBalancerIngress) DeepCopyInto

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

type IngressLoadBalancerStatus

type IngressLoadBalancerStatus struct {
	Ingress []IngressLoadBalancerIngress
}

IngressLoadBalancerStatus represents the status of a load-balancer.

func (*IngressLoadBalancerStatus) DeepCopy

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

func (*IngressLoadBalancerStatus) DeepCopyInto

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

type IngressPortStatus

type IngressPortStatus struct {
	// port is the port number of the ingress port.
	Port int32

	// protocol is the protocol of the ingress port.
	// The supported values are: "TCP", "UDP", "SCTP"
	Protocol v1.Protocol

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
	// +kubebuilder:validation:MaxLength=316
	Error *string
}

IngressPortStatus represents the error condition of a service port

func (*IngressPortStatus) DeepCopy

func (in *IngressPortStatus) DeepCopy() *IngressPortStatus

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

func (*IngressPortStatus) DeepCopyInto

func (in *IngressPortStatus) DeepCopyInto(out *IngressPortStatus)

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

type IngressRule

type IngressRule struct {
	Host string

	IngressRuleValue
}

IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.

func (*IngressRule) DeepCopy

func (in *IngressRule) DeepCopy() *IngressRule

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

func (*IngressRule) DeepCopyInto

func (in *IngressRule) DeepCopyInto(out *IngressRule)

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

type IngressRuleValue

type IngressRuleValue struct {
	HTTP *HTTPIngressRuleValue
}

IngressRuleValue represents a rule to apply against incoming requests. If the rule is satisfied, the request is routed to the specified backend. Currently mixing different types of rules in a single Ingress is disallowed, so exactly one of the following must be set.

func (*IngressRuleValue) DeepCopy

func (in *IngressRuleValue) DeepCopy() *IngressRuleValue

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

func (*IngressRuleValue) DeepCopyInto

func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue)

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

type IngressServiceBackend

type IngressServiceBackend struct {
	// name is the referenced service. The service must exist in
	// the same namespace as the Ingress object.
	Name string

	// port of the referenced service. A port name or port number
	// is required for a IngressServiceBackend.
	Port ServiceBackendPort
}

IngressServiceBackend references a Kubernetes Service as a Backend.

func (*IngressServiceBackend) DeepCopy

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

func (*IngressServiceBackend) DeepCopyInto

func (in *IngressServiceBackend) DeepCopyInto(out *IngressServiceBackend)

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

type IngressSpec

type IngressSpec struct {
	IngressClassName *string

	DefaultBackend *IngressBackend

	TLS []IngressTLS

	Rules []IngressRule
}

IngressSpec describes the Ingress the user wishes to exist.

func (*IngressSpec) DeepCopy

func (in *IngressSpec) DeepCopy() *IngressSpec

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

func (*IngressSpec) DeepCopyInto

func (in *IngressSpec) DeepCopyInto(out *IngressSpec)

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

type IngressStatus

type IngressStatus struct {
	LoadBalancer IngressLoadBalancerStatus
}

IngressStatus describe the current state of the Ingress.

func (*IngressStatus) DeepCopy

func (in *IngressStatus) DeepCopy() *IngressStatus

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

func (*IngressStatus) DeepCopyInto

func (in *IngressStatus) DeepCopyInto(out *IngressStatus)

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

type IngressTLS

type IngressTLS struct {
	Hosts []string

	SecretName string
}

IngressTLS describes the transport layer security associated with an ingress.

func (*IngressTLS) DeepCopy

func (in *IngressTLS) DeepCopy() *IngressTLS

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

func (*IngressTLS) DeepCopyInto

func (in *IngressTLS) DeepCopyInto(out *IngressTLS)

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

type Justification

type Justification string

type KnownServer

type KnownServer struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec KnownServerSpec
}

KnownServer represents a known server, containing information about its IP addresses and servers. The purpose is to enrich the GeneratedNetworkPolicy CRD

func (*KnownServer) DeepCopy

func (in *KnownServer) DeepCopy() *KnownServer

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

func (*KnownServer) DeepCopyInto

func (in *KnownServer) DeepCopyInto(out *KnownServer)

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

func (*KnownServer) DeepCopyObject

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

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

type KnownServerEntry

type KnownServerEntry struct {
	IPBlock string
	Server  string
	Name    string
}

func (*KnownServerEntry) DeepCopy

func (in *KnownServerEntry) DeepCopy() *KnownServerEntry

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

func (*KnownServerEntry) DeepCopyInto

func (in *KnownServerEntry) DeepCopyInto(out *KnownServerEntry)

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

type KnownServerList

type KnownServerList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []KnownServer
}

KnownServerList is a list of KnownServer.

func (*KnownServerList) DeepCopy

func (in *KnownServerList) DeepCopy() *KnownServerList

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

func (*KnownServerList) DeepCopyInto

func (in *KnownServerList) DeepCopyInto(out *KnownServerList)

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

func (*KnownServerList) DeepCopyObject

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

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

type KnownServerSpec

type KnownServerSpec []KnownServerEntry

func (KnownServerSpec) DeepCopy

func (in KnownServerSpec) DeepCopy() KnownServerSpec

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

func (KnownServerSpec) DeepCopyInto

func (in KnownServerSpec) DeepCopyInto(out *KnownServerSpec)

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

type KnownServersFinderEntry

type KnownServersFinderEntry struct {
	// contains filtered or unexported fields
}

+k8s:deepcopy-gen=false

func NewKnownServersFinderEntry

func NewKnownServersFinderEntry(kse KnownServerEntry) *KnownServersFinderEntry

func (*KnownServersFinderEntry) GetIPBlock

func (k *KnownServersFinderEntry) GetIPBlock() string

func (*KnownServersFinderEntry) GetName

func (k *KnownServersFinderEntry) GetName() string

func (*KnownServersFinderEntry) GetServer

func (k *KnownServersFinderEntry) GetServer() string

func (*KnownServersFinderEntry) Network

func (k *KnownServersFinderEntry) Network() net.IPNet

type KnownServersFinderImpl

type KnownServersFinderImpl struct {
	// contains filtered or unexported fields
}

+k8s:deepcopy-gen=false

func (*KnownServersFinderImpl) Contains

func (k *KnownServersFinderImpl) Contains(ip net.IP) ([]IKnownServerEntry, bool)

type License

type License struct {
	Value          string
	SPDXExpression string
	Type           LicenseType
	URLs           []string
	Locations      []Location
}

func (*License) DeepCopy

func (in *License) DeepCopy() *License

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

func (*License) DeepCopyInto

func (in *License) DeepCopyInto(out *License)

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

type LicenseType

type LicenseType string

type Licenses

type Licenses []License

func (Licenses) DeepCopy

func (in Licenses) DeepCopy() Licenses

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

func (Licenses) DeepCopyInto

func (in Licenses) DeepCopyInto(out *Licenses)

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

func (*Licenses) UnmarshalJSON

func (f *Licenses) UnmarshalJSON(b []byte) error

type LinuxRelease

type LinuxRelease struct {
	PrettyName       string
	Name             string
	ID               string
	IDLike           IDLikes
	Version          string
	VersionID        string
	VersionCodename  string
	BuildID          string
	ImageID          string
	ImageVersion     string
	Variant          string
	VariantID        string
	HomeURL          string
	SupportURL       string
	BugReportURL     string
	PrivacyPolicyURL string
	CPEName          string
	SupportEnd       string
}

func (*LinuxRelease) DeepCopy

func (in *LinuxRelease) DeepCopy() *LinuxRelease

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

func (*LinuxRelease) DeepCopyInto

func (in *LinuxRelease) DeepCopyInto(out *LinuxRelease)

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

type Location

type Location struct {
	LocationData     `cyclonedx:""`
	LocationMetadata `cyclonedx:""`
}

Location represents a path relative to a particular filesystem resolved to a specific file.Reference. This struct is used as a key in content fetching to uniquely identify a file relative to a request (the VirtualPath).

func (*Location) DeepCopy

func (in *Location) DeepCopy() *Location

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

func (*Location) DeepCopyInto

func (in *Location) DeepCopyInto(out *Location)

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

type LocationData

type LocationData struct {
	Coordinates `cyclonedx:""` // Empty string here means there is no intermediate property name, e.g. syft:locations:0:path without "coordinates"
	// note: it is IMPORTANT to ignore anything but the coordinates for a Location when considering the ID (hash value)
	// since the coordinates are the minimally correct ID for a location (symlinks should not come into play)
	VirtualPath string `hash:"ignore" json:"accessPath"` // The path to the file which may or may not have hardlinks / symlinks
}

func (*LocationData) DeepCopy

func (in *LocationData) DeepCopy() *LocationData

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

func (*LocationData) DeepCopyInto

func (in *LocationData) DeepCopyInto(out *LocationData)

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

type LocationMetadata

type LocationMetadata struct {
	Annotations map[string]string // Arbitrary key-value pairs that can be used to annotate a location
}

func (*LocationMetadata) DeepCopy

func (in *LocationMetadata) DeepCopy() *LocationMetadata

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

func (*LocationMetadata) DeepCopyInto

func (in *LocationMetadata) DeepCopyInto(out *LocationMetadata)

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 Metadata

type Metadata struct {
	// Context is the URL pointing to the jsonld context definition
	Context string

	// ID is the identifying string for the VEX document. This should be unique per
	// document.
	ID string

	// Author is the identifier for the author of the VEX statement, ideally a common
	// name, may be a URI. [author] is an individual or organization. [author]
	// identity SHOULD be cryptographically associated with the signature of the VEX
	// statement or document or transport.
	Author string

	// AuthorRole describes the role of the document Author.
	AuthorRole string

	// Timestamp defines the time at which the document was issued.
	Timestamp string

	// LastUpdated marks the time when the document had its last update. When the
	// document changes both version and this field should be updated.
	LastUpdated string

	// Version is the document version. It must be incremented when any content
	// within the VEX document changes, including any VEX statements included within
	// the VEX document.
	Version int64

	// Tooling expresses how the VEX document and contained VEX statements were
	// generated. It's optional. It may specify tools or automated processes used in
	// the document or statement generation.
	Tooling string

	// Supplier is an optional field.
	Supplier string
}

func (*Metadata) DeepCopy

func (in *Metadata) DeepCopy() *Metadata

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

func (*Metadata) DeepCopyInto

func (in *Metadata) DeepCopyInto(out *Metadata)

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

type MetadataType

type MetadataType string

type NetworkNeighbor

type NetworkNeighbor struct {
	Identifier        string
	Type              CommunicationType
	DNS               string // DEPRECATED - use DNSNames instead.
	DNSNames          []string
	Ports             []NetworkPort
	PodSelector       *metav1.LabelSelector
	NamespaceSelector *metav1.LabelSelector
	IPAddress         string
}

NetworkNeighbor represents a single network communication made by this resource.

func (*NetworkNeighbor) DeepCopy

func (in *NetworkNeighbor) DeepCopy() *NetworkNeighbor

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

func (*NetworkNeighbor) DeepCopyInto

func (in *NetworkNeighbor) DeepCopyInto(out *NetworkNeighbor)

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

type NetworkNeighborhood

type NetworkNeighborhood struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec NetworkNeighborhoodSpec
}

NetworkNeighborhood represents a list of network communications for a specific workload.

func (*NetworkNeighborhood) DeepCopy

func (in *NetworkNeighborhood) DeepCopy() *NetworkNeighborhood

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

func (*NetworkNeighborhood) DeepCopyInto

func (in *NetworkNeighborhood) DeepCopyInto(out *NetworkNeighborhood)

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

func (*NetworkNeighborhood) DeepCopyObject

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

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

type NetworkNeighborhoodContainer

type NetworkNeighborhoodContainer struct {
	Name    string
	Ingress []NetworkNeighbor
	Egress  []NetworkNeighbor
}

func (*NetworkNeighborhoodContainer) DeepCopy

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

func (*NetworkNeighborhoodContainer) DeepCopyInto

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

type NetworkNeighborhoodList

type NetworkNeighborhoodList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []NetworkNeighborhood
}

NetworkNeighborhoodList is a list of NetworkNeighborhoods.

func (*NetworkNeighborhoodList) DeepCopy

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

func (*NetworkNeighborhoodList) DeepCopyInto

func (in *NetworkNeighborhoodList) DeepCopyInto(out *NetworkNeighborhoodList)

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

func (*NetworkNeighborhoodList) DeepCopyObject

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

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

type NetworkNeighborhoodSpec

type NetworkNeighborhoodSpec struct {
	metav1.LabelSelector // The labels which are inside spec.selector in the parent workload.
	Containers           []NetworkNeighborhoodContainer
	InitContainers       []NetworkNeighborhoodContainer
	EphemeralContainers  []NetworkNeighborhoodContainer
}

func (*NetworkNeighborhoodSpec) DeepCopy

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

func (*NetworkNeighborhoodSpec) DeepCopyInto

func (in *NetworkNeighborhoodSpec) DeepCopyInto(out *NetworkNeighborhoodSpec)

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

type NetworkNeighbors

type NetworkNeighbors struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec NetworkNeighborsSpec
}

NetworkNeighbors represents a list of network communications for a specific workload. DEPRECATED - use NetworkNeighborhood instead.

func (*NetworkNeighbors) DeepCopy

func (in *NetworkNeighbors) DeepCopy() *NetworkNeighbors

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

func (*NetworkNeighbors) DeepCopyInto

func (in *NetworkNeighbors) DeepCopyInto(out *NetworkNeighbors)

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

func (*NetworkNeighbors) DeepCopyObject

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

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

type NetworkNeighborsList

type NetworkNeighborsList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []NetworkNeighbors
}

NetworkNeighborsList is a list of NetworkNeighbors. DEPRECATED - use NetworkNeighborhoodList instead.

func (*NetworkNeighborsList) DeepCopy

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

func (*NetworkNeighborsList) DeepCopyInto

func (in *NetworkNeighborsList) DeepCopyInto(out *NetworkNeighborsList)

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

func (*NetworkNeighborsList) DeepCopyObject

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

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

type NetworkNeighborsSpec

type NetworkNeighborsSpec struct {
	metav1.LabelSelector // The labels which are inside spec.selector in the parent workload.
	Ingress              []NetworkNeighbor
	Egress               []NetworkNeighbor
}

func (*NetworkNeighborsSpec) DeepCopy

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

func (*NetworkNeighborsSpec) DeepCopyInto

func (in *NetworkNeighborsSpec) DeepCopyInto(out *NetworkNeighborsSpec)

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

type NetworkPolicy

type NetworkPolicy struct {
	Kind       string
	APIVersion string

	metav1.ObjectMeta

	Spec NetworkPolicySpec
}

NetworkPolicy describes what network traffic is allowed for a set of Pods

func (*NetworkPolicy) DeepCopy

func (in *NetworkPolicy) DeepCopy() *NetworkPolicy

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

func (*NetworkPolicy) DeepCopyInto

func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy)

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

type NetworkPolicyConditionReason

type NetworkPolicyConditionReason string

NetworkPolicyConditionReason defines the set of reasons that explain why a particular NetworkPolicy condition type has been raised.

const (
	// NetworkPolicyConditionReasonFeatureNotSupported represents a reason where the Network Policy may not have been
	// implemented in the cluster due to a lack of some feature not supported by the Network Policy provider
	NetworkPolicyConditionReasonFeatureNotSupported NetworkPolicyConditionReason = "FeatureNotSupported"
)

type NetworkPolicyConditionType

type NetworkPolicyConditionType string

NetworkPolicyConditionType is the type for status conditions on a NetworkPolicy. This type should be used with the NetworkPolicyStatus.Conditions field.

const (
	// NetworkPolicyConditionStatusAccepted represents status of a Network Policy that could be properly parsed by
	// the Network Policy provider and will be implemented in the cluster
	NetworkPolicyConditionStatusAccepted NetworkPolicyConditionType = "Accepted"

	// NetworkPolicyConditionStatusPartialFailure represents status of a Network Policy that could be partially
	// parsed by the Network Policy provider and may not be completely implemented due to a lack of a feature or some
	// other condition
	NetworkPolicyConditionStatusPartialFailure NetworkPolicyConditionType = "PartialFailure"

	// NetworkPolicyConditionStatusFailure represents status of a Network Policy that could not be parsed by the
	// Network Policy provider and will not be implemented in the cluster
	NetworkPolicyConditionStatusFailure NetworkPolicyConditionType = "Failure"
)

type NetworkPolicyEgressRule

type NetworkPolicyEgressRule struct {
	Ports []NetworkPolicyPort

	To []NetworkPolicyPeer
}

NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8

func (*NetworkPolicyEgressRule) DeepCopy

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

func (*NetworkPolicyEgressRule) DeepCopyInto

func (in *NetworkPolicyEgressRule) DeepCopyInto(out *NetworkPolicyEgressRule)

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

type NetworkPolicyIngressRule

type NetworkPolicyIngressRule struct {
	Ports []NetworkPolicyPort

	From []NetworkPolicyPeer
}

NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.

func (*NetworkPolicyIngressRule) DeepCopy

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

func (*NetworkPolicyIngressRule) DeepCopyInto

func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule)

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

type NetworkPolicyList

type NetworkPolicyList struct {
	metav1.TypeMeta

	metav1.ListMeta

	// items is a list of schema objects.
	Items []NetworkPolicy
}

NetworkPolicyList is a list of NetworkPolicy objects.

func (*NetworkPolicyList) DeepCopy

func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList

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

func (*NetworkPolicyList) DeepCopyInto

func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList)

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

type NetworkPolicyPeer

type NetworkPolicyPeer struct {
	PodSelector *metav1.LabelSelector

	NamespaceSelector *metav1.LabelSelector

	IPBlock *IPBlock
}

NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed

func (*NetworkPolicyPeer) DeepCopy

func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer

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

func (*NetworkPolicyPeer) DeepCopyInto

func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer)

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

type NetworkPolicyPort

type NetworkPolicyPort struct {
	Protocol *v1.Protocol

	Port *int32

	EndPort *int32
}

NetworkPolicyPort describes a port to allow traffic on

func (*NetworkPolicyPort) DeepCopy

func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort

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

func (*NetworkPolicyPort) DeepCopyInto

func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort)

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

type NetworkPolicySpec

type NetworkPolicySpec struct {
	PodSelector metav1.LabelSelector
	Ingress     []NetworkPolicyIngressRule

	Egress []NetworkPolicyEgressRule

	PolicyTypes []PolicyType
}

NetworkPolicySpec provides the specification of a NetworkPolicy

func (*NetworkPolicySpec) DeepCopy

func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec

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

func (*NetworkPolicySpec) DeepCopyInto

func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec)

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

type NetworkPolicyStatus

type NetworkPolicyStatus struct {

	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition
}

NetworkPolicyStatus describes the current state of the NetworkPolicy.

func (*NetworkPolicyStatus) DeepCopy

func (in *NetworkPolicyStatus) DeepCopy() *NetworkPolicyStatus

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

func (*NetworkPolicyStatus) DeepCopyInto

func (in *NetworkPolicyStatus) DeepCopyInto(out *NetworkPolicyStatus)

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

type NetworkPort

type NetworkPort struct {
	// Name is an artificial identifier of the network port. We use it for merging keys with Strategic Merge Patch.
	// Format is `{protocol}-{port}`.
	//
	// Example: tcp-6881
	Name     string // protocol-port
	Protocol Protocol
	Port     *int32
}

func (*NetworkPort) DeepCopy

func (in *NetworkPort) DeepCopy() *NetworkPort

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

func (*NetworkPort) DeepCopyInto

func (in *NetworkPort) DeepCopyInto(out *NetworkPort)

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

func (NetworkPort) String

func (p NetworkPort) String() string

type OpenCalls

type OpenCalls struct {
	Path  string
	Flags []string
}

func (*OpenCalls) DeepCopy

func (in *OpenCalls) DeepCopy() *OpenCalls

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

func (*OpenCalls) DeepCopyInto

func (in *OpenCalls) DeepCopyInto(out *OpenCalls)

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

func (OpenCalls) String

func (e OpenCalls) String() string

type OpenVulnerabilityExchangeContainer

type OpenVulnerabilityExchangeContainer struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec VEX
}

func (*OpenVulnerabilityExchangeContainer) DeepCopy

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

func (*OpenVulnerabilityExchangeContainer) DeepCopyInto

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

func (*OpenVulnerabilityExchangeContainer) DeepCopyObject

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

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

type OpenVulnerabilityExchangeContainerList

type OpenVulnerabilityExchangeContainerList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []OpenVulnerabilityExchangeContainer
}

func (*OpenVulnerabilityExchangeContainerList) DeepCopy

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

func (*OpenVulnerabilityExchangeContainerList) DeepCopyInto

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

func (*OpenVulnerabilityExchangeContainerList) DeepCopyObject

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

type PackageBasicData

type PackageBasicData struct {
	ID        string
	Name      string
	Version   string
	Type      string
	FoundBy   string
	Locations []Location
	Licenses  Licenses
	Language  string
	CPEs      CPEs
	PURL      string
}

PackageBasicData contains non-ambiguous values (type-wise) from pkg.SyftPackage.

func PackageBasicDataFromV01011

func PackageBasicDataFromV01011(in PackageBasicDataV01011) PackageBasicData

func (*PackageBasicData) DeepCopy

func (in *PackageBasicData) DeepCopy() *PackageBasicData

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

func (*PackageBasicData) DeepCopyInto

func (in *PackageBasicData) DeepCopyInto(out *PackageBasicData)

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

type PackageBasicDataV01011

type PackageBasicDataV01011 struct {
	ID        string
	Name      string
	Version   string
	Type      string
	FoundBy   string
	Locations []Location
	Licenses  Licenses
	Language  string
	CPEs      []string
	PURL      string
}

PackageBasicDataV01011 is the previous version of PackageBasicData used in schema v0.101.1.

func (*PackageBasicDataV01011) DeepCopy

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

func (*PackageBasicDataV01011) DeepCopyInto

func (in *PackageBasicDataV01011) DeepCopyInto(out *PackageBasicDataV01011)

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

type PackageCustomData

type PackageCustomData struct {
	MetadataType string
	Metadata     json.RawMessage
}

PackageCustomData contains ambiguous values (type-wise) from pkg.SyftPackage.

func (*PackageCustomData) DeepCopy

func (in *PackageCustomData) DeepCopy() *PackageCustomData

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

func (*PackageCustomData) DeepCopyInto

func (in *PackageCustomData) DeepCopyInto(out *PackageCustomData)

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

type PathType

type PathType string

PathType represents the type of path referred to by a HTTPIngressPath. +enum

type PolicyRef

type PolicyRef struct {
	IPBlock    string
	OriginalIP string
	DNS        string
	Name       string
	Server     string
}

func (*PolicyRef) DeepCopy

func (in *PolicyRef) DeepCopy() *PolicyRef

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

func (*PolicyRef) DeepCopyInto

func (in *PolicyRef) DeepCopyInto(out *PolicyRef)

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

type PolicyType

type PolicyType string

PolicyType string describes the NetworkPolicy type This type is beta-level in 1.8 +enum

const (
	// PolicyTypeIngress is a NetworkPolicy that affects ingress traffic on selected pods
	PolicyTypeIngress PolicyType = "Ingress"
	// PolicyTypeEgress is a NetworkPolicy that affects egress traffic on selected pods
	PolicyTypeEgress PolicyType = "Egress"
)

type Product

type Product struct {
	Component
	Subcomponents []Subcomponent
}

func (*Product) DeepCopy

func (in *Product) DeepCopy() *Product

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

func (*Product) DeepCopyInto

func (in *Product) DeepCopyInto(out *Product)

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

type ProfileState

type ProfileState string

type Protocol

type Protocol string

type RelocationReadOnly

type RelocationReadOnly string

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 RulePath

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

func (*RulePath) DeepCopy

func (in *RulePath) DeepCopy() *RulePath

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

func (*RulePath) DeepCopyInto

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

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

type RulePolicy

type RulePolicy struct {
	AllowedProcesses []string
	AllowedContainer bool
}

func (*RulePolicy) DeepCopy

func (in *RulePolicy) DeepCopy() *RulePolicy

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

func (*RulePolicy) DeepCopyInto

func (in *RulePolicy) DeepCopyInto(out *RulePolicy)

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

type RuleStatus

type RuleStatus struct {
	Status    string
	SubStatus string
}

func (*RuleStatus) DeepCopy

func (in *RuleStatus) DeepCopy() *RuleStatus

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

func (*RuleStatus) DeepCopyInto

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

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

type SBOMSyft

type SBOMSyft struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   SBOMSyftSpec
	Status SBOMSyftStatus
}

SBOMSyft is a custom resource that describes an SBOM in the Syft format.

func (*SBOMSyft) DeepCopy

func (in *SBOMSyft) DeepCopy() *SBOMSyft

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

func (*SBOMSyft) DeepCopyInto

func (in *SBOMSyft) DeepCopyInto(out *SBOMSyft)

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

func (*SBOMSyft) DeepCopyObject

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

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

type SBOMSyftFiltered

type SBOMSyftFiltered struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   SBOMSyftSpec
	Status SBOMSyftStatus
}

SBOMSyftFiltered is a custom resource that describes a filtered SBOM in the Syft format.

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

func (*SBOMSyftFiltered) DeepCopy

func (in *SBOMSyftFiltered) DeepCopy() *SBOMSyftFiltered

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

func (*SBOMSyftFiltered) DeepCopyInto

func (in *SBOMSyftFiltered) DeepCopyInto(out *SBOMSyftFiltered)

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

func (*SBOMSyftFiltered) DeepCopyObject

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

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

type SBOMSyftFilteredList

type SBOMSyftFilteredList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []SBOMSyftFiltered
}

SBOMSyftFilteredList is a list of SBOMSyftFiltered objects.

func (*SBOMSyftFilteredList) DeepCopy

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

func (*SBOMSyftFilteredList) DeepCopyInto

func (in *SBOMSyftFilteredList) DeepCopyInto(out *SBOMSyftFilteredList)

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

func (*SBOMSyftFilteredList) DeepCopyObject

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

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

type SBOMSyftList

type SBOMSyftList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []SBOMSyft
}

SBOMSyftList is a list of SBOMSyft objects.

func (*SBOMSyftList) DeepCopy

func (in *SBOMSyftList) DeepCopy() *SBOMSyftList

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

func (*SBOMSyftList) DeepCopyInto

func (in *SBOMSyftList) DeepCopyInto(out *SBOMSyftList)

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

func (*SBOMSyftList) DeepCopyObject

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

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

type SBOMSyftSpec

type SBOMSyftSpec struct {
	Metadata SPDXMeta
	Syft     SyftDocument
}

SBOMSyftSpec is the specification of a Syft SBOM

func (*SBOMSyftSpec) DeepCopy

func (in *SBOMSyftSpec) DeepCopy() *SBOMSyftSpec

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

func (*SBOMSyftSpec) DeepCopyInto

func (in *SBOMSyftSpec) DeepCopyInto(out *SBOMSyftSpec)

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

type SBOMSyftStatus

type SBOMSyftStatus struct {
}

SBOMSyftStatus is the status of a Syft SBOM.

func (*SBOMSyftStatus) DeepCopy

func (in *SBOMSyftStatus) DeepCopy() *SBOMSyftStatus

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

func (*SBOMSyftStatus) DeepCopyInto

func (in *SBOMSyftStatus) DeepCopyInto(out *SBOMSyftStatus)

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

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

func (*ScannedControl) DeepCopy

func (in *ScannedControl) DeepCopy() *ScannedControl

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

func (*ScannedControl) DeepCopyInto

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

type ScannedControlRule struct {
	Name                  string
	Status                RuleStatus
	ControlConfigurations map[string]json.RawMessage
	Paths                 []RulePath
	AppliedIgnoreRules    []string
	RelatedResourcesIDs   []string
}

func (*ScannedControlRule) DeepCopy

func (in *ScannedControlRule) DeepCopy() *ScannedControlRule

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

func (*ScannedControlRule) DeepCopyInto

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

type ScannedControlStatus struct {
	Status    string
	SubStatus string
	Info      string
}

func (*ScannedControlStatus) DeepCopy

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

func (*ScannedControlStatus) DeepCopyInto

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

type ScannedControlSummary struct {
	ControlID string
	Severity  ControlSeverity
	Status    ScannedControlStatus
}

func (*ScannedControlSummary) DeepCopy

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

func (*ScannedControlSummary) DeepCopyInto

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

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

type Schema

type Schema struct {
	Version string
	URL     string
}

func (*Schema) DeepCopy

func (in *Schema) DeepCopy() *Schema

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

func (*Schema) DeepCopyInto

func (in *Schema) DeepCopyInto(out *Schema)

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

type SeccompProfile

type SeccompProfile struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   SeccompProfileSpec
	Status SeccompProfileStatus
}

func (*SeccompProfile) DeepCopy

func (in *SeccompProfile) DeepCopy() *SeccompProfile

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

func (*SeccompProfile) DeepCopyInto

func (in *SeccompProfile) DeepCopyInto(out *SeccompProfile)

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

func (*SeccompProfile) DeepCopyObject

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

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

type SeccompProfileList

type SeccompProfileList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []SeccompProfile
}

func (*SeccompProfileList) DeepCopy

func (in *SeccompProfileList) DeepCopy() *SeccompProfileList

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

func (*SeccompProfileList) DeepCopyInto

func (in *SeccompProfileList) DeepCopyInto(out *SeccompProfileList)

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

func (*SeccompProfileList) DeepCopyObject

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

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

type SeccompProfileSpec

type SeccompProfileSpec struct {
	Containers          []SingleSeccompProfile
	InitContainers      []SingleSeccompProfile
	EphemeralContainers []SingleSeccompProfile
}

func (*SeccompProfileSpec) DeepCopy

func (in *SeccompProfileSpec) DeepCopy() *SeccompProfileSpec

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

func (*SeccompProfileSpec) DeepCopyInto

func (in *SeccompProfileSpec) DeepCopyInto(out *SeccompProfileSpec)

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

type SeccompProfileStatus

type SeccompProfileStatus struct {
	Containers map[string]SingleSeccompProfileStatus
}

func (*SeccompProfileStatus) DeepCopy

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

func (*SeccompProfileStatus) DeepCopyInto

func (in *SeccompProfileStatus) DeepCopyInto(out *SeccompProfileStatus)

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

type ServiceBackendPort

type ServiceBackendPort struct {
	Name string

	Number int32
}

ServiceBackendPort is the service port being referenced.

func (*ServiceBackendPort) DeepCopy

func (in *ServiceBackendPort) DeepCopy() *ServiceBackendPort

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

func (*ServiceBackendPort) DeepCopyInto

func (in *ServiceBackendPort) DeepCopyInto(out *ServiceBackendPort)

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

type SeveritySummary

SeveritySummary is a summary of all vulnerabilities included in vulnerability manifest

func (*SeveritySummary) Add

func (s *SeveritySummary) Add(severities *SeveritySummary)

func (*SeveritySummary) DeepCopy

func (in *SeveritySummary) DeepCopy() *SeveritySummary

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

func (*SeveritySummary) DeepCopyInto

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

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

type SingleSeccompProfile

type SingleSeccompProfile struct {
	Name string
	Path string
	Spec SingleSeccompProfileSpec
}

func (*SingleSeccompProfile) DeepCopy

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

func (*SingleSeccompProfile) DeepCopyInto

func (in *SingleSeccompProfile) DeepCopyInto(out *SingleSeccompProfile)

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

type SingleSeccompProfileSpec

type SingleSeccompProfileSpec struct {
	// Common spec fields for all profiles.
	SpecBase

	// BaseProfileName is the name of base profile (in the same namespace) that
	// will be unioned into this profile. Base profiles can be references as
	// remote OCI artifacts as well when prefixed with `oci://`.
	BaseProfileName string

	// the default action for seccomp
	DefaultAction seccomp.Action
	// the architecture used for system calls
	Architectures []Arch
	// path of UNIX domain socket to contact a seccomp agent for SCMP_ACT_NOTIFY
	ListenerPath string
	// opaque data to pass to the seccomp agent
	ListenerMetadata string
	// match a syscall in seccomp. While this property is OPTIONAL, some values
	// of defaultAction are not useful without syscalls entries. For example,
	// if defaultAction is SCMP_ACT_KILL and syscalls is empty or unset, the
	// kernel will kill the container process on its first syscall
	Syscalls []*Syscall

	// list of flags to use with seccomp(2)
	Flags []Flag
}

func (*SingleSeccompProfileSpec) DeepCopy

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

func (*SingleSeccompProfileSpec) DeepCopyInto

func (in *SingleSeccompProfileSpec) DeepCopyInto(out *SingleSeccompProfileSpec)

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

type SingleSeccompProfileStatus

type SingleSeccompProfileStatus struct {
	StatusBase
	Path            string
	ActiveWorkloads []string
	// The path that should be provided to the `securityContext.seccompProfile.localhostProfile`
	// field of a Pod or container spec
	LocalhostProfile string
}

func (*SingleSeccompProfileStatus) DeepCopy

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

func (*SingleSeccompProfileStatus) DeepCopyInto

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 SpecBase

type SpecBase struct {
	Disabled bool
}

func (*SpecBase) DeepCopy

func (in *SpecBase) DeepCopy() *SpecBase

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

func (*SpecBase) DeepCopyInto

func (in *SpecBase) DeepCopyInto(out *SpecBase)

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

type StackFrame

type StackFrame struct {
	FileID string
	Lineno string
}

func (*StackFrame) DeepCopy

func (in *StackFrame) DeepCopy() *StackFrame

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

func (*StackFrame) DeepCopyInto

func (in *StackFrame) DeepCopyInto(out *StackFrame)

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

type Statement

type Statement struct {
	// ID is an optional identifier for the statement. It takes an IRI and must
	// be unique for each statement in the document.
	ID string

	// [vul_id] SHOULD use existing and well known identifiers, for example:
	// CVE, the Global Security Database (GSD), or a supplier’s vulnerability
	// tracking system. It is expected that vulnerability identification systems
	// are external to and maintained separately from VEX.
	//
	// [vul_id] MAY be URIs or URLs.
	// [vul_id] MAY be arbitrary and MAY be created by the VEX statement [author].
	Vulnerability VexVulnerability

	// Timestamp is the time at which the information expressed in the Statement
	// was known to be true.
	Timestamp string

	// LastUpdated records the time when the statement last had a modification
	LastUpdated string

	// Product
	// Product details MUST specify what Status applies to.
	// Product details MUST include [product_id] and MAY include [subcomponent_id].
	Products []Product

	// A VEX statement MUST provide Status of the vulnerabilities with respect to the
	// products and components listed in the statement. Status MUST be one of the
	// Status const values, some of which have further options and requirements.
	Status Status

	// [status_notes] MAY convey information about how [status] was determined
	// and MAY reference other VEX information.
	StatusNotes string

	// For ”not_affected” status, a VEX statement MUST include a status Justification
	// that further explains the status.
	Justification Justification

	// For ”not_affected” status, a VEX statement MAY include an ImpactStatement
	// that contains a description why the vulnerability cannot be exploited.
	ImpactStatement string

	// For "affected" status, a VEX statement MUST include an ActionStatement that
	// SHOULD describe actions to remediate or mitigate [vul_id].
	ActionStatement          string
	ActionStatementTimestamp string
}

func (*Statement) DeepCopy

func (in *Statement) DeepCopy() *Statement

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

func (*Statement) DeepCopyInto

func (in *Statement) DeepCopyInto(out *Statement)

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

type Status

type Status string

type StatusBase

type StatusBase struct {
	ConditionedStatus
	Status ProfileState
}

func (*StatusBase) DeepCopy

func (in *StatusBase) DeepCopy() *StatusBase

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

func (*StatusBase) DeepCopyInto

func (in *StatusBase) DeepCopyInto(out *StatusBase)

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

type Subcomponent

type Subcomponent struct {
	Component
}

func (*Subcomponent) DeepCopy

func (in *Subcomponent) DeepCopy() *Subcomponent

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

func (*Subcomponent) DeepCopyInto

func (in *Subcomponent) DeepCopyInto(out *Subcomponent)

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

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 SyftDescriptor

type SyftDescriptor struct {
	Name          string
	Version       string
	Configuration json.RawMessage
}

SyftDescriptor describes what created the document as well as surrounding metadata

func (*SyftDescriptor) DeepCopy

func (in *SyftDescriptor) DeepCopy() *SyftDescriptor

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

func (*SyftDescriptor) DeepCopyInto

func (in *SyftDescriptor) DeepCopyInto(out *SyftDescriptor)

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

type SyftDocument

type SyftDocument struct {
	Artifacts             []SyftPackage // Artifacts is the list of packages discovered and placed into the catalog
	ArtifactRelationships []SyftRelationship
	Files                 []SyftFile     // note: must have omitempty
	SyftSource            SyftSource     // SyftSource represents the original object that was cataloged
	Distro                LinuxRelease   // Distro represents the Linux distribution that was detected from the source
	SyftDescriptor        SyftDescriptor // SyftDescriptor is a block containing self-describing information about syft
	Schema                Schema         // Schema is a block reserved for defining the version for the shape of this JSON document and where to find the schema document to validate the shape
}

SyftDocument represents the syft cataloging findings as a JSON document

func (*SyftDocument) DeepCopy

func (in *SyftDocument) DeepCopy() *SyftDocument

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

func (*SyftDocument) DeepCopyInto

func (in *SyftDocument) DeepCopyInto(out *SyftDocument)

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

type SyftFile

type SyftFile struct {
	ID         string
	Location   Coordinates
	Metadata   *FileMetadataEntry
	Contents   string
	Digests    []Digest
	Licenses   []FileLicense
	Executable *Executable
}

func (*SyftFile) DeepCopy

func (in *SyftFile) DeepCopy() *SyftFile

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

func (*SyftFile) DeepCopyInto

func (in *SyftFile) DeepCopyInto(out *SyftFile)

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

type SyftLanguage

type SyftLanguage string

type SyftPackage

type SyftPackage struct {
	PackageBasicData
	PackageCustomData
}

SyftPackage represents a pkg.SyftPackage object specialized for JSON marshaling and unmarshalling.

func (*SyftPackage) DeepCopy

func (in *SyftPackage) DeepCopy() *SyftPackage

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

func (*SyftPackage) DeepCopyInto

func (in *SyftPackage) DeepCopyInto(out *SyftPackage)

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

func (*SyftPackage) UnmarshalJSON

func (p *SyftPackage) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaller for handling basic values and values with ambiguous types.

type SyftRelationship

type SyftRelationship struct {
	Parent   string
	Child    string
	Type     string
	Metadata json.RawMessage
}

func (*SyftRelationship) DeepCopy

func (in *SyftRelationship) DeepCopy() *SyftRelationship

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

func (*SyftRelationship) DeepCopyInto

func (in *SyftRelationship) DeepCopyInto(out *SyftRelationship)

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

type SyftSource

type SyftSource struct {
	ID       string
	Name     string
	Version  string
	Type     string
	Metadata json.RawMessage
}

SyftSource object represents the thing that was cataloged

func (*SyftSource) DeepCopy

func (in *SyftSource) DeepCopy() *SyftSource

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

func (*SyftSource) DeepCopyInto

func (in *SyftSource) DeepCopyInto(out *SyftSource)

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

func (*SyftSource) UnmarshalJSON

func (s *SyftSource) UnmarshalJSON(b []byte) error

UnmarshalJSON populates a source object from JSON bytes.

type SyftType

type SyftType string

type Syscall

type Syscall struct {
	// the names of the syscalls
	Names []string
	// the action for seccomp rules
	Action seccomp.Action
	// the errno return code to use. Some actions like SCMP_ACT_ERRNO and
	// SCMP_ACT_TRACE allow to specify the errno code to return
	ErrnoRet uint64
	// the specific syscall in seccomp
	Args []*Arg
}

Syscall defines a syscall in seccomp.

func (*Syscall) DeepCopy

func (in *Syscall) DeepCopy() *Syscall

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

func (*Syscall) DeepCopyInto

func (in *Syscall) DeepCopyInto(out *Syscall)

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

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 Type

type Type int64

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 VEX

type VEX struct {
	Metadata
	Statements []Statement
}

func (*VEX) DeepCopy

func (in *VEX) DeepCopy() *VEX

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

func (*VEX) DeepCopyInto

func (in *VEX) DeepCopyInto(out *VEX)

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

type VexVulnerability

type VexVulnerability struct {
	//  ID is an IRI to reference the vulnerability in the statement.
	ID string

	// Name is the main vulnerability identifier.
	Name string

	// Description is a short free form text description of the vulnerability.
	Description string

	// Aliases is a list of other vulnerability identifier strings that
	// locate the vulnerability in other tracking systems.
	Aliases []string
}

func (*VexVulnerability) DeepCopy

func (in *VexVulnerability) DeepCopy() *VexVulnerability

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

func (*VexVulnerability) DeepCopyInto

func (in *VexVulnerability) DeepCopyInto(out *VexVulnerability)

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

type VulnerabilitiesComponents

type VulnerabilitiesComponents struct {
	ImageVulnerabilitiesObj    VulnerabilitiesObjScope
	WorkloadVulnerabilitiesObj VulnerabilitiesObjScope
}

func (*VulnerabilitiesComponents) DeepCopy

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

func (*VulnerabilitiesComponents) DeepCopyInto

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

type VulnerabilitiesObjScope

type VulnerabilitiesObjScope struct {
	Namespace string
	Name      string
	Kind      string
}

func (*VulnerabilitiesObjScope) DeepCopy

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

func (*VulnerabilitiesObjScope) DeepCopyInto

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

type VulnerabilityCounters struct {
	All      int64
	Relevant int64
}

VulnerabilityCounters describes a counter of vulnerabilities.

Intended to store relevant and total vulnerabilities in the future.

func (*VulnerabilityCounters) Add

func (c *VulnerabilityCounters) Add(counters *VulnerabilityCounters)

func (*VulnerabilityCounters) DeepCopy

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

func (*VulnerabilityCounters) DeepCopyInto

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

type VulnerabilityManifestSummary struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   VulnerabilityManifestSummarySpec
	Status VulnerabilityManifestStatus
}

VulnerabilityManifestSummary is a summary of a VulnerabilityManifest.

func (*VulnerabilityManifestSummary) DeepCopy

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

func (*VulnerabilityManifestSummary) DeepCopyInto

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

func (*VulnerabilityManifestSummary) DeepCopyObject

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

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

type VulnerabilityManifestSummaryList

type VulnerabilityManifestSummaryList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []VulnerabilityManifestSummary
}

VulnerabilityManifestSummaryList is a list of VulnerabilityManifest summaries.

func (*VulnerabilityManifestSummaryList) DeepCopy

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

func (*VulnerabilityManifestSummaryList) DeepCopyInto

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

func (*VulnerabilityManifestSummaryList) DeepCopyObject

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

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

type VulnerabilityManifestSummarySpec

type VulnerabilityManifestSummarySpec struct {
	Severities      SeveritySummary
	Vulnerabilities VulnerabilitiesComponents
}

func (*VulnerabilityManifestSummarySpec) DeepCopy

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

func (*VulnerabilityManifestSummarySpec) DeepCopyInto

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 VulnerabilitySummary

type VulnerabilitySummary struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   VulnerabilitySummarySpec
	Status VulnerabilitySummaryStatus
}

VulnerabilitySummary is a summary of a vulnerabilities for a given scope.

func (*VulnerabilitySummary) DeepCopy

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

func (*VulnerabilitySummary) DeepCopyInto

func (in *VulnerabilitySummary) DeepCopyInto(out *VulnerabilitySummary)

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

func (*VulnerabilitySummary) DeepCopyObject

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

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

func (*VulnerabilitySummary) Merge

func (v *VulnerabilitySummary) Merge(vulnManifestSumm *VulnerabilityManifestSummary)

type VulnerabilitySummaryList

type VulnerabilitySummaryList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []VulnerabilitySummary
}

VulnerabilitySummaryList is a list of VulnerabilitySummaries.

func (*VulnerabilitySummaryList) DeepCopy

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

func (*VulnerabilitySummaryList) DeepCopyInto

func (in *VulnerabilitySummaryList) DeepCopyInto(out *VulnerabilitySummaryList)

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

func (*VulnerabilitySummaryList) DeepCopyObject

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

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

type VulnerabilitySummarySpec

type VulnerabilitySummarySpec struct {
	Severities                 SeveritySummary
	WorkloadVulnerabilitiesObj []VulnerabilitiesObjScope
}

func (*VulnerabilitySummarySpec) DeepCopy

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

func (*VulnerabilitySummarySpec) DeepCopyInto

func (in *VulnerabilitySummarySpec) DeepCopyInto(out *VulnerabilitySummarySpec)

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

type VulnerabilitySummaryStatus

type VulnerabilitySummaryStatus struct {
}

func (*VulnerabilitySummaryStatus) DeepCopy

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

func (*VulnerabilitySummaryStatus) DeepCopyInto

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

type WorkloadConfigurationScan

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

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

func (*WorkloadConfigurationScan) DeepCopyInto

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

func (*WorkloadConfigurationScan) DeepCopyObject

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

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

type WorkloadConfigurationScanList

type WorkloadConfigurationScanList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []WorkloadConfigurationScan
}

WorkloadConfigurationScanList is a list of workload configuration scan results.

func (*WorkloadConfigurationScanList) DeepCopy

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

func (*WorkloadConfigurationScanList) DeepCopyInto

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

func (*WorkloadConfigurationScanList) DeepCopyObject

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

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

type WorkloadConfigurationScanSeveritiesSummary

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

func (*WorkloadConfigurationScanSeveritiesSummary) DeepCopy

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

func (*WorkloadConfigurationScanSeveritiesSummary) DeepCopyInto

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

type WorkloadConfigurationScanSpec

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

func (*WorkloadConfigurationScanSpec) DeepCopy

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

func (*WorkloadConfigurationScanSpec) DeepCopyInto

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

type WorkloadConfigurationScanSummary

type WorkloadConfigurationScanSummary struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec WorkloadConfigurationScanSummarySpec
}

WorkloadConfigurationScanSummary is a summary of a WorkloadConfigurationScan

func (*WorkloadConfigurationScanSummary) DeepCopy

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

func (*WorkloadConfigurationScanSummary) DeepCopyInto

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

func (*WorkloadConfigurationScanSummary) DeepCopyObject

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

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

type WorkloadConfigurationScanSummaryIdentifier

type WorkloadConfigurationScanSummaryIdentifier struct {
	Namespace string
	Kind      string
	Name      string
}

WorkloadConfigurationScanSummaryIdentifier includes information needed to identify a WorkloadConfigurationScanSummary object

func (*WorkloadConfigurationScanSummaryIdentifier) DeepCopy

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

func (*WorkloadConfigurationScanSummaryIdentifier) DeepCopyInto

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

type WorkloadConfigurationScanSummaryList

type WorkloadConfigurationScanSummaryList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []WorkloadConfigurationScanSummary
}

WorkloadConfigurationScanSummaryList is a list of WorkloadConfigurationScan summaries.

func (*WorkloadConfigurationScanSummaryList) DeepCopy

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

func (*WorkloadConfigurationScanSummaryList) DeepCopyInto

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

func (*WorkloadConfigurationScanSummaryList) DeepCopyObject

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

type WorkloadConfigurationScanSummarySpec

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

func (*WorkloadConfigurationScanSummarySpec) DeepCopy

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

func (*WorkloadConfigurationScanSummarySpec) DeepCopyInto

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

type WorkloadScanRelatedObject

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

func (*WorkloadScanRelatedObject) DeepCopy

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

func (*WorkloadScanRelatedObject) DeepCopyInto

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

Directories

Path Synopsis
v1
v2
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