vulnerability

package
v0.0.0-...-9240e9c Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cloud_containers_workflow_vulnerability_proto_package_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PackageData

type PackageData struct {

	// The package being analysed for vulnerabilities
	Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// The version of the package being analysed
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// The OS affected by a vulnerability
	// This field is deprecated and the information is in cpe_uri
	//
	// Deprecated: Do not use.
	Os string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`
	// The version of the OS
	// This field is deprecated and the information is in cpe_uri
	//
	// Deprecated: Do not use.
	OsVersion string `protobuf:"bytes,4,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
	// The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in
	// which the vulnerability may manifest.  Examples include distro or storage
	// location for vulnerable jar.
	CpeUri string `protobuf:"bytes,5,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
	Unused string `protobuf:"bytes,6,opt,name=unused,proto3" json:"unused,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageData) Descriptor deprecated

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

Deprecated: Use PackageData.ProtoReflect.Descriptor instead.

func (*PackageData) GetCpeUri

func (x *PackageData) GetCpeUri() string

func (*PackageData) GetOs deprecated

func (x *PackageData) GetOs() string

Deprecated: Do not use.

func (*PackageData) GetOsVersion deprecated

func (x *PackageData) GetOsVersion() string

Deprecated: Do not use.

func (*PackageData) GetPackage

func (x *PackageData) GetPackage() string

func (*PackageData) GetUnused

func (x *PackageData) GetUnused() string

func (*PackageData) GetVersion

func (x *PackageData) GetVersion() string

func (*PackageData) ProtoMessage

func (*PackageData) ProtoMessage()

func (*PackageData) ProtoReflect

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

func (*PackageData) Reset

func (x *PackageData) Reset()

func (*PackageData) String

func (x *PackageData) String() string

Jump to

Keyboard shortcuts

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