Documentation
¶
Index ¶
- Variables
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetAnnotations() []*structpb.Struct
- func (x *Result) GetId() string
- func (x *Result) GetSeverity() []*Result_Severity
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type Result_Severity
- func (*Result_Severity) Descriptor() ([]byte, []int)deprecated
- func (x *Result_Severity) GetMethod() string
- func (x *Result_Severity) GetScore() string
- func (*Result_Severity) ProtoMessage()
- func (x *Result_Severity) ProtoReflect() protoreflect.Message
- func (x *Result_Severity) Reset()
- func (x *Result_Severity) String() string
- type ScanMetadata
- func (*ScanMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ScanMetadata) GetScanFinishedOn() *timestamppb.Timestamp
- func (x *ScanMetadata) GetScanStartedOn() *timestamppb.Timestamp
- func (*ScanMetadata) ProtoMessage()
- func (x *ScanMetadata) ProtoReflect() protoreflect.Message
- func (x *ScanMetadata) Reset()
- func (x *ScanMetadata) String() string
- type Scanner
- func (*Scanner) Descriptor() ([]byte, []int)deprecated
- func (x *Scanner) GetDb() *VulnDatabase
- func (x *Scanner) GetResult() []*Result
- func (x *Scanner) GetUri() string
- func (x *Scanner) GetVersion() string
- func (*Scanner) ProtoMessage()
- func (x *Scanner) ProtoReflect() protoreflect.Message
- func (x *Scanner) Reset()
- func (x *Scanner) String() string
- type VulnDatabase
- func (*VulnDatabase) Descriptor() ([]byte, []int)deprecated
- func (x *VulnDatabase) GetLastUpdate() *timestamppb.Timestamp
- func (x *VulnDatabase) GetUri() string
- func (x *VulnDatabase) GetVersion() string
- func (*VulnDatabase) ProtoMessage()
- func (x *VulnDatabase) ProtoReflect() protoreflect.Message
- func (x *VulnDatabase) Reset()
- func (x *VulnDatabase) String() string
- type Vulns
Constants ¶
This section is empty.
Variables ¶
View Source
var File_in_toto_attestation_predicates_vulns_v0_2_vulns_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Severity []*Result_Severity `protobuf:"bytes,2,rep,name=severity,proto3" json:"severity,omitempty"` Annotations []*structpb.Struct `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*Result) Descriptor
deprecated
func (*Result) GetAnnotations ¶
func (*Result) GetSeverity ¶
func (x *Result) GetSeverity() []*Result_Severity
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type Result_Severity ¶
type Result_Severity struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` Score string `protobuf:"bytes,2,opt,name=score,proto3" json:"score,omitempty"` // contains filtered or unexported fields }
func (*Result_Severity) Descriptor
deprecated
func (*Result_Severity) Descriptor() ([]byte, []int)
Deprecated: Use Result_Severity.ProtoReflect.Descriptor instead.
func (*Result_Severity) GetMethod ¶
func (x *Result_Severity) GetMethod() string
func (*Result_Severity) GetScore ¶
func (x *Result_Severity) GetScore() string
func (*Result_Severity) ProtoMessage ¶
func (*Result_Severity) ProtoMessage()
func (*Result_Severity) ProtoReflect ¶
func (x *Result_Severity) ProtoReflect() protoreflect.Message
func (*Result_Severity) Reset ¶
func (x *Result_Severity) Reset()
func (*Result_Severity) String ¶
func (x *Result_Severity) String() string
type ScanMetadata ¶
type ScanMetadata struct { ScanStartedOn *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=scan_started_on,json=scanStartedOn,proto3" json:"scan_started_on,omitempty"` ScanFinishedOn *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=scan_finished_on,json=scanFinishedOn,proto3" json:"scan_finished_on,omitempty"` // contains filtered or unexported fields }
func (*ScanMetadata) Descriptor
deprecated
func (*ScanMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ScanMetadata.ProtoReflect.Descriptor instead.
func (*ScanMetadata) GetScanFinishedOn ¶
func (x *ScanMetadata) GetScanFinishedOn() *timestamppb.Timestamp
func (*ScanMetadata) GetScanStartedOn ¶
func (x *ScanMetadata) GetScanStartedOn() *timestamppb.Timestamp
func (*ScanMetadata) ProtoMessage ¶
func (*ScanMetadata) ProtoMessage()
func (*ScanMetadata) ProtoReflect ¶
func (x *ScanMetadata) ProtoReflect() protoreflect.Message
func (*ScanMetadata) Reset ¶
func (x *ScanMetadata) Reset()
func (*ScanMetadata) String ¶
func (x *ScanMetadata) String() string
type Scanner ¶
type Scanner struct { Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` Version *string `protobuf:"bytes,2,opt,name=version,proto3,oneof" json:"version,omitempty"` Db *VulnDatabase `protobuf:"bytes,3,opt,name=db,proto3" json:"db,omitempty"` Result []*Result `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*Scanner) Descriptor
deprecated
func (*Scanner) GetDb ¶
func (x *Scanner) GetDb() *VulnDatabase
func (*Scanner) GetVersion ¶
func (*Scanner) ProtoMessage ¶
func (*Scanner) ProtoMessage()
func (*Scanner) ProtoReflect ¶
func (x *Scanner) ProtoReflect() protoreflect.Message
type VulnDatabase ¶
type VulnDatabase struct { Uri *string `protobuf:"bytes,1,opt,name=uri,proto3,oneof" json:"uri,omitempty"` Version *string `protobuf:"bytes,2,opt,name=version,proto3,oneof" json:"version,omitempty"` LastUpdate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"` // contains filtered or unexported fields }
func (*VulnDatabase) Descriptor
deprecated
func (*VulnDatabase) Descriptor() ([]byte, []int)
Deprecated: Use VulnDatabase.ProtoReflect.Descriptor instead.
func (*VulnDatabase) GetLastUpdate ¶
func (x *VulnDatabase) GetLastUpdate() *timestamppb.Timestamp
func (*VulnDatabase) GetUri ¶
func (x *VulnDatabase) GetUri() string
func (*VulnDatabase) GetVersion ¶
func (x *VulnDatabase) GetVersion() string
func (*VulnDatabase) ProtoMessage ¶
func (*VulnDatabase) ProtoMessage()
func (*VulnDatabase) ProtoReflect ¶
func (x *VulnDatabase) ProtoReflect() protoreflect.Message
func (*VulnDatabase) Reset ¶
func (x *VulnDatabase) Reset()
func (*VulnDatabase) String ¶
func (x *VulnDatabase) String() string
type Vulns ¶
type Vulns struct { Scanner *Scanner `protobuf:"bytes,1,opt,name=scanner,proto3" json:"scanner,omitempty"` Metadata *ScanMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Validation of all fields is left to the users of this proto.
func (*Vulns) Descriptor
deprecated
func (*Vulns) GetMetadata ¶
func (x *Vulns) GetMetadata() *ScanMetadata
func (*Vulns) GetScanner ¶
func (*Vulns) ProtoMessage ¶
func (*Vulns) ProtoMessage()
func (*Vulns) ProtoReflect ¶
func (x *Vulns) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.