Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package v1 contains the v1 GRPC client and server definitions for implementing Advisory interactions.
Index ¶
- Constants
- Variables
- func RegisterSecurityAdvisoryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSecurityAdvisoryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SecurityAdvisoryClient) error
- func RegisterSecurityAdvisoryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSecurityAdvisoryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SecurityAdvisoryServer) error
- func RegisterSecurityAdvisoryServer(s grpc.ServiceRegistrar, srv SecurityAdvisoryServer)
- type Advisory
- func (*Advisory) Descriptor() ([]byte, []int)deprecated
- func (x *Advisory) GetAliases() []string
- func (x *Advisory) GetEvents() []*Event
- func (x *Advisory) GetId() string
- func (*Advisory) ProtoMessage()
- func (x *Advisory) ProtoReflect() protoreflect.Message
- func (x *Advisory) Reset()
- func (x *Advisory) String() string
- type AnalysisNotPlanned
- func (*AnalysisNotPlanned) Descriptor() ([]byte, []int)deprecated
- func (x *AnalysisNotPlanned) GetNote() string
- func (*AnalysisNotPlanned) ProtoMessage()
- func (x *AnalysisNotPlanned) ProtoReflect() protoreflect.Message
- func (x *AnalysisNotPlanned) Reset()
- func (x *AnalysisNotPlanned) String() string
- type Clients
- type Detection
- func (*Detection) Descriptor() ([]byte, []int)deprecated
- func (x *Detection) GetManual() *Detection_DetectionTypeManual
- func (x *Detection) GetNvdapi() *Detection_DetectionTypeNVDAPI
- func (m *Detection) GetType() isDetection_Type
- func (*Detection) ProtoMessage()
- func (x *Detection) ProtoReflect() protoreflect.Message
- func (x *Detection) Reset()
- func (x *Detection) String() string
- type Detection_DetectionTypeManual
- func (*Detection_DetectionTypeManual) Descriptor() ([]byte, []int)deprecated
- func (*Detection_DetectionTypeManual) ProtoMessage()
- func (x *Detection_DetectionTypeManual) ProtoReflect() protoreflect.Message
- func (x *Detection_DetectionTypeManual) Reset()
- func (x *Detection_DetectionTypeManual) String() string
- type Detection_DetectionTypeNVDAPI
- func (*Detection_DetectionTypeNVDAPI) Descriptor() ([]byte, []int)deprecated
- func (x *Detection_DetectionTypeNVDAPI) GetCpeFound() string
- func (x *Detection_DetectionTypeNVDAPI) GetCpeSearched() string
- func (*Detection_DetectionTypeNVDAPI) ProtoMessage()
- func (x *Detection_DetectionTypeNVDAPI) ProtoReflect() protoreflect.Message
- func (x *Detection_DetectionTypeNVDAPI) Reset()
- func (x *Detection_DetectionTypeNVDAPI) String() string
- type Detection_Manual
- type Detection_Nvdapi
- type Document
- type DocumentFilter
- func (*DocumentFilter) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentFilter) GetCves() []string
- func (x *DocumentFilter) GetId() string
- func (*DocumentFilter) ProtoMessage()
- func (x *DocumentFilter) ProtoReflect() protoreflect.Message
- func (x *DocumentFilter) Reset()
- func (x *DocumentFilter) String() string
- type DocumentList
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAnalysisNotPlanned() *AnalysisNotPlanned
- func (m *Event) GetData() isEvent_Data
- func (x *Event) GetDetection() *Detection
- func (x *Event) GetFalsePositiveDetermination() *FalsePositiveDetermination
- func (x *Event) GetFixNotPlanned() *FixNotPlanned
- func (x *Event) GetFixed() *Fixed
- func (x *Event) GetPendingUpstreamFix() *PendingUpstreamFix
- func (x *Event) GetTimestamp() *timestamppb.Timestamp
- func (x *Event) GetTruePositiveDetermination() *TruePositiveDetermination
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_AnalysisNotPlanned
- type Event_Detection
- type Event_FalsePositiveDetermination
- type Event_FixNotPlanned
- type Event_Fixed
- type Event_PendingUpstreamFix
- type Event_TruePositiveDetermination
- type FalsePositiveDetermination
- func (*FalsePositiveDetermination) Descriptor() ([]byte, []int)deprecated
- func (x *FalsePositiveDetermination) GetNote() string
- func (x *FalsePositiveDetermination) GetType() FalsePositiveDetermination_Type
- func (*FalsePositiveDetermination) ProtoMessage()
- func (x *FalsePositiveDetermination) ProtoReflect() protoreflect.Message
- func (x *FalsePositiveDetermination) Reset()
- func (x *FalsePositiveDetermination) String() string
- type FalsePositiveDetermination_Type
- func (FalsePositiveDetermination_Type) Descriptor() protoreflect.EnumDescriptor
- func (x FalsePositiveDetermination_Type) Enum() *FalsePositiveDetermination_Type
- func (FalsePositiveDetermination_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x FalsePositiveDetermination_Type) Number() protoreflect.EnumNumber
- func (x FalsePositiveDetermination_Type) String() string
- func (FalsePositiveDetermination_Type) Type() protoreflect.EnumType
- type FixNotPlanned
- type Fixed
- type PendingUpstreamFix
- func (*PendingUpstreamFix) Descriptor() ([]byte, []int)deprecated
- func (x *PendingUpstreamFix) GetNote() string
- func (*PendingUpstreamFix) ProtoMessage()
- func (x *PendingUpstreamFix) ProtoReflect() protoreflect.Message
- func (x *PendingUpstreamFix) Reset()
- func (x *PendingUpstreamFix) String() string
- type SecurityAdvisoryClient
- type SecurityAdvisoryServer
- type TruePositiveDetermination
- func (*TruePositiveDetermination) Descriptor() ([]byte, []int)deprecated
- func (x *TruePositiveDetermination) GetNote() string
- func (*TruePositiveDetermination) ProtoMessage()
- func (x *TruePositiveDetermination) ProtoReflect() protoreflect.Message
- func (x *TruePositiveDetermination) Reset()
- func (x *TruePositiveDetermination) String() string
- type UnimplementedSecurityAdvisoryServer
- type UnsafeSecurityAdvisoryServer
Constants ¶
const (
SecurityAdvisory_ListDocuments_FullMethodName = "/chainguard.platform.advisory.SecurityAdvisory/ListDocuments"
)
Variables ¶
var ( FalsePositiveDetermination_Type_name = map[int32]string{ 0: "FPT_TYPE_UNSPECIFIED", 1: "FPT_TYPE_VULNERABILITY_RECORD_ANALYSIS_CONTESTED", 2: "FPT_TYPE_COMPONENT_VULNERABILITY_MISMATCH", 3: "FPT_TYPE_VULNERABLE_CODE_VERSION_NOT_USED", 4: "FPT_TYPE_VULNERABLE_CODE_NOT_INCLUDED_IN_PACKAGE", 5: "FPT_TYPE_VULNERABLE_CODE_NOT_IN_EXECUTION_PATH", 6: "FPT_TYPE_VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY", 7: "FPT_TYPE_INLINE_MITIGATIONS_EXIST", } FalsePositiveDetermination_Type_value = map[string]int32{ "FPT_TYPE_UNSPECIFIED": 0, "FPT_TYPE_VULNERABILITY_RECORD_ANALYSIS_CONTESTED": 1, "FPT_TYPE_COMPONENT_VULNERABILITY_MISMATCH": 2, "FPT_TYPE_VULNERABLE_CODE_VERSION_NOT_USED": 3, "FPT_TYPE_VULNERABLE_CODE_NOT_INCLUDED_IN_PACKAGE": 4, "FPT_TYPE_VULNERABLE_CODE_NOT_IN_EXECUTION_PATH": 5, "FPT_TYPE_VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY": 6, "FPT_TYPE_INLINE_MITIGATIONS_EXIST": 7, } )
Enum value maps for FalsePositiveDetermination_Type.
var File_advisory_platform_proto protoreflect.FileDescriptor
var SecurityAdvisory_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chainguard.platform.advisory.SecurityAdvisory", HandlerType: (*SecurityAdvisoryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListDocuments", Handler: _SecurityAdvisory_ListDocuments_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "advisory.platform.proto", }
SecurityAdvisory_ServiceDesc is the grpc.ServiceDesc for SecurityAdvisory service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSecurityAdvisoryHandler ¶
func RegisterSecurityAdvisoryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSecurityAdvisoryHandler registers the http handlers for service SecurityAdvisory to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSecurityAdvisoryHandlerClient ¶
func RegisterSecurityAdvisoryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SecurityAdvisoryClient) error
RegisterSecurityAdvisoryHandlerClient registers the http handlers for service SecurityAdvisory to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SecurityAdvisoryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SecurityAdvisoryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SecurityAdvisoryClient" to call the correct interceptors.
func RegisterSecurityAdvisoryHandlerFromEndpoint ¶
func RegisterSecurityAdvisoryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSecurityAdvisoryHandlerFromEndpoint is same as RegisterSecurityAdvisoryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSecurityAdvisoryHandlerServer ¶
func RegisterSecurityAdvisoryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SecurityAdvisoryServer) error
RegisterSecurityAdvisoryHandlerServer registers the http handlers for service SecurityAdvisory to "mux". UnaryRPC :call SecurityAdvisoryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSecurityAdvisoryHandlerFromEndpoint instead.
func RegisterSecurityAdvisoryServer ¶
func RegisterSecurityAdvisoryServer(s grpc.ServiceRegistrar, srv SecurityAdvisoryServer)
Types ¶
type Advisory ¶
type Advisory struct { // id is the identifier of this specific advisory. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Events []*Event `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` Aliases []string `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"` // contains filtered or unexported fields }
func (*Advisory) Descriptor
deprecated
func (*Advisory) GetAliases ¶
func (*Advisory) ProtoMessage ¶
func (*Advisory) ProtoMessage()
func (*Advisory) ProtoReflect ¶
func (x *Advisory) ProtoReflect() protoreflect.Message
type AnalysisNotPlanned ¶
type AnalysisNotPlanned struct { Note string `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` // contains filtered or unexported fields }
func (*AnalysisNotPlanned) Descriptor
deprecated
func (*AnalysisNotPlanned) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisNotPlanned.ProtoReflect.Descriptor instead.
func (*AnalysisNotPlanned) GetNote ¶
func (x *AnalysisNotPlanned) GetNote() string
func (*AnalysisNotPlanned) ProtoMessage ¶
func (*AnalysisNotPlanned) ProtoMessage()
func (*AnalysisNotPlanned) ProtoReflect ¶
func (x *AnalysisNotPlanned) ProtoReflect() protoreflect.Message
func (*AnalysisNotPlanned) Reset ¶
func (x *AnalysisNotPlanned) Reset()
func (*AnalysisNotPlanned) String ¶
func (x *AnalysisNotPlanned) String() string
type Clients ¶
type Clients interface { SecurityAdvisory() SecurityAdvisoryClient Close() error }
func NewClientsFromConnection ¶
func NewClientsFromConnection(conn *grpc.ClientConn) Clients
type Detection ¶
type Detection struct { // Types that are assignable to Type: // // *Detection_Nvdapi // *Detection_Manual Type isDetection_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Detection) Descriptor
deprecated
func (*Detection) GetManual ¶
func (x *Detection) GetManual() *Detection_DetectionTypeManual
func (*Detection) GetNvdapi ¶
func (x *Detection) GetNvdapi() *Detection_DetectionTypeNVDAPI
func (*Detection) ProtoMessage ¶
func (*Detection) ProtoMessage()
func (*Detection) ProtoReflect ¶
func (x *Detection) ProtoReflect() protoreflect.Message
type Detection_DetectionTypeManual ¶
type Detection_DetectionTypeManual struct {
// contains filtered or unexported fields
}
func (*Detection_DetectionTypeManual) Descriptor
deprecated
func (*Detection_DetectionTypeManual) Descriptor() ([]byte, []int)
Deprecated: Use Detection_DetectionTypeManual.ProtoReflect.Descriptor instead.
func (*Detection_DetectionTypeManual) ProtoMessage ¶
func (*Detection_DetectionTypeManual) ProtoMessage()
func (*Detection_DetectionTypeManual) ProtoReflect ¶
func (x *Detection_DetectionTypeManual) ProtoReflect() protoreflect.Message
func (*Detection_DetectionTypeManual) Reset ¶
func (x *Detection_DetectionTypeManual) Reset()
func (*Detection_DetectionTypeManual) String ¶
func (x *Detection_DetectionTypeManual) String() string
type Detection_DetectionTypeNVDAPI ¶
type Detection_DetectionTypeNVDAPI struct { CpeSearched string `protobuf:"bytes,1,opt,name=cpe_searched,json=cpeSearched,proto3" json:"cpe_searched,omitempty"` CpeFound string `protobuf:"bytes,2,opt,name=cpe_found,json=cpeFound,proto3" json:"cpe_found,omitempty"` // contains filtered or unexported fields }
func (*Detection_DetectionTypeNVDAPI) Descriptor
deprecated
func (*Detection_DetectionTypeNVDAPI) Descriptor() ([]byte, []int)
Deprecated: Use Detection_DetectionTypeNVDAPI.ProtoReflect.Descriptor instead.
func (*Detection_DetectionTypeNVDAPI) GetCpeFound ¶
func (x *Detection_DetectionTypeNVDAPI) GetCpeFound() string
func (*Detection_DetectionTypeNVDAPI) GetCpeSearched ¶
func (x *Detection_DetectionTypeNVDAPI) GetCpeSearched() string
func (*Detection_DetectionTypeNVDAPI) ProtoMessage ¶
func (*Detection_DetectionTypeNVDAPI) ProtoMessage()
func (*Detection_DetectionTypeNVDAPI) ProtoReflect ¶
func (x *Detection_DetectionTypeNVDAPI) ProtoReflect() protoreflect.Message
func (*Detection_DetectionTypeNVDAPI) Reset ¶
func (x *Detection_DetectionTypeNVDAPI) Reset()
func (*Detection_DetectionTypeNVDAPI) String ¶
func (x *Detection_DetectionTypeNVDAPI) String() string
type Detection_Manual ¶
type Detection_Manual struct {
Manual *Detection_DetectionTypeManual `protobuf:"bytes,2,opt,name=manual,proto3,oneof"`
}
type Detection_Nvdapi ¶
type Detection_Nvdapi struct {
Nvdapi *Detection_DetectionTypeNVDAPI `protobuf:"bytes,1,opt,name=nvdapi,proto3,oneof"`
}
type Document ¶
type Document struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Advisories []*Advisory `protobuf:"bytes,2,rep,name=advisories,proto3" json:"advisories,omitempty"` // contains filtered or unexported fields }
func (*Document) Descriptor
deprecated
func (*Document) GetAdvisories ¶
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) ProtoReflect ¶
func (x *Document) ProtoReflect() protoreflect.Message
type DocumentFilter ¶
type DocumentFilter struct { // id is the id of a package. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Cves []string `protobuf:"bytes,2,rep,name=cves,proto3" json:"cves,omitempty"` // contains filtered or unexported fields }
func (*DocumentFilter) Descriptor
deprecated
func (*DocumentFilter) Descriptor() ([]byte, []int)
Deprecated: Use DocumentFilter.ProtoReflect.Descriptor instead.
func (*DocumentFilter) GetCves ¶
func (x *DocumentFilter) GetCves() []string
func (*DocumentFilter) GetId ¶
func (x *DocumentFilter) GetId() string
func (*DocumentFilter) ProtoMessage ¶
func (*DocumentFilter) ProtoMessage()
func (*DocumentFilter) ProtoReflect ¶
func (x *DocumentFilter) ProtoReflect() protoreflect.Message
func (*DocumentFilter) Reset ¶
func (x *DocumentFilter) Reset()
func (*DocumentFilter) String ¶
func (x *DocumentFilter) String() string
type DocumentList ¶
type DocumentList struct { Items []*Document `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*DocumentList) Descriptor
deprecated
func (*DocumentList) Descriptor() ([]byte, []int)
Deprecated: Use DocumentList.ProtoReflect.Descriptor instead.
func (*DocumentList) GetItems ¶
func (x *DocumentList) GetItems() []*Document
func (*DocumentList) ProtoMessage ¶
func (*DocumentList) ProtoMessage()
func (*DocumentList) ProtoReflect ¶
func (x *DocumentList) ProtoReflect() protoreflect.Message
func (*DocumentList) Reset ¶
func (x *DocumentList) Reset()
func (*DocumentList) String ¶
func (x *DocumentList) String() string
type Event ¶
type Event struct { Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Types that are assignable to Data: // // *Event_TruePositiveDetermination // *Event_FalsePositiveDetermination // *Event_Fixed // *Event_Detection // *Event_AnalysisNotPlanned // *Event_FixNotPlanned // *Event_PendingUpstreamFix Data isEvent_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetAnalysisNotPlanned ¶
func (x *Event) GetAnalysisNotPlanned() *AnalysisNotPlanned
func (*Event) GetDetection ¶
func (*Event) GetFalsePositiveDetermination ¶
func (x *Event) GetFalsePositiveDetermination() *FalsePositiveDetermination
func (*Event) GetFixNotPlanned ¶
func (x *Event) GetFixNotPlanned() *FixNotPlanned
func (*Event) GetPendingUpstreamFix ¶
func (x *Event) GetPendingUpstreamFix() *PendingUpstreamFix
func (*Event) GetTimestamp ¶
func (x *Event) GetTimestamp() *timestamppb.Timestamp
func (*Event) GetTruePositiveDetermination ¶
func (x *Event) GetTruePositiveDetermination() *TruePositiveDetermination
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Event_AnalysisNotPlanned ¶
type Event_AnalysisNotPlanned struct {
AnalysisNotPlanned *AnalysisNotPlanned `protobuf:"bytes,14,opt,name=analysis_not_planned,json=analysisNotPlanned,proto3,oneof"`
}
type Event_Detection ¶
type Event_Detection struct {
Detection *Detection `protobuf:"bytes,13,opt,name=detection,proto3,oneof"`
}
type Event_FalsePositiveDetermination ¶
type Event_FalsePositiveDetermination struct {
FalsePositiveDetermination *FalsePositiveDetermination `protobuf:"bytes,11,opt,name=false_positive_determination,json=falsePositiveDetermination,proto3,oneof"`
}
type Event_FixNotPlanned ¶
type Event_FixNotPlanned struct {
FixNotPlanned *FixNotPlanned `protobuf:"bytes,15,opt,name=fix_not_planned,json=fixNotPlanned,proto3,oneof"`
}
type Event_Fixed ¶
type Event_Fixed struct {
Fixed *Fixed `protobuf:"bytes,12,opt,name=fixed,proto3,oneof"`
}
type Event_PendingUpstreamFix ¶
type Event_PendingUpstreamFix struct {
PendingUpstreamFix *PendingUpstreamFix `protobuf:"bytes,16,opt,name=pending_upstream_fix,json=pendingUpstreamFix,proto3,oneof"`
}
type Event_TruePositiveDetermination ¶
type Event_TruePositiveDetermination struct {
TruePositiveDetermination *TruePositiveDetermination `protobuf:"bytes,10,opt,name=true_positive_determination,json=truePositiveDetermination,proto3,oneof"`
}
type FalsePositiveDetermination ¶
type FalsePositiveDetermination struct { Type FalsePositiveDetermination_Type `` /* 128-byte string literal not displayed */ Note string `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` // contains filtered or unexported fields }
func (*FalsePositiveDetermination) Descriptor
deprecated
func (*FalsePositiveDetermination) Descriptor() ([]byte, []int)
Deprecated: Use FalsePositiveDetermination.ProtoReflect.Descriptor instead.
func (*FalsePositiveDetermination) GetNote ¶
func (x *FalsePositiveDetermination) GetNote() string
func (*FalsePositiveDetermination) GetType ¶
func (x *FalsePositiveDetermination) GetType() FalsePositiveDetermination_Type
func (*FalsePositiveDetermination) ProtoMessage ¶
func (*FalsePositiveDetermination) ProtoMessage()
func (*FalsePositiveDetermination) ProtoReflect ¶
func (x *FalsePositiveDetermination) ProtoReflect() protoreflect.Message
func (*FalsePositiveDetermination) Reset ¶
func (x *FalsePositiveDetermination) Reset()
func (*FalsePositiveDetermination) String ¶
func (x *FalsePositiveDetermination) String() string
type FalsePositiveDetermination_Type ¶
type FalsePositiveDetermination_Type int32
const ( // The "unset" value. FalsePositiveDetermination_FPT_TYPE_UNSPECIFIED FalsePositiveDetermination_Type = 0 // VEX: vulnerable_code_not_present. FalsePositiveDetermination_FPT_TYPE_VULNERABILITY_RECORD_ANALYSIS_CONTESTED FalsePositiveDetermination_Type = 1 // VEX: component_not_present. FalsePositiveDetermination_FPT_TYPE_COMPONENT_VULNERABILITY_MISMATCH FalsePositiveDetermination_Type = 2 // VEX: vulnerable_code_not_present. FalsePositiveDetermination_FPT_TYPE_VULNERABLE_CODE_VERSION_NOT_USED FalsePositiveDetermination_Type = 3 // VEX: vulnerable_code_not_present. FalsePositiveDetermination_FPT_TYPE_VULNERABLE_CODE_NOT_INCLUDED_IN_PACKAGE FalsePositiveDetermination_Type = 4 // VEX: vulnerable_code_not_in_execute_path. FalsePositiveDetermination_FPT_TYPE_VULNERABLE_CODE_NOT_IN_EXECUTION_PATH FalsePositiveDetermination_Type = 5 // VEX: vulnerable_code_cannot_be_controlled_by_adversary. FalsePositiveDetermination_FPT_TYPE_VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY FalsePositiveDetermination_Type = 6 // VEX: inline_mitigations_already_exist. FalsePositiveDetermination_FPT_TYPE_INLINE_MITIGATIONS_EXIST FalsePositiveDetermination_Type = 7 )
func (FalsePositiveDetermination_Type) Descriptor ¶
func (FalsePositiveDetermination_Type) Descriptor() protoreflect.EnumDescriptor
func (FalsePositiveDetermination_Type) Enum ¶
func (x FalsePositiveDetermination_Type) Enum() *FalsePositiveDetermination_Type
func (FalsePositiveDetermination_Type) EnumDescriptor
deprecated
func (FalsePositiveDetermination_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use FalsePositiveDetermination_Type.Descriptor instead.
func (FalsePositiveDetermination_Type) Number ¶
func (x FalsePositiveDetermination_Type) Number() protoreflect.EnumNumber
func (FalsePositiveDetermination_Type) String ¶
func (x FalsePositiveDetermination_Type) String() string
func (FalsePositiveDetermination_Type) Type ¶
func (FalsePositiveDetermination_Type) Type() protoreflect.EnumType
type FixNotPlanned ¶
type FixNotPlanned struct { Note string `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` // contains filtered or unexported fields }
func (*FixNotPlanned) Descriptor
deprecated
func (*FixNotPlanned) Descriptor() ([]byte, []int)
Deprecated: Use FixNotPlanned.ProtoReflect.Descriptor instead.
func (*FixNotPlanned) GetNote ¶
func (x *FixNotPlanned) GetNote() string
func (*FixNotPlanned) ProtoMessage ¶
func (*FixNotPlanned) ProtoMessage()
func (*FixNotPlanned) ProtoReflect ¶
func (x *FixNotPlanned) ProtoReflect() protoreflect.Message
func (*FixNotPlanned) Reset ¶
func (x *FixNotPlanned) Reset()
func (*FixNotPlanned) String ¶
func (x *FixNotPlanned) String() string
type Fixed ¶
type Fixed struct { FixedVersion string `protobuf:"bytes,1,opt,name=fixed_version,json=fixedVersion,proto3" json:"fixed_version,omitempty"` // contains filtered or unexported fields }
func (*Fixed) Descriptor
deprecated
func (*Fixed) GetFixedVersion ¶
func (*Fixed) ProtoMessage ¶
func (*Fixed) ProtoMessage()
func (*Fixed) ProtoReflect ¶
func (x *Fixed) ProtoReflect() protoreflect.Message
type PendingUpstreamFix ¶
type PendingUpstreamFix struct { Note string `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` // contains filtered or unexported fields }
func (*PendingUpstreamFix) Descriptor
deprecated
func (*PendingUpstreamFix) Descriptor() ([]byte, []int)
Deprecated: Use PendingUpstreamFix.ProtoReflect.Descriptor instead.
func (*PendingUpstreamFix) GetNote ¶
func (x *PendingUpstreamFix) GetNote() string
func (*PendingUpstreamFix) ProtoMessage ¶
func (*PendingUpstreamFix) ProtoMessage()
func (*PendingUpstreamFix) ProtoReflect ¶
func (x *PendingUpstreamFix) ProtoReflect() protoreflect.Message
func (*PendingUpstreamFix) Reset ¶
func (x *PendingUpstreamFix) Reset()
func (*PendingUpstreamFix) String ¶
func (x *PendingUpstreamFix) String() string
type SecurityAdvisoryClient ¶
type SecurityAdvisoryClient interface {
ListDocuments(ctx context.Context, in *DocumentFilter, opts ...grpc.CallOption) (*DocumentList, error)
}
SecurityAdvisoryClient is the client API for SecurityAdvisory service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSecurityAdvisoryClient ¶
func NewSecurityAdvisoryClient(cc grpc.ClientConnInterface) SecurityAdvisoryClient
type SecurityAdvisoryServer ¶
type SecurityAdvisoryServer interface { ListDocuments(context.Context, *DocumentFilter) (*DocumentList, error) // contains filtered or unexported methods }
SecurityAdvisoryServer is the server API for SecurityAdvisory service. All implementations must embed UnimplementedSecurityAdvisoryServer for forward compatibility
type TruePositiveDetermination ¶
type TruePositiveDetermination struct { Note string `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` // contains filtered or unexported fields }
func (*TruePositiveDetermination) Descriptor
deprecated
func (*TruePositiveDetermination) Descriptor() ([]byte, []int)
Deprecated: Use TruePositiveDetermination.ProtoReflect.Descriptor instead.
func (*TruePositiveDetermination) GetNote ¶
func (x *TruePositiveDetermination) GetNote() string
func (*TruePositiveDetermination) ProtoMessage ¶
func (*TruePositiveDetermination) ProtoMessage()
func (*TruePositiveDetermination) ProtoReflect ¶
func (x *TruePositiveDetermination) ProtoReflect() protoreflect.Message
func (*TruePositiveDetermination) Reset ¶
func (x *TruePositiveDetermination) Reset()
func (*TruePositiveDetermination) String ¶
func (x *TruePositiveDetermination) String() string
type UnimplementedSecurityAdvisoryServer ¶
type UnimplementedSecurityAdvisoryServer struct { }
UnimplementedSecurityAdvisoryServer must be embedded to have forward compatible implementations.
func (UnimplementedSecurityAdvisoryServer) ListDocuments ¶
func (UnimplementedSecurityAdvisoryServer) ListDocuments(context.Context, *DocumentFilter) (*DocumentList, error)
type UnsafeSecurityAdvisoryServer ¶
type UnsafeSecurityAdvisoryServer interface {
// contains filtered or unexported methods
}
UnsafeSecurityAdvisoryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecurityAdvisoryServer will result in compilation errors.