Documentation ¶
Index ¶
- Variables
- type PackageData
- func (*PackageData) Descriptor() ([]byte, []int)deprecated
- func (x *PackageData) GetCpeUri() string
- func (x *PackageData) GetOs() stringdeprecated
- func (x *PackageData) GetOsVersion() stringdeprecated
- func (x *PackageData) GetPackage() string
- func (x *PackageData) GetUnused() string
- func (x *PackageData) GetVersion() string
- func (*PackageData) ProtoMessage()
- func (x *PackageData) ProtoReflect() protoreflect.Message
- func (x *PackageData) Reset()
- func (x *PackageData) String() string
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
Click to show internal directories.
Click to hide internal directories.