softwarecomposition

package
v0.0.123 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 18 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 GroupName = "spdx.softwarecomposition.kubescape.io"

GroupName is the group name used in this package

Variables

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

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

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

func 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 added in v0.0.29

type Algorithm string

type ApplicationActivity added in v0.0.22

type ApplicationActivity struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   ApplicationActivitySpec
	Status ApplicationActivityStatus
}

func (*ApplicationActivity) DeepCopy added in v0.0.22

func (in *ApplicationActivity) DeepCopy() *ApplicationActivity

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

func (*ApplicationActivity) DeepCopyInto added in v0.0.22

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 added in v0.0.22

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

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

type ApplicationActivityList added in v0.0.22

type ApplicationActivityList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []ApplicationActivity
}

func (*ApplicationActivityList) DeepCopy added in v0.0.22

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

func (*ApplicationActivityList) DeepCopyInto added in v0.0.22

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 added in v0.0.22

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

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

type ApplicationActivitySpec added in v0.0.22

type ApplicationActivitySpec struct {
	Syscalls []string
}

func (*ApplicationActivitySpec) DeepCopy added in v0.0.22

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

func (*ApplicationActivitySpec) DeepCopyInto added in v0.0.22

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 added in v0.0.22

type ApplicationActivityStatus struct {
}

func (*ApplicationActivityStatus) DeepCopy added in v0.0.22

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

func (*ApplicationActivityStatus) DeepCopyInto added in v0.0.22

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

type ApplicationProfile added in v0.0.22

type ApplicationProfile struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   ApplicationProfileSpec
	Status ApplicationProfileStatus
}

func (*ApplicationProfile) DeepCopy added in v0.0.22

func (in *ApplicationProfile) DeepCopy() *ApplicationProfile

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

func (*ApplicationProfile) DeepCopyInto added in v0.0.22

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 added in v0.0.22

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

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

type ApplicationProfileContainer added in v0.0.37

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

func (*ApplicationProfileContainer) DeepCopy added in v0.0.37

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

func (*ApplicationProfileContainer) DeepCopyInto added in v0.0.37

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

type ApplicationProfileList added in v0.0.22

type ApplicationProfileList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []ApplicationProfile
}

func (*ApplicationProfileList) DeepCopy added in v0.0.22

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

func (*ApplicationProfileList) DeepCopyInto added in v0.0.22

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 added in v0.0.22

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

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

type ApplicationProfileSpec added in v0.0.22

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

func (*ApplicationProfileSpec) DeepCopy added in v0.0.22

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

func (*ApplicationProfileSpec) DeepCopyInto added in v0.0.22

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 added in v0.0.22

type ApplicationProfileStatus struct {
}

func (*ApplicationProfileStatus) DeepCopy added in v0.0.22

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

func (*ApplicationProfileStatus) DeepCopyInto added in v0.0.22

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 added in v0.0.89

type Arch string

type Arg added in v0.0.89

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 added in v0.0.89

func (in *Arg) DeepCopy() *Arg

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

func (*Arg) DeepCopyInto added in v0.0.89

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 added in v0.0.83

type CPE struct {
	Value  string
	Source string
}

func (*CPE) DeepCopy added in v0.0.83

func (in *CPE) DeepCopy() *CPE

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

func (*CPE) DeepCopyInto added in v0.0.83

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 added in v0.0.83

type CPEs []CPE

func (CPEs) DeepCopy added in v0.0.83

func (in CPEs) DeepCopy() CPEs

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

func (CPEs) DeepCopyInto added in v0.0.83

func (in CPEs) DeepCopyInto(out *CPEs)

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

type CommunicationType added in v0.0.33

type CommunicationType string

type Component added in v0.0.29

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 added in v0.0.29

func (in *Component) DeepCopy() *Component

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

func (*Component) DeepCopyInto added in v0.0.29

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 added in v0.0.89

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 added in v0.0.89

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto added in v0.0.89

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 added in v0.0.89

type ConditionReason string

type ConditionType added in v0.0.89

type ConditionType string

type ConditionedStatus added in v0.0.89

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

func (*ConditionedStatus) DeepCopy added in v0.0.89

func (in *ConditionedStatus) DeepCopy() *ConditionedStatus

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

func (*ConditionedStatus) DeepCopyInto added in v0.0.89

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 added in v0.0.18

type ConfigurationScanSummary struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec ConfigurationScanSummarySpec
}

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

func (*ConfigurationScanSummary) DeepCopy added in v0.0.18

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

func (*ConfigurationScanSummary) DeepCopyInto added in v0.0.18

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

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

func (*ConfigurationScanSummary) DeepCopyObject added in v0.0.18

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

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

type ConfigurationScanSummaryList added in v0.0.18

type ConfigurationScanSummaryList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []ConfigurationScanSummary
}

ConfigurationScanSummaryList is a list of ConfigurationScanSummary summaries.

func (*ConfigurationScanSummaryList) DeepCopy added in v0.0.18

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

func (*ConfigurationScanSummaryList) DeepCopyInto added in v0.0.18

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

func (*ConfigurationScanSummaryList) DeepCopyObject added in v0.0.18

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

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

type ConfigurationScanSummarySpec added in v0.0.18

type ConfigurationScanSummarySpec struct {
	Severities                                  WorkloadConfigurationScanSeveritiesSummary
	WorkloadConfigurationScanSummaryIdentifiers []WorkloadConfigurationScanSummaryIdentifier
}

func (*ConfigurationScanSummarySpec) DeepCopy added in v0.0.18

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

func (*ConfigurationScanSummarySpec) DeepCopyInto added in v0.0.18

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

type ControlSeverity added in v0.0.16

type ControlSeverity struct {
	Severity    string
	ScoreFactor float32
}

func (*ControlSeverity) DeepCopy added in v0.0.16

func (in *ControlSeverity) DeepCopy() *ControlSeverity

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

func (*ControlSeverity) DeepCopyInto added in v0.0.16

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

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

type Coordinates added in v0.0.42

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 added in v0.0.42

func (in *Coordinates) DeepCopy() *Coordinates

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

func (*Coordinates) DeepCopyInto added in v0.0.42

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 added in v0.0.42

type Digest struct {
	Algorithm string
	Value     string
}

func (*Digest) DeepCopy added in v0.0.42

func (in *Digest) DeepCopy() *Digest

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

func (*Digest) DeepCopyInto added in v0.0.42

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 added in v0.0.83

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 added in v0.0.83

func (in *ELFSecurityFeatures) DeepCopy() *ELFSecurityFeatures

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

func (*ELFSecurityFeatures) DeepCopyInto added in v0.0.83

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 added in v0.0.22

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

func (*ExecCalls) DeepCopy added in v0.0.22

func (in *ExecCalls) DeepCopy() *ExecCalls

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

func (*ExecCalls) DeepCopyInto added in v0.0.22

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 added in v0.0.66

func (e ExecCalls) String() string

type Executable added in v0.0.83

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

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

func (*Executable) DeepCopy added in v0.0.83

func (in *Executable) DeepCopy() *Executable

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

func (*Executable) DeepCopyInto added in v0.0.83

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 added in v0.0.83

type ExecutableFormat string

type FileLicense added in v0.0.42

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

func (*FileLicense) DeepCopy added in v0.0.42

func (in *FileLicense) DeepCopy() *FileLicense

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

func (*FileLicense) DeepCopyInto added in v0.0.42

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 added in v0.0.42

type FileLicenseEvidence struct {
	Confidence int64
	Offset     int64
	Extent     int64
}

func (*FileLicenseEvidence) DeepCopy added in v0.0.42

func (in *FileLicenseEvidence) DeepCopy() *FileLicenseEvidence

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

func (*FileLicenseEvidence) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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

func (*FileMetadataEntry) DeepCopy added in v0.0.42

func (in *FileMetadataEntry) DeepCopy() *FileMetadataEntry

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

func (*FileMetadataEntry) DeepCopyInto added in v0.0.42

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 added in v0.0.89

type Flag string

type GeneratedNetworkPolicy added in v0.0.33

type GeneratedNetworkPolicy struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec        NetworkPolicy
	PoliciesRef []PolicyRef
}

GeneratedNetworkPolicy represents a generated NetworkPolicy.

func (*GeneratedNetworkPolicy) DeepCopy added in v0.0.33

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

func (*GeneratedNetworkPolicy) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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

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

type GeneratedNetworkPolicyList added in v0.0.33

type GeneratedNetworkPolicyList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []GeneratedNetworkPolicy
}

GeneratedNetworkPolicyList is a list of GeneratedNetworkPolicies.

func (*GeneratedNetworkPolicyList) DeepCopy added in v0.0.33

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

func (*GeneratedNetworkPolicyList) DeepCopyInto added in v0.0.33

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

func (*GeneratedNetworkPolicyList) DeepCopyObject added in v0.0.33

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 added in v0.0.117

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

func (*HTTPEndpoint) DeepCopy added in v0.0.117

func (in *HTTPEndpoint) DeepCopy() *HTTPEndpoint

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

func (*HTTPEndpoint) DeepCopyInto added in v0.0.117

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 added in v0.0.117

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

func (*HTTPEndpoint) GetHeaders added in v0.0.117

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

func (HTTPEndpoint) String added in v0.0.117

func (e HTTPEndpoint) String() string

type HTTPIngressPath added in v0.0.33

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 added in v0.0.33

func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath

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

func (*HTTPIngressPath) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

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

func (*HTTPIngressRuleValue) DeepCopyInto added in v0.0.33

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 added in v0.0.29

type Hash string

type IDLikes added in v0.0.42

type IDLikes []string

func (IDLikes) DeepCopy added in v0.0.42

func (in IDLikes) DeepCopy() IDLikes

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

func (IDLikes) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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

type IPBlock added in v0.0.33

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 added in v0.0.33

func (in *IPBlock) DeepCopy() *IPBlock

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

func (*IPBlock) DeepCopyInto added in v0.0.33

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

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

type IdentifierLocator added in v0.0.29

type IdentifierLocator string

type IdentifierType added in v0.0.29

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 added in v0.0.33

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 added in v0.0.33

func (in *Ingress) DeepCopy() *Ingress

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

func (*Ingress) DeepCopyInto added in v0.0.33

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 added in v0.0.33

type IngressBackend struct {
	Service *IngressServiceBackend

	Resource *v1.TypedLocalObjectReference
}

IngressBackend describes all endpoints for a given service and port.

func (*IngressBackend) DeepCopy added in v0.0.33

func (in *IngressBackend) DeepCopy() *IngressBackend

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

func (*IngressBackend) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

func (in *IngressClass) DeepCopy() *IngressClass

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

func (*IngressClass) DeepCopyInto added in v0.0.33

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 added in v0.0.33

type IngressClassList struct {
	metav1.TypeMeta

	metav1.ListMeta

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

IngressClassList is a collection of IngressClasses.

func (*IngressClassList) DeepCopy added in v0.0.33

func (in *IngressClassList) DeepCopy() *IngressClassList

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

func (*IngressClassList) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

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

func (*IngressClassParametersReference) DeepCopyInto added in v0.0.33

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

type IngressClassSpec added in v0.0.33

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 added in v0.0.33

func (in *IngressClassSpec) DeepCopy() *IngressClassSpec

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

func (*IngressClassSpec) DeepCopyInto added in v0.0.33

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 added in v0.0.33

type IngressList struct {
	metav1.TypeMeta

	metav1.ListMeta

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

IngressList is a collection of Ingress.

func (*IngressList) DeepCopy added in v0.0.33

func (in *IngressList) DeepCopy() *IngressList

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

func (*IngressList) DeepCopyInto added in v0.0.33

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 added in v0.0.33

type IngressLoadBalancerIngress struct {
	IP string

	Hostname string

	Ports []IngressPortStatus
}

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

func (*IngressLoadBalancerIngress) DeepCopy added in v0.0.33

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

func (*IngressLoadBalancerIngress) DeepCopyInto added in v0.0.33

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

type IngressLoadBalancerStatus added in v0.0.33

type IngressLoadBalancerStatus struct {
	Ingress []IngressLoadBalancerIngress
}

IngressLoadBalancerStatus represents the status of a load-balancer.

func (*IngressLoadBalancerStatus) DeepCopy added in v0.0.33

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

func (*IngressLoadBalancerStatus) DeepCopyInto added in v0.0.33

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

type IngressPortStatus added in v0.0.33

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 added in v0.0.33

func (in *IngressPortStatus) DeepCopy() *IngressPortStatus

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

func (*IngressPortStatus) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

func (in *IngressRule) DeepCopy() *IngressRule

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

func (*IngressRule) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

func (in *IngressRuleValue) DeepCopy() *IngressRuleValue

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

func (*IngressRuleValue) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

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

func (*IngressServiceBackend) DeepCopyInto added in v0.0.33

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 added in v0.0.33

type IngressSpec struct {
	IngressClassName *string

	DefaultBackend *IngressBackend

	TLS []IngressTLS

	Rules []IngressRule
}

IngressSpec describes the Ingress the user wishes to exist.

func (*IngressSpec) DeepCopy added in v0.0.33

func (in *IngressSpec) DeepCopy() *IngressSpec

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

func (*IngressSpec) DeepCopyInto added in v0.0.33

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 added in v0.0.33

type IngressStatus struct {
	LoadBalancer IngressLoadBalancerStatus
}

IngressStatus describe the current state of the Ingress.

func (*IngressStatus) DeepCopy added in v0.0.33

func (in *IngressStatus) DeepCopy() *IngressStatus

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

func (*IngressStatus) DeepCopyInto added in v0.0.33

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 added in v0.0.33

type IngressTLS struct {
	Hosts []string

	SecretName string
}

IngressTLS describes the transport layer security associated with an ingress.

func (*IngressTLS) DeepCopy added in v0.0.33

func (in *IngressTLS) DeepCopy() *IngressTLS

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

func (*IngressTLS) DeepCopyInto added in v0.0.33

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 added in v0.0.29

type Justification string

type KnownServer added in v0.0.42

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 added in v0.0.42

func (in *KnownServer) DeepCopy() *KnownServer

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

func (*KnownServer) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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

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

type KnownServerEntry added in v0.0.42

type KnownServerEntry struct {
	IPBlock string
	Server  string
	Name    string
}

func (*KnownServerEntry) DeepCopy added in v0.0.42

func (in *KnownServerEntry) DeepCopy() *KnownServerEntry

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

func (*KnownServerEntry) DeepCopyInto added in v0.0.42

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 added in v0.0.42

type KnownServerList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []KnownServer
}

KnownServerList is a list of KnownServer.

func (*KnownServerList) DeepCopy added in v0.0.42

func (in *KnownServerList) DeepCopy() *KnownServerList

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

func (*KnownServerList) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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

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

type KnownServerSpec added in v0.0.42

type KnownServerSpec []KnownServerEntry

func (KnownServerSpec) DeepCopy added in v0.0.42

func (in KnownServerSpec) DeepCopy() KnownServerSpec

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

func (KnownServerSpec) DeepCopyInto added in v0.0.42

func (in KnownServerSpec) DeepCopyInto(out *KnownServerSpec)

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

type License added in v0.0.42

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

func (*License) DeepCopy added in v0.0.42

func (in *License) DeepCopy() *License

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

func (*License) DeepCopyInto added in v0.0.42

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 added in v0.0.42

type LicenseType string

type Licenses added in v0.0.42

type Licenses []License

func (Licenses) DeepCopy added in v0.0.42

func (in Licenses) DeepCopy() Licenses

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

func (Licenses) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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

type LinuxRelease added in v0.0.42

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 added in v0.0.42

func (in *LinuxRelease) DeepCopy() *LinuxRelease

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

func (*LinuxRelease) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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 added in v0.0.42

func (in *Location) DeepCopy() *Location

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

func (*Location) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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 added in v0.0.42

func (in *LocationData) DeepCopy() *LocationData

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

func (*LocationData) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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

func (*LocationMetadata) DeepCopy added in v0.0.42

func (in *LocationMetadata) DeepCopy() *LocationMetadata

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

func (*LocationMetadata) DeepCopyInto added in v0.0.42

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 added in v0.0.29

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 added in v0.0.29

func (in *Metadata) DeepCopy() *Metadata

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

func (*Metadata) DeepCopyInto added in v0.0.29

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 added in v0.0.33

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 added in v0.0.33

func (in *NetworkNeighbor) DeepCopy() *NetworkNeighbor

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

func (*NetworkNeighbor) DeepCopyInto added in v0.0.33

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 added in v0.0.81

type NetworkNeighborhood struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec NetworkNeighborhoodSpec
}

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

func (*NetworkNeighborhood) DeepCopy added in v0.0.81

func (in *NetworkNeighborhood) DeepCopy() *NetworkNeighborhood

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

func (*NetworkNeighborhood) DeepCopyInto added in v0.0.81

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 added in v0.0.81

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

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

type NetworkNeighborhoodContainer added in v0.0.81

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

func (*NetworkNeighborhoodContainer) DeepCopy added in v0.0.81

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

func (*NetworkNeighborhoodContainer) DeepCopyInto added in v0.0.81

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

type NetworkNeighborhoodList added in v0.0.81

type NetworkNeighborhoodList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []NetworkNeighborhood
}

NetworkNeighborhoodList is a list of NetworkNeighborhoods.

func (*NetworkNeighborhoodList) DeepCopy added in v0.0.81

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

func (*NetworkNeighborhoodList) DeepCopyInto added in v0.0.81

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 added in v0.0.81

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

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

type NetworkNeighborhoodSpec added in v0.0.81

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 added in v0.0.81

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

func (*NetworkNeighborhoodSpec) DeepCopyInto added in v0.0.81

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 added in v0.0.33

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 added in v0.0.33

func (in *NetworkNeighbors) DeepCopy() *NetworkNeighbors

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

func (*NetworkNeighbors) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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

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

type NetworkNeighborsList added in v0.0.33

type NetworkNeighborsList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []NetworkNeighbors
}

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

func (*NetworkNeighborsList) DeepCopy added in v0.0.33

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

func (*NetworkNeighborsList) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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

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

type NetworkNeighborsSpec added in v0.0.33

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

func (*NetworkNeighborsSpec) DeepCopy added in v0.0.33

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

func (*NetworkNeighborsSpec) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

func (in *NetworkPolicy) DeepCopy() *NetworkPolicy

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

func (*NetworkPolicy) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

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

func (*NetworkPolicyEgressRule) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

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

func (*NetworkPolicyIngressRule) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList

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

func (*NetworkPolicyList) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer

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

func (*NetworkPolicyPeer) DeepCopyInto added in v0.0.33

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 added in v0.0.33

type NetworkPolicyPort struct {
	Protocol *v1.Protocol

	Port *int32

	EndPort *int32
}

NetworkPolicyPort describes a port to allow traffic on

func (*NetworkPolicyPort) DeepCopy added in v0.0.33

func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort

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

func (*NetworkPolicyPort) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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

	Egress []NetworkPolicyEgressRule

	PolicyTypes []PolicyType
}

NetworkPolicySpec provides the specification of a NetworkPolicy

func (*NetworkPolicySpec) DeepCopy added in v0.0.33

func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec

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

func (*NetworkPolicySpec) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

func (in *NetworkPolicyStatus) DeepCopy() *NetworkPolicyStatus

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

func (*NetworkPolicyStatus) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

func (in *NetworkPort) DeepCopy() *NetworkPort

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

func (*NetworkPort) DeepCopyInto added in v0.0.33

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 added in v0.0.81

func (p NetworkPort) String() string

type OpenCalls added in v0.0.22

type OpenCalls struct {
	Path  string
	Flags []string
}

func (*OpenCalls) DeepCopy added in v0.0.22

func (in *OpenCalls) DeepCopy() *OpenCalls

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

func (*OpenCalls) DeepCopyInto added in v0.0.22

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 added in v0.0.66

func (e OpenCalls) String() string

type OpenVulnerabilityExchangeContainer added in v0.0.29

type OpenVulnerabilityExchangeContainer struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec VEX
}

func (*OpenVulnerabilityExchangeContainer) DeepCopy added in v0.0.29

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

func (*OpenVulnerabilityExchangeContainer) DeepCopyInto added in v0.0.29

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

func (*OpenVulnerabilityExchangeContainer) DeepCopyObject added in v0.0.29

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

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

type OpenVulnerabilityExchangeContainerList added in v0.0.29

type OpenVulnerabilityExchangeContainerList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []OpenVulnerabilityExchangeContainer
}

func (*OpenVulnerabilityExchangeContainerList) DeepCopy added in v0.0.29

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

func (*OpenVulnerabilityExchangeContainerList) DeepCopyInto added in v0.0.29

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

func (*OpenVulnerabilityExchangeContainerList) DeepCopyObject added in v0.0.29

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

type PackageBasicData added in v0.0.42

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 added in v0.0.83

func PackageBasicDataFromV01011(in PackageBasicDataV01011) PackageBasicData

func (*PackageBasicData) DeepCopy added in v0.0.42

func (in *PackageBasicData) DeepCopy() *PackageBasicData

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

func (*PackageBasicData) DeepCopyInto added in v0.0.42

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 added in v0.0.83

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 added in v0.0.89

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

func (*PackageBasicDataV01011) DeepCopyInto added in v0.0.89

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 added in v0.0.42

type PackageCustomData struct {
	MetadataType string
	Metadata     json.RawMessage
}

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

func (*PackageCustomData) DeepCopy added in v0.0.42

func (in *PackageCustomData) DeepCopy() *PackageCustomData

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

func (*PackageCustomData) DeepCopyInto added in v0.0.42

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 added in v0.0.33

type PathType string

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

type PolicyRef added in v0.0.33

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

func (*PolicyRef) DeepCopy added in v0.0.33

func (in *PolicyRef) DeepCopy() *PolicyRef

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

func (*PolicyRef) DeepCopyInto added in v0.0.33

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 added in v0.0.33

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 added in v0.0.29

type Product struct {
	Component
	Subcomponents []Subcomponent
}

func (*Product) DeepCopy added in v0.0.29

func (in *Product) DeepCopy() *Product

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

func (*Product) DeepCopyInto added in v0.0.29

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 added in v0.0.89

type ProfileState string

type Protocol added in v0.0.33

type Protocol string

type RelocationReadOnly added in v0.0.83

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 added in v0.0.16

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

func (*RulePath) DeepCopy added in v0.0.16

func (in *RulePath) DeepCopy() *RulePath

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

func (*RulePath) DeepCopyInto added in v0.0.16

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

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

type RuleStatus added in v0.0.16

type RuleStatus struct {
	Status    string
	SubStatus string
}

func (*RuleStatus) DeepCopy added in v0.0.16

func (in *RuleStatus) DeepCopy() *RuleStatus

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

func (*RuleStatus) DeepCopyInto added in v0.0.16

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

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

type SBOMSyft added in v0.0.42

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 added in v0.0.42

func (in *SBOMSyft) DeepCopy() *SBOMSyft

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

func (*SBOMSyft) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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

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

type SBOMSyftFiltered added in v0.0.42

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 added in v0.0.42

func (in *SBOMSyftFiltered) DeepCopy() *SBOMSyftFiltered

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

func (*SBOMSyftFiltered) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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

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

type SBOMSyftFilteredList added in v0.0.42

type SBOMSyftFilteredList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []SBOMSyftFiltered
}

SBOMSyftFilteredList is a list of SBOMSyftFiltered objects.

func (*SBOMSyftFilteredList) DeepCopy added in v0.0.42

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

func (*SBOMSyftFilteredList) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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

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

type SBOMSyftList added in v0.0.42

type SBOMSyftList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []SBOMSyft
}

SBOMSyftList is a list of SBOMSyft objects.

func (*SBOMSyftList) DeepCopy added in v0.0.42

func (in *SBOMSyftList) DeepCopy() *SBOMSyftList

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

func (*SBOMSyftList) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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

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

type SBOMSyftSpec added in v0.0.42

type SBOMSyftSpec struct {
	Metadata SPDXMeta
	Syft     SyftDocument
}

SBOMSyftSpec is the specification of a Syft SBOM

func (*SBOMSyftSpec) DeepCopy added in v0.0.42

func (in *SBOMSyftSpec) DeepCopy() *SBOMSyftSpec

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

func (*SBOMSyftSpec) DeepCopyInto added in v0.0.42

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 added in v0.0.42

type SBOMSyftStatus struct {
}

SBOMSyftStatus is the status of a Syft SBOM.

func (*SBOMSyftStatus) DeepCopy added in v0.0.42

func (in *SBOMSyftStatus) DeepCopy() *SBOMSyftStatus

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

func (*SBOMSyftStatus) DeepCopyInto added in v0.0.42

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 added in v0.0.16

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

func (*ScannedControl) DeepCopy added in v0.0.16

func (in *ScannedControl) DeepCopy() *ScannedControl

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

func (*ScannedControl) DeepCopyInto added in v0.0.16

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

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

type ScannedControlRule added in v0.0.16

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

func (*ScannedControlRule) DeepCopy added in v0.0.16

func (in *ScannedControlRule) DeepCopy() *ScannedControlRule

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

func (*ScannedControlRule) DeepCopyInto added in v0.0.16

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

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

type ScannedControlStatus added in v0.0.16

type ScannedControlStatus struct {
	Status    string
	SubStatus string
	Info      string
}

func (*ScannedControlStatus) DeepCopy added in v0.0.16

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

func (*ScannedControlStatus) DeepCopyInto added in v0.0.16

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

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

type ScannedControlSummary added in v0.0.16

type ScannedControlSummary struct {
	ControlID string
	Severity  ControlSeverity
	Status    ScannedControlStatus
}

func (*ScannedControlSummary) DeepCopy added in v0.0.16

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

func (*ScannedControlSummary) DeepCopyInto added in v0.0.16

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

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

type Schema added in v0.0.42

type Schema struct {
	Version string
	URL     string
}

func (*Schema) DeepCopy added in v0.0.42

func (in *Schema) DeepCopy() *Schema

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

func (*Schema) DeepCopyInto added in v0.0.42

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 added in v0.0.89

type SeccompProfile struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   SeccompProfileSpec
	Status SeccompProfileStatus
}

func (*SeccompProfile) DeepCopy added in v0.0.89

func (in *SeccompProfile) DeepCopy() *SeccompProfile

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

func (*SeccompProfile) DeepCopyInto added in v0.0.89

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 added in v0.0.89

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

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

type SeccompProfileList added in v0.0.89

type SeccompProfileList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []SeccompProfile
}

func (*SeccompProfileList) DeepCopy added in v0.0.89

func (in *SeccompProfileList) DeepCopy() *SeccompProfileList

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

func (*SeccompProfileList) DeepCopyInto added in v0.0.89

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 added in v0.0.89

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

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

type SeccompProfileSpec added in v0.0.89

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

func (*SeccompProfileSpec) DeepCopy added in v0.0.89

func (in *SeccompProfileSpec) DeepCopy() *SeccompProfileSpec

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

func (*SeccompProfileSpec) DeepCopyInto added in v0.0.89

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 added in v0.0.89

type SeccompProfileStatus struct {
	Containers map[string]SingleSeccompProfileStatus
}

func (*SeccompProfileStatus) DeepCopy added in v0.0.89

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

func (*SeccompProfileStatus) DeepCopyInto added in v0.0.89

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 added in v0.0.33

type ServiceBackendPort struct {
	Name string

	Number int32
}

ServiceBackendPort is the service port being referenced.

func (*ServiceBackendPort) DeepCopy added in v0.0.33

func (in *ServiceBackendPort) DeepCopy() *ServiceBackendPort

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

func (*ServiceBackendPort) DeepCopyInto added in v0.0.33

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 added in v0.0.7

SeveritySummary is a summary of all vulnerabilities included in vulnerability manifest

func (*SeveritySummary) Add added in v0.0.20

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

func (*SeveritySummary) DeepCopy added in v0.0.7

func (in *SeveritySummary) DeepCopy() *SeveritySummary

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

func (*SeveritySummary) DeepCopyInto added in v0.0.7

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

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

type SingleSeccompProfile added in v0.0.89

type SingleSeccompProfile struct {
	Name string
	Path string
	Spec SingleSeccompProfileSpec
}

func (*SingleSeccompProfile) DeepCopy added in v0.0.89

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

func (*SingleSeccompProfile) DeepCopyInto added in v0.0.89

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 added in v0.0.89

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 added in v0.0.89

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

func (*SingleSeccompProfileSpec) DeepCopyInto added in v0.0.89

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 added in v0.0.89

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 added in v0.0.89

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

func (*SingleSeccompProfileStatus) DeepCopyInto added in v0.0.89

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 added in v0.0.89

type SpecBase struct {
	Disabled bool
}

func (*SpecBase) DeepCopy added in v0.0.89

func (in *SpecBase) DeepCopy() *SpecBase

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

func (*SpecBase) DeepCopyInto added in v0.0.89

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

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

type Statement added in v0.0.29

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 added in v0.0.29

func (in *Statement) DeepCopy() *Statement

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

func (*Statement) DeepCopyInto added in v0.0.29

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 added in v0.0.29

type Status string

type StatusBase added in v0.0.89

type StatusBase struct {
	ConditionedStatus
	Status ProfileState
}

func (*StatusBase) DeepCopy added in v0.0.89

func (in *StatusBase) DeepCopy() *StatusBase

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

func (*StatusBase) DeepCopyInto added in v0.0.89

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 added in v0.0.29

type Subcomponent struct {
	Component
}

func (*Subcomponent) DeepCopy added in v0.0.29

func (in *Subcomponent) DeepCopy() *Subcomponent

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

func (*Subcomponent) DeepCopyInto added in v0.0.29

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 added in v0.0.42

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

SyftDescriptor describes what created the document as well as surrounding metadata

func (*SyftDescriptor) DeepCopy added in v0.0.42

func (in *SyftDescriptor) DeepCopy() *SyftDescriptor

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

func (*SyftDescriptor) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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 added in v0.0.42

func (in *SyftDocument) DeepCopy() *SyftDocument

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

func (*SyftDocument) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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

func (*SyftFile) DeepCopy added in v0.0.42

func (in *SyftFile) DeepCopy() *SyftFile

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

func (*SyftFile) DeepCopyInto added in v0.0.42

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 added in v0.0.42

type SyftPackage struct {
	PackageBasicData
	PackageCustomData
}

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

func (*SyftPackage) DeepCopy added in v0.0.42

func (in *SyftPackage) DeepCopy() *SyftPackage

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

func (*SyftPackage) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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

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

type SyftRelationship added in v0.0.42

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

func (*SyftRelationship) DeepCopy added in v0.0.42

func (in *SyftRelationship) DeepCopy() *SyftRelationship

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

func (*SyftRelationship) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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 added in v0.0.42

func (in *SyftSource) DeepCopy() *SyftSource

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

func (*SyftSource) DeepCopyInto added in v0.0.42

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 added in v0.0.42

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

UnmarshalJSON populates a source object from JSON bytes.

type SyftType

type SyftType string

type Syscall added in v0.0.89

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 added in v0.0.89

func (in *Syscall) DeepCopy() *Syscall

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

func (*Syscall) DeepCopyInto added in v0.0.89

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 added in v0.0.33

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 added in v0.0.29

type VEX struct {
	Metadata
	Statements []Statement
}

func (*VEX) DeepCopy added in v0.0.29

func (in *VEX) DeepCopy() *VEX

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

func (*VEX) DeepCopyInto added in v0.0.29

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 added in v0.0.29

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 added in v0.0.29

func (in *VexVulnerability) DeepCopy() *VexVulnerability

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

func (*VexVulnerability) DeepCopyInto added in v0.0.29

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 added in v0.0.16

type VulnerabilitiesComponents struct {
	ImageVulnerabilitiesObj    VulnerabilitiesObjScope
	WorkloadVulnerabilitiesObj VulnerabilitiesObjScope
}

func (*VulnerabilitiesComponents) DeepCopy added in v0.0.16

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

func (*VulnerabilitiesComponents) DeepCopyInto added in v0.0.16

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

type VulnerabilitiesObjScope added in v0.0.16

type VulnerabilitiesObjScope struct {
	Namespace string
	Name      string
	Kind      string
}

func (*VulnerabilitiesObjScope) DeepCopy added in v0.0.16

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

func (*VulnerabilitiesObjScope) DeepCopyInto added in v0.0.16

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

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

type Vulnerability

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

func (*Vulnerability) DeepCopy

func (in *Vulnerability) DeepCopy() *Vulnerability

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

func (*Vulnerability) DeepCopyInto

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

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

type VulnerabilityCounters added in v0.0.7

type VulnerabilityCounters struct {
	All      int64
	Relevant int64
}

VulnerabilityCounters describes a counter of vulnerabilities.

Intended to store relevant and total vulnerabilities in the future.

func (*VulnerabilityCounters) Add added in v0.0.20

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

func (*VulnerabilityCounters) DeepCopy added in v0.0.7

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

func (*VulnerabilityCounters) DeepCopyInto added in v0.0.7

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

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

type VulnerabilityManifest

type VulnerabilityManifest struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   VulnerabilityManifestSpec
	Status VulnerabilityManifestStatus
}

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

func (*VulnerabilityManifest) DeepCopy

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

func (*VulnerabilityManifest) DeepCopyInto

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

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

func (*VulnerabilityManifest) DeepCopyObject

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

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

type VulnerabilityManifestList

type VulnerabilityManifestList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []VulnerabilityManifest
}

VulnerabilityManifestList is a list of Vulnerability manifests.

func (*VulnerabilityManifestList) DeepCopy

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

func (*VulnerabilityManifestList) DeepCopyInto

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

func (*VulnerabilityManifestList) DeepCopyObject

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

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

type VulnerabilityManifestMeta

type VulnerabilityManifestMeta struct {
	WithRelevancy bool
	Tool          VulnerabilityManifestToolMeta
	Report        VulnerabilityManifestReportMeta
}

VulnerabilityManifestMeta holds metadata about a vulnerability manifest

func (*VulnerabilityManifestMeta) DeepCopy

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

func (*VulnerabilityManifestMeta) DeepCopyInto

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

type VulnerabilityManifestReportMeta

type VulnerabilityManifestReportMeta struct {
	CreatedAt metav1.Time
}

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

func (*VulnerabilityManifestReportMeta) DeepCopy

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

func (*VulnerabilityManifestReportMeta) DeepCopyInto

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

type VulnerabilityManifestSpec

type VulnerabilityManifestSpec struct {
	Metadata VulnerabilityManifestMeta
	Payload  GrypeDocument
}

func (*VulnerabilityManifestSpec) DeepCopy

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

func (*VulnerabilityManifestSpec) DeepCopyInto

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

type VulnerabilityManifestStatus

type VulnerabilityManifestStatus struct {
}

func (*VulnerabilityManifestStatus) DeepCopy

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

func (*VulnerabilityManifestStatus) DeepCopyInto

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

type VulnerabilityManifestSummary added in v0.0.7

type VulnerabilityManifestSummary struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec   VulnerabilityManifestSummarySpec
	Status VulnerabilityManifestStatus
}

VulnerabilityManifestSummary is a summary of a VulnerabilityManifest.

func (*VulnerabilityManifestSummary) DeepCopy added in v0.0.7

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

func (*VulnerabilityManifestSummary) DeepCopyInto added in v0.0.7

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

func (*VulnerabilityManifestSummary) DeepCopyObject added in v0.0.7

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

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

type VulnerabilityManifestSummaryList added in v0.0.7

type VulnerabilityManifestSummaryList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []VulnerabilityManifestSummary
}

VulnerabilityManifestSummaryList is a list of VulnerabilityManifest summaries.

func (*VulnerabilityManifestSummaryList) DeepCopy added in v0.0.7

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

func (*VulnerabilityManifestSummaryList) DeepCopyInto added in v0.0.7

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

func (*VulnerabilityManifestSummaryList) DeepCopyObject added in v0.0.7

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

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

type VulnerabilityManifestSummarySpec added in v0.0.7

type VulnerabilityManifestSummarySpec struct {
	Severities      SeveritySummary
	Vulnerabilities VulnerabilitiesComponents
}

func (*VulnerabilityManifestSummarySpec) DeepCopy added in v0.0.7

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

func (*VulnerabilityManifestSummarySpec) DeepCopyInto added in v0.0.7

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

type VulnerabilityManifestToolMeta

type VulnerabilityManifestToolMeta struct {
	Name            string
	Version         string
	DatabaseVersion string
}

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

func (*VulnerabilityManifestToolMeta) DeepCopy

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

func (*VulnerabilityManifestToolMeta) DeepCopyInto

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

type VulnerabilityMetadata

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

func (*VulnerabilityMetadata) DeepCopy

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

func (*VulnerabilityMetadata) DeepCopyInto

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

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

type VulnerabilitySummary added in v0.0.20

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 added in v0.0.20

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

func (*VulnerabilitySummary) DeepCopyInto added in v0.0.20

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 added in v0.0.20

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

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

func (*VulnerabilitySummary) Merge added in v0.0.20

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

type VulnerabilitySummaryList added in v0.0.20

type VulnerabilitySummaryList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []VulnerabilitySummary
}

VulnerabilitySummaryList is a list of VulnerabilitySummaries.

func (*VulnerabilitySummaryList) DeepCopy added in v0.0.20

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

func (*VulnerabilitySummaryList) DeepCopyInto added in v0.0.20

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 added in v0.0.20

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

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

type VulnerabilitySummarySpec added in v0.0.20

type VulnerabilitySummarySpec struct {
	Severities                 SeveritySummary
	WorkloadVulnerabilitiesObj []VulnerabilitiesObjScope
}

func (*VulnerabilitySummarySpec) DeepCopy added in v0.0.20

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

func (*VulnerabilitySummarySpec) DeepCopyInto added in v0.0.20

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 added in v0.0.20

type VulnerabilitySummaryStatus struct {
}

func (*VulnerabilitySummaryStatus) DeepCopy added in v0.0.20

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

func (*VulnerabilitySummaryStatus) DeepCopyInto added in v0.0.20

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

type WorkloadConfigurationScan added in v0.0.16

type WorkloadConfigurationScan struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec WorkloadConfigurationScanSpec
}

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

func (*WorkloadConfigurationScan) DeepCopy added in v0.0.16

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

func (*WorkloadConfigurationScan) DeepCopyInto added in v0.0.16

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

func (*WorkloadConfigurationScan) DeepCopyObject added in v0.0.16

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

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

type WorkloadConfigurationScanList added in v0.0.16

type WorkloadConfigurationScanList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []WorkloadConfigurationScan
}

WorkloadConfigurationScanList is a list of workload configuration scan results.

func (*WorkloadConfigurationScanList) DeepCopy added in v0.0.16

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

func (*WorkloadConfigurationScanList) DeepCopyInto added in v0.0.16

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

func (*WorkloadConfigurationScanList) DeepCopyObject added in v0.0.16

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

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

type WorkloadConfigurationScanSeveritiesSummary added in v0.0.16

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

func (*WorkloadConfigurationScanSeveritiesSummary) DeepCopy added in v0.0.16

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

func (*WorkloadConfigurationScanSeveritiesSummary) DeepCopyInto added in v0.0.16

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

type WorkloadConfigurationScanSpec added in v0.0.16

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

func (*WorkloadConfigurationScanSpec) DeepCopy added in v0.0.16

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

func (*WorkloadConfigurationScanSpec) DeepCopyInto added in v0.0.16

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

type WorkloadConfigurationScanSummary added in v0.0.16

type WorkloadConfigurationScanSummary struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec WorkloadConfigurationScanSummarySpec
}

WorkloadConfigurationScanSummary is a summary of a WorkloadConfigurationScan

func (*WorkloadConfigurationScanSummary) DeepCopy added in v0.0.16

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

func (*WorkloadConfigurationScanSummary) DeepCopyInto added in v0.0.16

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

func (*WorkloadConfigurationScanSummary) DeepCopyObject added in v0.0.16

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

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

type WorkloadConfigurationScanSummaryIdentifier added in v0.0.18

type WorkloadConfigurationScanSummaryIdentifier struct {
	Namespace string
	Kind      string
	Name      string
}

WorkloadConfigurationScanSummaryIdentifier includes information needed to identify a WorkloadConfigurationScanSummary object

func (*WorkloadConfigurationScanSummaryIdentifier) DeepCopy added in v0.0.18

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

func (*WorkloadConfigurationScanSummaryIdentifier) DeepCopyInto added in v0.0.18

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

type WorkloadConfigurationScanSummaryList added in v0.0.16

type WorkloadConfigurationScanSummaryList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []WorkloadConfigurationScanSummary
}

WorkloadConfigurationScanSummaryList is a list of WorkloadConfigurationScan summaries.

func (*WorkloadConfigurationScanSummaryList) DeepCopy added in v0.0.16

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

func (*WorkloadConfigurationScanSummaryList) DeepCopyInto added in v0.0.16

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

func (*WorkloadConfigurationScanSummaryList) DeepCopyObject added in v0.0.16

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

type WorkloadConfigurationScanSummarySpec added in v0.0.16

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

func (*WorkloadConfigurationScanSummarySpec) DeepCopy added in v0.0.16

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

func (*WorkloadConfigurationScanSummarySpec) DeepCopyInto added in v0.0.16

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

type WorkloadScanRelatedObject added in v0.0.16

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

func (*WorkloadScanRelatedObject) DeepCopy added in v0.0.16

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

func (*WorkloadScanRelatedObject) DeepCopyInto added in v0.0.16

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

Directories

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