Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAgentPluginServer(s grpc.ServiceRegistrar, srv AgentPluginServer)
- func RegisterKernelOpenTracerServer(s grpc.ServiceRegistrar, srv KernelOpenTracerServer)
- func RegisterKernelTracerServer(s grpc.ServiceRegistrar, srv KernelTracerServer)
- func RegisterMalwareScannerServer(s grpc.ServiceRegistrar, srv MalwareScannerServer)
- func RegisterPackageScannerServer(s grpc.ServiceRegistrar, srv PackageScannerServer)
- func RegisterScannersServer(s grpc.ServiceRegistrar, srv ScannersServer)
- func RegisterSecretScannerServer(s grpc.ServiceRegistrar, srv SecretScannerServer)
- type AgentPluginClient
- type AgentPluginServer
- type BillOfMaterials
- type Container
- type DockerImage
- type Empty
- type Feature
- type FindRequest
- func (*FindRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindRequest) GetContainer() *Container
- func (x *FindRequest) GetImage() *DockerImage
- func (m *FindRequest) GetInput() isFindRequest_Input
- func (x *FindRequest) GetPath() string
- func (x *FindRequest) GetScanId() string
- func (*FindRequest) ProtoMessage()
- func (x *FindRequest) ProtoReflect() protoreflect.Message
- func (x *FindRequest) Reset()
- func (x *FindRequest) String() string
- type FindRequest_Container
- type FindRequest_Image
- type FindRequest_Path
- type FindResult
- func (*FindResult) Descriptor() ([]byte, []int)deprecated
- func (x *FindResult) GetContainer() *Container
- func (x *FindResult) GetImage() *DockerImage
- func (m *FindResult) GetInput() isFindResult_Input
- func (x *FindResult) GetPath() string
- func (x *FindResult) GetSecrets() []*SecretInfo
- func (x *FindResult) GetTimestamp() string
- func (*FindResult) ProtoMessage()
- func (x *FindResult) ProtoReflect() protoreflect.Message
- func (x *FindResult) Reset()
- func (x *FindResult) String() string
- type FindResult_Container
- type FindResult_Image
- type FindResult_Path
- type JobReports
- type KernelFeatures
- type KernelInfo
- type KernelOpenTracerClient
- type KernelOpenTracerServer
- type KernelOpenTracer_GetTraceInfoClient
- type KernelOpenTracer_GetTraceInfoServer
- type KernelTracerClient
- type KernelTracerServer
- type KernelVersion
- func (*KernelVersion) Descriptor() ([]byte, []int)deprecated
- func (x *KernelVersion) GetMajor() string
- func (x *KernelVersion) GetMinor() string
- func (x *KernelVersion) GetPatch() string
- func (*KernelVersion) ProtoMessage()
- func (x *KernelVersion) ProtoReflect() protoreflect.Message
- func (x *KernelVersion) Reset()
- func (x *KernelVersion) String() string
- type MalwareContainer
- func (*MalwareContainer) Descriptor() ([]byte, []int)deprecated
- func (x *MalwareContainer) GetId() string
- func (x *MalwareContainer) GetNamespace() string
- func (*MalwareContainer) ProtoMessage()
- func (x *MalwareContainer) ProtoReflect() protoreflect.Message
- func (x *MalwareContainer) Reset()
- func (x *MalwareContainer) String() string
- type MalwareDockerImage
- func (*MalwareDockerImage) Descriptor() ([]byte, []int)deprecated
- func (x *MalwareDockerImage) GetId() string
- func (x *MalwareDockerImage) GetName() string
- func (*MalwareDockerImage) ProtoMessage()
- func (x *MalwareDockerImage) ProtoReflect() protoreflect.Message
- func (x *MalwareDockerImage) Reset()
- func (x *MalwareDockerImage) String() string
- type MalwareInfo
- func (*MalwareInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MalwareInfo) GetClass() string
- func (x *MalwareInfo) GetCompleteFilename() string
- func (x *MalwareInfo) GetFileSevScore() float64
- func (x *MalwareInfo) GetFileSeverity() string
- func (x *MalwareInfo) GetImageLayerId() string
- func (x *MalwareInfo) GetMeta() []string
- func (x *MalwareInfo) GetMetaRules() map[string]string
- func (x *MalwareInfo) GetRuleName() string
- func (x *MalwareInfo) GetSeverityScore() float64
- func (x *MalwareInfo) GetStringsToMatch() []string
- func (x *MalwareInfo) GetSummary() string
- func (*MalwareInfo) ProtoMessage()
- func (x *MalwareInfo) ProtoReflect() protoreflect.Message
- func (x *MalwareInfo) Reset()
- func (x *MalwareInfo) String() string
- type MalwareRequest
- func (*MalwareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MalwareRequest) GetContainer() *MalwareContainer
- func (x *MalwareRequest) GetImage() *MalwareDockerImage
- func (m *MalwareRequest) GetInput() isMalwareRequest_Input
- func (x *MalwareRequest) GetPath() string
- func (x *MalwareRequest) GetScanId() string
- func (*MalwareRequest) ProtoMessage()
- func (x *MalwareRequest) ProtoReflect() protoreflect.Message
- func (x *MalwareRequest) Reset()
- func (x *MalwareRequest) String() string
- type MalwareRequest_Container
- type MalwareRequest_Image
- type MalwareRequest_Path
- type MalwareResult
- func (*MalwareResult) Descriptor() ([]byte, []int)deprecated
- func (x *MalwareResult) GetContainer() *MalwareContainer
- func (x *MalwareResult) GetImage() *MalwareDockerImage
- func (m *MalwareResult) GetInput() isMalwareResult_Input
- func (x *MalwareResult) GetMalwares() []*MalwareInfo
- func (x *MalwareResult) GetPath() string
- func (x *MalwareResult) GetTimestamp() string
- func (*MalwareResult) ProtoMessage()
- func (x *MalwareResult) ProtoReflect() protoreflect.Message
- func (x *MalwareResult) Reset()
- func (x *MalwareResult) String() string
- type MalwareResult_Container
- type MalwareResult_Image
- type MalwareResult_Path
- type MalwareScannerClient
- type MalwareScannerServer
- type Match
- func (*Match) Descriptor() ([]byte, []int)deprecated
- func (x *Match) GetFullFilename() string
- func (x *Match) GetMatchedContent() string
- func (x *Match) GetRelativeEndingIndex() int64
- func (x *Match) GetRelativeStartingIndex() int64
- func (x *Match) GetStartingIndex() int64
- func (*Match) ProtoMessage()
- func (x *Match) ProtoReflect() protoreflect.Message
- func (x *Match) Reset()
- func (x *Match) String() string
- type MatchRule
- func (*MatchRule) Descriptor() ([]byte, []int)deprecated
- func (x *MatchRule) GetId() int32
- func (x *MatchRule) GetName() string
- func (x *MatchRule) GetPart() string
- func (x *MatchRule) GetSignatureToMatch() string
- func (x *MatchRule) GetStringToMatch() string
- func (*MatchRule) ProtoMessage()
- func (x *MatchRule) ProtoReflect() protoreflect.Message
- func (x *MatchRule) Reset()
- func (x *MatchRule) String() string
- type Material
- type Metrics
- func (*Metrics) Descriptor() ([]byte, []int)deprecated
- func (x *Metrics) GetEbfBufferCapacity() uint64
- func (x *Metrics) GetEventFailureCount() uint64
- func (x *Metrics) GetEventSkipCount() uint64
- func (x *Metrics) GetEventSuccessCount() uint64
- func (*Metrics) ProtoMessage()
- func (x *Metrics) ProtoReflect() protoreflect.Message
- func (x *Metrics) Reset()
- func (x *Metrics) String() string
- type Name
- type PackageScannerClient
- type PackageScannerServer
- type SBOMRequest
- func (*SBOMRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SBOMRequest) GetContainerId() string
- func (x *SBOMRequest) GetContainerName() string
- func (x *SBOMRequest) GetHostName() string
- func (x *SBOMRequest) GetImageId() string
- func (x *SBOMRequest) GetImageName() string
- func (x *SBOMRequest) GetKubernetesClusterName() string
- func (x *SBOMRequest) GetNodeType() string
- func (x *SBOMRequest) GetRegistryId() string
- func (x *SBOMRequest) GetScanId() string
- func (x *SBOMRequest) GetScanType() string
- func (x *SBOMRequest) GetSource() string
- func (*SBOMRequest) ProtoMessage()
- func (x *SBOMRequest) ProtoReflect() protoreflect.Message
- func (x *SBOMRequest) Reset()
- func (x *SBOMRequest) String() string
- type SBOMResult
- type ScannersClient
- type ScannersServer
- type SecretInfo
- func (*SecretInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SecretInfo) GetImageLayerId() string
- func (x *SecretInfo) GetMatch() *Match
- func (x *SecretInfo) GetRule() *MatchRule
- func (x *SecretInfo) GetSeverity() *Severity
- func (*SecretInfo) ProtoMessage()
- func (x *SecretInfo) ProtoReflect() protoreflect.Message
- func (x *SecretInfo) Reset()
- func (x *SecretInfo) String() string
- type SecretScannerClient
- type SecretScannerServer
- type Severity
- type StopScanRequest
- type StopScanResult
- func (*StopScanResult) Descriptor() ([]byte, []int)deprecated
- func (x *StopScanResult) GetDescription() string
- func (x *StopScanResult) GetSuccess() bool
- func (*StopScanResult) ProtoMessage()
- func (x *StopScanResult) ProtoReflect() protoreflect.Message
- func (x *StopScanResult) Reset()
- func (x *StopScanResult) String() string
- type TraceInfo
- type TraceInfoRequest
- type Uid
- type UnimplementedAgentPluginServer
- type UnimplementedKernelOpenTracerServer
- func (UnimplementedKernelOpenTracerServer) ClearBillOfMaterials(context.Context, *Empty) (*Empty, error)
- func (UnimplementedKernelOpenTracerServer) GetBillOfMaterials(context.Context, *Empty) (*BillOfMaterials, error)
- func (UnimplementedKernelOpenTracerServer) GetTraceInfo(*TraceInfoRequest, KernelOpenTracer_GetTraceInfoServer) error
- type UnimplementedKernelTracerServer
- type UnimplementedMalwareScannerServer
- type UnimplementedPackageScannerServer
- type UnimplementedScannersServer
- type UnimplementedSecretScannerServer
- type UnsafeAgentPluginServer
- type UnsafeKernelOpenTracerServer
- type UnsafeKernelTracerServer
- type UnsafeMalwareScannerServer
- type UnsafePackageScannerServer
- type UnsafeScannersServer
- type UnsafeSecretScannerServer
Constants ¶
const ( AgentPlugin_GetName_FullMethodName = "/agent_plugin.AgentPlugin/GetName" AgentPlugin_GetUID_FullMethodName = "/agent_plugin.AgentPlugin/GetUID" )
const ( KernelTracer_GetKernelSupport_FullMethodName = "/kernel_tracer.KernelTracer/GetKernelSupport" KernelTracer_GetMetrics_FullMethodName = "/kernel_tracer.KernelTracer/GetMetrics" KernelTracer_GetFeatures_FullMethodName = "/kernel_tracer.KernelTracer/GetFeatures" )
const ( KernelOpenTracer_GetTraceInfo_FullMethodName = "/open_tracer.KernelOpenTracer/GetTraceInfo" KernelOpenTracer_GetBillOfMaterials_FullMethodName = "/open_tracer.KernelOpenTracer/GetBillOfMaterials" KernelOpenTracer_ClearBillOfMaterials_FullMethodName = "/open_tracer.KernelOpenTracer/ClearBillOfMaterials" )
const ( Scanners_ReportJobsStatus_FullMethodName = "/scanners.Scanners/ReportJobsStatus" Scanners_StopScan_FullMethodName = "/scanners.Scanners/StopScan" )
const (
MalwareScanner_FindMalwareInfo_FullMethodName = "/malware_scanner.MalwareScanner/FindMalwareInfo"
)
const (
PackageScanner_GenerateSBOM_FullMethodName = "/package_scanner.PackageScanner/GenerateSBOM"
)
const (
SecretScanner_FindSecretInfo_FullMethodName = "/secret_scanner.SecretScanner/FindSecretInfo"
)
Variables ¶
var ( Feature_name = map[int32]string{ 0: "eBPF", } Feature_value = map[string]int32{ "eBPF": 0, } )
Enum value maps for Feature.
var AgentPlugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "agent_plugin.AgentPlugin", HandlerType: (*AgentPluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetName", Handler: _AgentPlugin_GetName_Handler, }, { MethodName: "GetUID", Handler: _AgentPlugin_GetUID_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "agent_plugin.proto", }
AgentPlugin_ServiceDesc is the grpc.ServiceDesc for AgentPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_agent_plugin_proto protoreflect.FileDescriptor
var File_common_proto protoreflect.FileDescriptor
var File_kernel_tracer_proto protoreflect.FileDescriptor
var File_malware_scanner_proto protoreflect.FileDescriptor
var File_open_tracer_proto protoreflect.FileDescriptor
var File_package_scanner_proto protoreflect.FileDescriptor
var File_scanners_proto protoreflect.FileDescriptor
var File_secret_scanner_proto protoreflect.FileDescriptor
var KernelOpenTracer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "open_tracer.KernelOpenTracer", HandlerType: (*KernelOpenTracerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetBillOfMaterials", Handler: _KernelOpenTracer_GetBillOfMaterials_Handler, }, { MethodName: "ClearBillOfMaterials", Handler: _KernelOpenTracer_ClearBillOfMaterials_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetTraceInfo", Handler: _KernelOpenTracer_GetTraceInfo_Handler, ServerStreams: true, }, }, Metadata: "open_tracer.proto", }
KernelOpenTracer_ServiceDesc is the grpc.ServiceDesc for KernelOpenTracer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var KernelTracer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kernel_tracer.KernelTracer", HandlerType: (*KernelTracerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetKernelSupport", Handler: _KernelTracer_GetKernelSupport_Handler, }, { MethodName: "GetMetrics", Handler: _KernelTracer_GetMetrics_Handler, }, { MethodName: "GetFeatures", Handler: _KernelTracer_GetFeatures_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "kernel_tracer.proto", }
KernelTracer_ServiceDesc is the grpc.ServiceDesc for KernelTracer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MalwareScanner_ServiceDesc = grpc.ServiceDesc{ ServiceName: "malware_scanner.MalwareScanner", HandlerType: (*MalwareScannerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FindMalwareInfo", Handler: _MalwareScanner_FindMalwareInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "malware_scanner.proto", }
MalwareScanner_ServiceDesc is the grpc.ServiceDesc for MalwareScanner service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PackageScanner_ServiceDesc = grpc.ServiceDesc{ ServiceName: "package_scanner.PackageScanner", HandlerType: (*PackageScannerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GenerateSBOM", Handler: _PackageScanner_GenerateSBOM_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "package_scanner.proto", }
PackageScanner_ServiceDesc is the grpc.ServiceDesc for PackageScanner service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Scanners_ServiceDesc = grpc.ServiceDesc{ ServiceName: "scanners.Scanners", HandlerType: (*ScannersServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ReportJobsStatus", Handler: _Scanners_ReportJobsStatus_Handler, }, { MethodName: "StopScan", Handler: _Scanners_StopScan_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "scanners.proto", }
Scanners_ServiceDesc is the grpc.ServiceDesc for Scanners service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SecretScanner_ServiceDesc = grpc.ServiceDesc{ ServiceName: "secret_scanner.SecretScanner", HandlerType: (*SecretScannerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FindSecretInfo", Handler: _SecretScanner_FindSecretInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "secret_scanner.proto", }
SecretScanner_ServiceDesc is the grpc.ServiceDesc for SecretScanner service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAgentPluginServer ¶
func RegisterAgentPluginServer(s grpc.ServiceRegistrar, srv AgentPluginServer)
func RegisterKernelOpenTracerServer ¶
func RegisterKernelOpenTracerServer(s grpc.ServiceRegistrar, srv KernelOpenTracerServer)
func RegisterKernelTracerServer ¶
func RegisterKernelTracerServer(s grpc.ServiceRegistrar, srv KernelTracerServer)
func RegisterMalwareScannerServer ¶
func RegisterMalwareScannerServer(s grpc.ServiceRegistrar, srv MalwareScannerServer)
func RegisterPackageScannerServer ¶
func RegisterPackageScannerServer(s grpc.ServiceRegistrar, srv PackageScannerServer)
func RegisterScannersServer ¶
func RegisterScannersServer(s grpc.ServiceRegistrar, srv ScannersServer)
func RegisterSecretScannerServer ¶
func RegisterSecretScannerServer(s grpc.ServiceRegistrar, srv SecretScannerServer)
Types ¶
type AgentPluginClient ¶
type AgentPluginClient interface { GetName(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Name, error) GetUID(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Uid, error) }
AgentPluginClient is the client API for AgentPlugin 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 NewAgentPluginClient ¶
func NewAgentPluginClient(cc grpc.ClientConnInterface) AgentPluginClient
type AgentPluginServer ¶
type AgentPluginServer interface { GetName(context.Context, *Empty) (*Name, error) GetUID(context.Context, *Empty) (*Uid, error) // contains filtered or unexported methods }
AgentPluginServer is the server API for AgentPlugin service. All implementations must embed UnimplementedAgentPluginServer for forward compatibility
type BillOfMaterials ¶
type BillOfMaterials struct { Materials []*Material `protobuf:"bytes,1,rep,name=materials,proto3" json:"materials,omitempty"` // contains filtered or unexported fields }
func (*BillOfMaterials) Descriptor
deprecated
func (*BillOfMaterials) Descriptor() ([]byte, []int)
Deprecated: Use BillOfMaterials.ProtoReflect.Descriptor instead.
func (*BillOfMaterials) GetMaterials ¶
func (x *BillOfMaterials) GetMaterials() []*Material
func (*BillOfMaterials) ProtoMessage ¶
func (*BillOfMaterials) ProtoMessage()
func (*BillOfMaterials) ProtoReflect ¶
func (x *BillOfMaterials) ProtoReflect() protoreflect.Message
func (*BillOfMaterials) Reset ¶
func (x *BillOfMaterials) Reset()
func (*BillOfMaterials) String ¶
func (x *BillOfMaterials) String() string
type Container ¶
type Container struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*Container) Descriptor
deprecated
func (*Container) GetNamespace ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
type DockerImage ¶
type DockerImage struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DockerImage) Descriptor
deprecated
func (*DockerImage) Descriptor() ([]byte, []int)
Deprecated: Use DockerImage.ProtoReflect.Descriptor instead.
func (*DockerImage) GetId ¶
func (x *DockerImage) GetId() string
func (*DockerImage) GetName ¶
func (x *DockerImage) GetName() string
func (*DockerImage) ProtoMessage ¶
func (*DockerImage) ProtoMessage()
func (*DockerImage) ProtoReflect ¶
func (x *DockerImage) ProtoReflect() protoreflect.Message
func (*DockerImage) Reset ¶
func (x *DockerImage) Reset()
func (*DockerImage) String ¶
func (x *DockerImage) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Feature ¶
type Feature int32
const (
Feature_eBPF Feature = 0
)
func (Feature) Descriptor ¶
func (Feature) Descriptor() protoreflect.EnumDescriptor
func (Feature) EnumDescriptor
deprecated
func (Feature) Number ¶
func (x Feature) Number() protoreflect.EnumNumber
func (Feature) Type ¶
func (Feature) Type() protoreflect.EnumType
type FindRequest ¶
type FindRequest struct { // Types that are assignable to Input: // // *FindRequest_Path // *FindRequest_Image // *FindRequest_Container Input isFindRequest_Input `protobuf_oneof:"input"` ScanId string `protobuf:"bytes,4,opt,name=scan_id,json=scanId,proto3" json:"scan_id,omitempty"` // contains filtered or unexported fields }
func (*FindRequest) Descriptor
deprecated
func (*FindRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindRequest.ProtoReflect.Descriptor instead.
func (*FindRequest) GetContainer ¶
func (x *FindRequest) GetContainer() *Container
func (*FindRequest) GetImage ¶
func (x *FindRequest) GetImage() *DockerImage
func (*FindRequest) GetInput ¶
func (m *FindRequest) GetInput() isFindRequest_Input
func (*FindRequest) GetPath ¶
func (x *FindRequest) GetPath() string
func (*FindRequest) GetScanId ¶
func (x *FindRequest) GetScanId() string
func (*FindRequest) ProtoMessage ¶
func (*FindRequest) ProtoMessage()
func (*FindRequest) ProtoReflect ¶
func (x *FindRequest) ProtoReflect() protoreflect.Message
func (*FindRequest) Reset ¶
func (x *FindRequest) Reset()
func (*FindRequest) String ¶
func (x *FindRequest) String() string
type FindRequest_Container ¶
type FindRequest_Container struct {
Container *Container `protobuf:"bytes,3,opt,name=container,proto3,oneof"`
}
type FindRequest_Image ¶
type FindRequest_Image struct {
Image *DockerImage `protobuf:"bytes,2,opt,name=image,proto3,oneof"`
}
type FindRequest_Path ¶
type FindRequest_Path struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"`
}
type FindResult ¶
type FindResult struct { // Types that are assignable to Input: // // *FindResult_Path // *FindResult_Image // *FindResult_Container Input isFindResult_Input `protobuf_oneof:"input"` Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Secrets []*SecretInfo `protobuf:"bytes,5,rep,name=secrets,proto3" json:"secrets,omitempty"` // contains filtered or unexported fields }
func (*FindResult) Descriptor
deprecated
func (*FindResult) Descriptor() ([]byte, []int)
Deprecated: Use FindResult.ProtoReflect.Descriptor instead.
func (*FindResult) GetContainer ¶
func (x *FindResult) GetContainer() *Container
func (*FindResult) GetImage ¶
func (x *FindResult) GetImage() *DockerImage
func (*FindResult) GetInput ¶
func (m *FindResult) GetInput() isFindResult_Input
func (*FindResult) GetPath ¶
func (x *FindResult) GetPath() string
func (*FindResult) GetSecrets ¶
func (x *FindResult) GetSecrets() []*SecretInfo
func (*FindResult) GetTimestamp ¶
func (x *FindResult) GetTimestamp() string
func (*FindResult) ProtoMessage ¶
func (*FindResult) ProtoMessage()
func (*FindResult) ProtoReflect ¶
func (x *FindResult) ProtoReflect() protoreflect.Message
func (*FindResult) Reset ¶
func (x *FindResult) Reset()
func (*FindResult) String ¶
func (x *FindResult) String() string
type FindResult_Container ¶
type FindResult_Container struct {
Container *Container `protobuf:"bytes,3,opt,name=container,proto3,oneof"`
}
type FindResult_Image ¶
type FindResult_Image struct {
Image *DockerImage `protobuf:"bytes,2,opt,name=image,proto3,oneof"`
}
type FindResult_Path ¶
type FindResult_Path struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"`
}
type JobReports ¶
type JobReports struct { RunningJobs int32 `protobuf:"varint,1,opt,name=running_jobs,json=runningJobs,proto3" json:"running_jobs,omitempty"` // contains filtered or unexported fields }
func (*JobReports) Descriptor
deprecated
func (*JobReports) Descriptor() ([]byte, []int)
Deprecated: Use JobReports.ProtoReflect.Descriptor instead.
func (*JobReports) GetRunningJobs ¶
func (x *JobReports) GetRunningJobs() int32
func (*JobReports) ProtoMessage ¶
func (*JobReports) ProtoMessage()
func (*JobReports) ProtoReflect ¶
func (x *JobReports) ProtoReflect() protoreflect.Message
func (*JobReports) Reset ¶
func (x *JobReports) Reset()
func (*JobReports) String ¶
func (x *JobReports) String() string
type KernelFeatures ¶
type KernelFeatures struct { Features []Feature `protobuf:"varint,1,rep,packed,name=features,proto3,enum=kernel_tracer.Feature" json:"features,omitempty"` // contains filtered or unexported fields }
func (*KernelFeatures) Descriptor
deprecated
func (*KernelFeatures) Descriptor() ([]byte, []int)
Deprecated: Use KernelFeatures.ProtoReflect.Descriptor instead.
func (*KernelFeatures) GetFeatures ¶
func (x *KernelFeatures) GetFeatures() []Feature
func (*KernelFeatures) ProtoMessage ¶
func (*KernelFeatures) ProtoMessage()
func (*KernelFeatures) ProtoReflect ¶
func (x *KernelFeatures) ProtoReflect() protoreflect.Message
func (*KernelFeatures) Reset ¶
func (x *KernelFeatures) Reset()
func (*KernelFeatures) String ¶
func (x *KernelFeatures) String() string
type KernelInfo ¶
type KernelInfo struct { Version *KernelVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*KernelInfo) Descriptor
deprecated
func (*KernelInfo) Descriptor() ([]byte, []int)
Deprecated: Use KernelInfo.ProtoReflect.Descriptor instead.
func (*KernelInfo) GetVersion ¶
func (x *KernelInfo) GetVersion() *KernelVersion
func (*KernelInfo) ProtoMessage ¶
func (*KernelInfo) ProtoMessage()
func (*KernelInfo) ProtoReflect ¶
func (x *KernelInfo) ProtoReflect() protoreflect.Message
func (*KernelInfo) Reset ¶
func (x *KernelInfo) Reset()
func (*KernelInfo) String ¶
func (x *KernelInfo) String() string
type KernelOpenTracerClient ¶
type KernelOpenTracerClient interface { GetTraceInfo(ctx context.Context, in *TraceInfoRequest, opts ...grpc.CallOption) (KernelOpenTracer_GetTraceInfoClient, error) GetBillOfMaterials(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BillOfMaterials, error) ClearBillOfMaterials(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) }
KernelOpenTracerClient is the client API for KernelOpenTracer 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 NewKernelOpenTracerClient ¶
func NewKernelOpenTracerClient(cc grpc.ClientConnInterface) KernelOpenTracerClient
type KernelOpenTracerServer ¶
type KernelOpenTracerServer interface { GetTraceInfo(*TraceInfoRequest, KernelOpenTracer_GetTraceInfoServer) error GetBillOfMaterials(context.Context, *Empty) (*BillOfMaterials, error) ClearBillOfMaterials(context.Context, *Empty) (*Empty, error) // contains filtered or unexported methods }
KernelOpenTracerServer is the server API for KernelOpenTracer service. All implementations must embed UnimplementedKernelOpenTracerServer for forward compatibility
type KernelOpenTracer_GetTraceInfoClient ¶
type KernelOpenTracer_GetTraceInfoClient interface { Recv() (*TraceInfo, error) grpc.ClientStream }
type KernelOpenTracer_GetTraceInfoServer ¶
type KernelOpenTracer_GetTraceInfoServer interface { Send(*TraceInfo) error grpc.ServerStream }
type KernelTracerClient ¶
type KernelTracerClient interface { GetKernelSupport(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*KernelInfo, error) GetMetrics(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Metrics, error) GetFeatures(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*KernelFeatures, error) }
KernelTracerClient is the client API for KernelTracer 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 NewKernelTracerClient ¶
func NewKernelTracerClient(cc grpc.ClientConnInterface) KernelTracerClient
type KernelTracerServer ¶
type KernelTracerServer interface { GetKernelSupport(context.Context, *Empty) (*KernelInfo, error) GetMetrics(context.Context, *Empty) (*Metrics, error) GetFeatures(context.Context, *Empty) (*KernelFeatures, error) // contains filtered or unexported methods }
KernelTracerServer is the server API for KernelTracer service. All implementations must embed UnimplementedKernelTracerServer for forward compatibility
type KernelVersion ¶
type KernelVersion struct { Major string `protobuf:"bytes,1,opt,name=major,proto3" json:"major,omitempty"` Minor string `protobuf:"bytes,2,opt,name=minor,proto3" json:"minor,omitempty"` Patch string `protobuf:"bytes,3,opt,name=patch,proto3" json:"patch,omitempty"` // contains filtered or unexported fields }
func (*KernelVersion) Descriptor
deprecated
func (*KernelVersion) Descriptor() ([]byte, []int)
Deprecated: Use KernelVersion.ProtoReflect.Descriptor instead.
func (*KernelVersion) GetMajor ¶
func (x *KernelVersion) GetMajor() string
func (*KernelVersion) GetMinor ¶
func (x *KernelVersion) GetMinor() string
func (*KernelVersion) GetPatch ¶
func (x *KernelVersion) GetPatch() string
func (*KernelVersion) ProtoMessage ¶
func (*KernelVersion) ProtoMessage()
func (*KernelVersion) ProtoReflect ¶
func (x *KernelVersion) ProtoReflect() protoreflect.Message
func (*KernelVersion) Reset ¶
func (x *KernelVersion) Reset()
func (*KernelVersion) String ¶
func (x *KernelVersion) String() string
type MalwareContainer ¶
type MalwareContainer struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*MalwareContainer) Descriptor
deprecated
func (*MalwareContainer) Descriptor() ([]byte, []int)
Deprecated: Use MalwareContainer.ProtoReflect.Descriptor instead.
func (*MalwareContainer) GetId ¶
func (x *MalwareContainer) GetId() string
func (*MalwareContainer) GetNamespace ¶
func (x *MalwareContainer) GetNamespace() string
func (*MalwareContainer) ProtoMessage ¶
func (*MalwareContainer) ProtoMessage()
func (*MalwareContainer) ProtoReflect ¶
func (x *MalwareContainer) ProtoReflect() protoreflect.Message
func (*MalwareContainer) Reset ¶
func (x *MalwareContainer) Reset()
func (*MalwareContainer) String ¶
func (x *MalwareContainer) String() string
type MalwareDockerImage ¶
type MalwareDockerImage struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*MalwareDockerImage) Descriptor
deprecated
func (*MalwareDockerImage) Descriptor() ([]byte, []int)
Deprecated: Use MalwareDockerImage.ProtoReflect.Descriptor instead.
func (*MalwareDockerImage) GetId ¶
func (x *MalwareDockerImage) GetId() string
func (*MalwareDockerImage) GetName ¶
func (x *MalwareDockerImage) GetName() string
func (*MalwareDockerImage) ProtoMessage ¶
func (*MalwareDockerImage) ProtoMessage()
func (*MalwareDockerImage) ProtoReflect ¶
func (x *MalwareDockerImage) ProtoReflect() protoreflect.Message
func (*MalwareDockerImage) Reset ¶
func (x *MalwareDockerImage) Reset()
func (*MalwareDockerImage) String ¶
func (x *MalwareDockerImage) String() string
type MalwareInfo ¶
type MalwareInfo struct { ImageLayerId string `protobuf:"bytes,1,opt,name=image_layer_id,json=imageLayerId,proto3" json:"image_layer_id,omitempty"` RuleName string `protobuf:"bytes,2,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"` StringsToMatch []string `protobuf:"bytes,3,rep,name=strings_to_match,json=stringsToMatch,proto3" json:"strings_to_match,omitempty"` SeverityScore float64 `protobuf:"fixed64,4,opt,name=severity_score,json=severityScore,proto3" json:"severity_score,omitempty"` FileSeverity string `protobuf:"bytes,5,opt,name=file_severity,json=fileSeverity,proto3" json:"file_severity,omitempty"` FileSevScore float64 `protobuf:"fixed64,6,opt,name=file_sev_score,json=fileSevScore,proto3" json:"file_sev_score,omitempty"` CompleteFilename string `protobuf:"bytes,7,opt,name=complete_filename,json=completeFilename,proto3" json:"complete_filename,omitempty"` Meta []string `protobuf:"bytes,8,rep,name=meta,proto3" json:"meta,omitempty"` MetaRules map[string]string `` /* 176-byte string literal not displayed */ Summary string `protobuf:"bytes,10,opt,name=summary,proto3" json:"summary,omitempty"` Class string `protobuf:"bytes,11,opt,name=class,proto3" json:"class,omitempty"` // contains filtered or unexported fields }
func (*MalwareInfo) Descriptor
deprecated
func (*MalwareInfo) Descriptor() ([]byte, []int)
Deprecated: Use MalwareInfo.ProtoReflect.Descriptor instead.
func (*MalwareInfo) GetClass ¶
func (x *MalwareInfo) GetClass() string
func (*MalwareInfo) GetCompleteFilename ¶
func (x *MalwareInfo) GetCompleteFilename() string
func (*MalwareInfo) GetFileSevScore ¶
func (x *MalwareInfo) GetFileSevScore() float64
func (*MalwareInfo) GetFileSeverity ¶
func (x *MalwareInfo) GetFileSeverity() string
func (*MalwareInfo) GetImageLayerId ¶
func (x *MalwareInfo) GetImageLayerId() string
func (*MalwareInfo) GetMeta ¶
func (x *MalwareInfo) GetMeta() []string
func (*MalwareInfo) GetMetaRules ¶
func (x *MalwareInfo) GetMetaRules() map[string]string
func (*MalwareInfo) GetRuleName ¶
func (x *MalwareInfo) GetRuleName() string
func (*MalwareInfo) GetSeverityScore ¶
func (x *MalwareInfo) GetSeverityScore() float64
func (*MalwareInfo) GetStringsToMatch ¶
func (x *MalwareInfo) GetStringsToMatch() []string
func (*MalwareInfo) GetSummary ¶
func (x *MalwareInfo) GetSummary() string
func (*MalwareInfo) ProtoMessage ¶
func (*MalwareInfo) ProtoMessage()
func (*MalwareInfo) ProtoReflect ¶
func (x *MalwareInfo) ProtoReflect() protoreflect.Message
func (*MalwareInfo) Reset ¶
func (x *MalwareInfo) Reset()
func (*MalwareInfo) String ¶
func (x *MalwareInfo) String() string
type MalwareRequest ¶
type MalwareRequest struct { // Types that are assignable to Input: // // *MalwareRequest_Path // *MalwareRequest_Image // *MalwareRequest_Container Input isMalwareRequest_Input `protobuf_oneof:"input"` ScanId string `protobuf:"bytes,4,opt,name=scan_id,json=scanId,proto3" json:"scan_id,omitempty"` // contains filtered or unexported fields }
func (*MalwareRequest) Descriptor
deprecated
func (*MalwareRequest) Descriptor() ([]byte, []int)
Deprecated: Use MalwareRequest.ProtoReflect.Descriptor instead.
func (*MalwareRequest) GetContainer ¶
func (x *MalwareRequest) GetContainer() *MalwareContainer
func (*MalwareRequest) GetImage ¶
func (x *MalwareRequest) GetImage() *MalwareDockerImage
func (*MalwareRequest) GetInput ¶
func (m *MalwareRequest) GetInput() isMalwareRequest_Input
func (*MalwareRequest) GetPath ¶
func (x *MalwareRequest) GetPath() string
func (*MalwareRequest) GetScanId ¶
func (x *MalwareRequest) GetScanId() string
func (*MalwareRequest) ProtoMessage ¶
func (*MalwareRequest) ProtoMessage()
func (*MalwareRequest) ProtoReflect ¶
func (x *MalwareRequest) ProtoReflect() protoreflect.Message
func (*MalwareRequest) Reset ¶
func (x *MalwareRequest) Reset()
func (*MalwareRequest) String ¶
func (x *MalwareRequest) String() string
type MalwareRequest_Container ¶
type MalwareRequest_Container struct {
Container *MalwareContainer `protobuf:"bytes,3,opt,name=container,proto3,oneof"`
}
type MalwareRequest_Image ¶
type MalwareRequest_Image struct {
Image *MalwareDockerImage `protobuf:"bytes,2,opt,name=image,proto3,oneof"`
}
type MalwareRequest_Path ¶
type MalwareRequest_Path struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"`
}
type MalwareResult ¶
type MalwareResult struct { // Types that are assignable to Input: // // *MalwareResult_Path // *MalwareResult_Image // *MalwareResult_Container Input isMalwareResult_Input `protobuf_oneof:"input"` Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Malwares []*MalwareInfo `protobuf:"bytes,5,rep,name=malwares,proto3" json:"malwares,omitempty"` // contains filtered or unexported fields }
func (*MalwareResult) Descriptor
deprecated
func (*MalwareResult) Descriptor() ([]byte, []int)
Deprecated: Use MalwareResult.ProtoReflect.Descriptor instead.
func (*MalwareResult) GetContainer ¶
func (x *MalwareResult) GetContainer() *MalwareContainer
func (*MalwareResult) GetImage ¶
func (x *MalwareResult) GetImage() *MalwareDockerImage
func (*MalwareResult) GetInput ¶
func (m *MalwareResult) GetInput() isMalwareResult_Input
func (*MalwareResult) GetMalwares ¶
func (x *MalwareResult) GetMalwares() []*MalwareInfo
func (*MalwareResult) GetPath ¶
func (x *MalwareResult) GetPath() string
func (*MalwareResult) GetTimestamp ¶
func (x *MalwareResult) GetTimestamp() string
func (*MalwareResult) ProtoMessage ¶
func (*MalwareResult) ProtoMessage()
func (*MalwareResult) ProtoReflect ¶
func (x *MalwareResult) ProtoReflect() protoreflect.Message
func (*MalwareResult) Reset ¶
func (x *MalwareResult) Reset()
func (*MalwareResult) String ¶
func (x *MalwareResult) String() string
type MalwareResult_Container ¶
type MalwareResult_Container struct {
Container *MalwareContainer `protobuf:"bytes,3,opt,name=container,proto3,oneof"`
}
type MalwareResult_Image ¶
type MalwareResult_Image struct {
Image *MalwareDockerImage `protobuf:"bytes,2,opt,name=image,proto3,oneof"`
}
type MalwareResult_Path ¶
type MalwareResult_Path struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"`
}
type MalwareScannerClient ¶
type MalwareScannerClient interface {
FindMalwareInfo(ctx context.Context, in *MalwareRequest, opts ...grpc.CallOption) (*MalwareResult, error)
}
MalwareScannerClient is the client API for MalwareScanner 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 NewMalwareScannerClient ¶
func NewMalwareScannerClient(cc grpc.ClientConnInterface) MalwareScannerClient
type MalwareScannerServer ¶
type MalwareScannerServer interface { FindMalwareInfo(context.Context, *MalwareRequest) (*MalwareResult, error) // contains filtered or unexported methods }
MalwareScannerServer is the server API for MalwareScanner service. All implementations must embed UnimplementedMalwareScannerServer for forward compatibility
type Match ¶
type Match struct { StartingIndex int64 `protobuf:"varint,1,opt,name=starting_index,json=startingIndex,proto3" json:"starting_index,omitempty"` RelativeStartingIndex int64 `` /* 127-byte string literal not displayed */ RelativeEndingIndex int64 `protobuf:"varint,3,opt,name=relative_ending_index,json=relativeEndingIndex,proto3" json:"relative_ending_index,omitempty"` FullFilename string `protobuf:"bytes,4,opt,name=full_filename,json=fullFilename,proto3" json:"full_filename,omitempty"` MatchedContent string `protobuf:"bytes,5,opt,name=matched_content,json=matchedContent,proto3" json:"matched_content,omitempty"` // contains filtered or unexported fields }
func (*Match) Descriptor
deprecated
func (*Match) GetFullFilename ¶
func (*Match) GetMatchedContent ¶
func (*Match) GetRelativeEndingIndex ¶
func (*Match) GetRelativeStartingIndex ¶
func (*Match) GetStartingIndex ¶
func (*Match) ProtoMessage ¶
func (*Match) ProtoMessage()
func (*Match) ProtoReflect ¶
func (x *Match) ProtoReflect() protoreflect.Message
type MatchRule ¶
type MatchRule struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Part string `protobuf:"bytes,3,opt,name=part,proto3" json:"part,omitempty"` StringToMatch string `protobuf:"bytes,4,opt,name=string_to_match,json=stringToMatch,proto3" json:"string_to_match,omitempty"` SignatureToMatch string `protobuf:"bytes,5,opt,name=signature_to_match,json=signatureToMatch,proto3" json:"signature_to_match,omitempty"` // contains filtered or unexported fields }
func (*MatchRule) Descriptor
deprecated
func (*MatchRule) GetSignatureToMatch ¶
func (*MatchRule) GetStringToMatch ¶
func (*MatchRule) ProtoMessage ¶
func (*MatchRule) ProtoMessage()
func (*MatchRule) ProtoReflect ¶
func (x *MatchRule) ProtoReflect() protoreflect.Message
type Material ¶
type Material struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Pids []string `protobuf:"bytes,2,rep,name=pids,proto3" json:"pids,omitempty"` // contains filtered or unexported fields }
func (*Material) Descriptor
deprecated
func (*Material) ProtoMessage ¶
func (*Material) ProtoMessage()
func (*Material) ProtoReflect ¶
func (x *Material) ProtoReflect() protoreflect.Message
type Metrics ¶
type Metrics struct { EventFailureCount uint64 `protobuf:"varint,1,opt,name=event_failure_count,json=eventFailureCount,proto3" json:"event_failure_count,omitempty"` EventSuccessCount uint64 `protobuf:"varint,2,opt,name=event_success_count,json=eventSuccessCount,proto3" json:"event_success_count,omitempty"` EbfBufferCapacity uint64 `protobuf:"varint,3,opt,name=ebf_buffer_capacity,json=ebfBufferCapacity,proto3" json:"ebf_buffer_capacity,omitempty"` EventSkipCount uint64 `protobuf:"varint,4,opt,name=event_skip_count,json=eventSkipCount,proto3" json:"event_skip_count,omitempty"` // contains filtered or unexported fields }
func (*Metrics) Descriptor
deprecated
func (*Metrics) GetEbfBufferCapacity ¶
func (*Metrics) GetEventFailureCount ¶
func (*Metrics) GetEventSkipCount ¶
func (*Metrics) GetEventSuccessCount ¶
func (*Metrics) ProtoMessage ¶
func (*Metrics) ProtoMessage()
func (*Metrics) ProtoReflect ¶
func (x *Metrics) ProtoReflect() protoreflect.Message
type Name ¶
type Name struct { Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"` // contains filtered or unexported fields }
func (*Name) Descriptor
deprecated
func (*Name) ProtoMessage ¶
func (*Name) ProtoMessage()
func (*Name) ProtoReflect ¶
func (x *Name) ProtoReflect() protoreflect.Message
type PackageScannerClient ¶
type PackageScannerClient interface {
GenerateSBOM(ctx context.Context, in *SBOMRequest, opts ...grpc.CallOption) (*SBOMResult, error)
}
PackageScannerClient is the client API for PackageScanner 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 NewPackageScannerClient ¶
func NewPackageScannerClient(cc grpc.ClientConnInterface) PackageScannerClient
type PackageScannerServer ¶
type PackageScannerServer interface { GenerateSBOM(context.Context, *SBOMRequest) (*SBOMResult, error) // contains filtered or unexported methods }
PackageScannerServer is the server API for PackageScanner service. All implementations must embed UnimplementedPackageScannerServer for forward compatibility
type SBOMRequest ¶
type SBOMRequest struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` ScanType string `protobuf:"bytes,2,opt,name=scan_type,json=scanType,proto3" json:"scan_type,omitempty"` ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` KubernetesClusterName string `` /* 126-byte string literal not displayed */ ImageId string `protobuf:"bytes,5,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` ScanId string `protobuf:"bytes,6,opt,name=scan_id,json=scanId,proto3" json:"scan_id,omitempty"` NodeType string `protobuf:"bytes,7,opt,name=node_type,json=nodeType,proto3" json:"node_type,omitempty"` HostName string `protobuf:"bytes,8,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` RegistryId string `protobuf:"bytes,9,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` ContainerId string `protobuf:"bytes,10,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` ImageName string `protobuf:"bytes,11,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"` // contains filtered or unexported fields }
func (*SBOMRequest) Descriptor
deprecated
func (*SBOMRequest) Descriptor() ([]byte, []int)
Deprecated: Use SBOMRequest.ProtoReflect.Descriptor instead.
func (*SBOMRequest) GetContainerId ¶
func (x *SBOMRequest) GetContainerId() string
func (*SBOMRequest) GetContainerName ¶
func (x *SBOMRequest) GetContainerName() string
func (*SBOMRequest) GetHostName ¶
func (x *SBOMRequest) GetHostName() string
func (*SBOMRequest) GetImageId ¶
func (x *SBOMRequest) GetImageId() string
func (*SBOMRequest) GetImageName ¶
func (x *SBOMRequest) GetImageName() string
func (*SBOMRequest) GetKubernetesClusterName ¶
func (x *SBOMRequest) GetKubernetesClusterName() string
func (*SBOMRequest) GetNodeType ¶
func (x *SBOMRequest) GetNodeType() string
func (*SBOMRequest) GetRegistryId ¶
func (x *SBOMRequest) GetRegistryId() string
func (*SBOMRequest) GetScanId ¶
func (x *SBOMRequest) GetScanId() string
func (*SBOMRequest) GetScanType ¶
func (x *SBOMRequest) GetScanType() string
func (*SBOMRequest) GetSource ¶
func (x *SBOMRequest) GetSource() string
func (*SBOMRequest) ProtoMessage ¶
func (*SBOMRequest) ProtoMessage()
func (*SBOMRequest) ProtoReflect ¶
func (x *SBOMRequest) ProtoReflect() protoreflect.Message
func (*SBOMRequest) Reset ¶
func (x *SBOMRequest) Reset()
func (*SBOMRequest) String ¶
func (x *SBOMRequest) String() string
type SBOMResult ¶
type SBOMResult struct { SbomPath string `protobuf:"bytes,1,opt,name=sbom_path,json=sbomPath,proto3" json:"sbom_path,omitempty"` // contains filtered or unexported fields }
func (*SBOMResult) Descriptor
deprecated
func (*SBOMResult) Descriptor() ([]byte, []int)
Deprecated: Use SBOMResult.ProtoReflect.Descriptor instead.
func (*SBOMResult) GetSbomPath ¶
func (x *SBOMResult) GetSbomPath() string
func (*SBOMResult) ProtoMessage ¶
func (*SBOMResult) ProtoMessage()
func (*SBOMResult) ProtoReflect ¶
func (x *SBOMResult) ProtoReflect() protoreflect.Message
func (*SBOMResult) Reset ¶
func (x *SBOMResult) Reset()
func (*SBOMResult) String ¶
func (x *SBOMResult) String() string
type ScannersClient ¶
type ScannersClient interface { ReportJobsStatus(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*JobReports, error) StopScan(ctx context.Context, in *StopScanRequest, opts ...grpc.CallOption) (*StopScanResult, error) }
ScannersClient is the client API for Scanners 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 NewScannersClient ¶
func NewScannersClient(cc grpc.ClientConnInterface) ScannersClient
type ScannersServer ¶
type ScannersServer interface { ReportJobsStatus(context.Context, *Empty) (*JobReports, error) StopScan(context.Context, *StopScanRequest) (*StopScanResult, error) // contains filtered or unexported methods }
ScannersServer is the server API for Scanners service. All implementations must embed UnimplementedScannersServer for forward compatibility
type SecretInfo ¶
type SecretInfo struct { ImageLayerId string `protobuf:"bytes,1,opt,name=image_layer_id,json=imageLayerId,proto3" json:"image_layer_id,omitempty"` Rule *MatchRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` Match *Match `protobuf:"bytes,3,opt,name=match,proto3" json:"match,omitempty"` Severity *Severity `protobuf:"bytes,4,opt,name=severity,proto3" json:"severity,omitempty"` // contains filtered or unexported fields }
func (*SecretInfo) Descriptor
deprecated
func (*SecretInfo) Descriptor() ([]byte, []int)
Deprecated: Use SecretInfo.ProtoReflect.Descriptor instead.
func (*SecretInfo) GetImageLayerId ¶
func (x *SecretInfo) GetImageLayerId() string
func (*SecretInfo) GetMatch ¶
func (x *SecretInfo) GetMatch() *Match
func (*SecretInfo) GetRule ¶
func (x *SecretInfo) GetRule() *MatchRule
func (*SecretInfo) GetSeverity ¶
func (x *SecretInfo) GetSeverity() *Severity
func (*SecretInfo) ProtoMessage ¶
func (*SecretInfo) ProtoMessage()
func (*SecretInfo) ProtoReflect ¶
func (x *SecretInfo) ProtoReflect() protoreflect.Message
func (*SecretInfo) Reset ¶
func (x *SecretInfo) Reset()
func (*SecretInfo) String ¶
func (x *SecretInfo) String() string
type SecretScannerClient ¶
type SecretScannerClient interface {
FindSecretInfo(ctx context.Context, in *FindRequest, opts ...grpc.CallOption) (*FindResult, error)
}
SecretScannerClient is the client API for SecretScanner 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 NewSecretScannerClient ¶
func NewSecretScannerClient(cc grpc.ClientConnInterface) SecretScannerClient
type SecretScannerServer ¶
type SecretScannerServer interface { FindSecretInfo(context.Context, *FindRequest) (*FindResult, error) // contains filtered or unexported methods }
SecretScannerServer is the server API for SecretScanner service. All implementations must embed UnimplementedSecretScannerServer for forward compatibility
type Severity ¶
type Severity struct { Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` // contains filtered or unexported fields }
func (*Severity) Descriptor
deprecated
func (*Severity) ProtoMessage ¶
func (*Severity) ProtoMessage()
func (*Severity) ProtoReflect ¶
func (x *Severity) ProtoReflect() protoreflect.Message
type StopScanRequest ¶
type StopScanRequest struct { ScanId string `protobuf:"bytes,1,opt,name=scan_id,json=scanId,proto3" json:"scan_id,omitempty"` // contains filtered or unexported fields }
func (*StopScanRequest) Descriptor
deprecated
func (*StopScanRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopScanRequest.ProtoReflect.Descriptor instead.
func (*StopScanRequest) GetScanId ¶
func (x *StopScanRequest) GetScanId() string
func (*StopScanRequest) ProtoMessage ¶
func (*StopScanRequest) ProtoMessage()
func (*StopScanRequest) ProtoReflect ¶
func (x *StopScanRequest) ProtoReflect() protoreflect.Message
func (*StopScanRequest) Reset ¶
func (x *StopScanRequest) Reset()
func (*StopScanRequest) String ¶
func (x *StopScanRequest) String() string
type StopScanResult ¶
type StopScanResult struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*StopScanResult) Descriptor
deprecated
func (*StopScanResult) Descriptor() ([]byte, []int)
Deprecated: Use StopScanResult.ProtoReflect.Descriptor instead.
func (*StopScanResult) GetDescription ¶
func (x *StopScanResult) GetDescription() string
func (*StopScanResult) GetSuccess ¶
func (x *StopScanResult) GetSuccess() bool
func (*StopScanResult) ProtoMessage ¶
func (*StopScanResult) ProtoMessage()
func (*StopScanResult) ProtoReflect ¶
func (x *StopScanResult) ProtoReflect() protoreflect.Message
func (*StopScanResult) Reset ¶
func (x *StopScanResult) Reset()
func (*StopScanResult) String ¶
func (x *StopScanResult) String() string
type TraceInfo ¶
type TraceInfo struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*TraceInfo) Descriptor
deprecated
func (*TraceInfo) ProtoMessage ¶
func (*TraceInfo) ProtoMessage()
func (*TraceInfo) ProtoReflect ¶
func (x *TraceInfo) ProtoReflect() protoreflect.Message
type TraceInfoRequest ¶
type TraceInfoRequest struct { Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid,omitempty"` // contains filtered or unexported fields }
func (*TraceInfoRequest) Descriptor
deprecated
func (*TraceInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use TraceInfoRequest.ProtoReflect.Descriptor instead.
func (*TraceInfoRequest) GetPid ¶
func (x *TraceInfoRequest) GetPid() string
func (*TraceInfoRequest) ProtoMessage ¶
func (*TraceInfoRequest) ProtoMessage()
func (*TraceInfoRequest) ProtoReflect ¶
func (x *TraceInfoRequest) ProtoReflect() protoreflect.Message
func (*TraceInfoRequest) Reset ¶
func (x *TraceInfoRequest) Reset()
func (*TraceInfoRequest) String ¶
func (x *TraceInfoRequest) String() string
type Uid ¶
type Uid struct { Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"` // contains filtered or unexported fields }
func (*Uid) Descriptor
deprecated
func (*Uid) ProtoMessage ¶
func (*Uid) ProtoMessage()
func (*Uid) ProtoReflect ¶
func (x *Uid) ProtoReflect() protoreflect.Message
type UnimplementedAgentPluginServer ¶
type UnimplementedAgentPluginServer struct { }
UnimplementedAgentPluginServer must be embedded to have forward compatible implementations.
type UnimplementedKernelOpenTracerServer ¶
type UnimplementedKernelOpenTracerServer struct { }
UnimplementedKernelOpenTracerServer must be embedded to have forward compatible implementations.
func (UnimplementedKernelOpenTracerServer) ClearBillOfMaterials ¶
func (UnimplementedKernelOpenTracerServer) GetBillOfMaterials ¶
func (UnimplementedKernelOpenTracerServer) GetBillOfMaterials(context.Context, *Empty) (*BillOfMaterials, error)
func (UnimplementedKernelOpenTracerServer) GetTraceInfo ¶
func (UnimplementedKernelOpenTracerServer) GetTraceInfo(*TraceInfoRequest, KernelOpenTracer_GetTraceInfoServer) error
type UnimplementedKernelTracerServer ¶
type UnimplementedKernelTracerServer struct { }
UnimplementedKernelTracerServer must be embedded to have forward compatible implementations.
func (UnimplementedKernelTracerServer) GetFeatures ¶
func (UnimplementedKernelTracerServer) GetFeatures(context.Context, *Empty) (*KernelFeatures, error)
func (UnimplementedKernelTracerServer) GetKernelSupport ¶
func (UnimplementedKernelTracerServer) GetKernelSupport(context.Context, *Empty) (*KernelInfo, error)
func (UnimplementedKernelTracerServer) GetMetrics ¶
type UnimplementedMalwareScannerServer ¶
type UnimplementedMalwareScannerServer struct { }
UnimplementedMalwareScannerServer must be embedded to have forward compatible implementations.
func (UnimplementedMalwareScannerServer) FindMalwareInfo ¶
func (UnimplementedMalwareScannerServer) FindMalwareInfo(context.Context, *MalwareRequest) (*MalwareResult, error)
type UnimplementedPackageScannerServer ¶
type UnimplementedPackageScannerServer struct { }
UnimplementedPackageScannerServer must be embedded to have forward compatible implementations.
func (UnimplementedPackageScannerServer) GenerateSBOM ¶
func (UnimplementedPackageScannerServer) GenerateSBOM(context.Context, *SBOMRequest) (*SBOMResult, error)
type UnimplementedScannersServer ¶
type UnimplementedScannersServer struct { }
UnimplementedScannersServer must be embedded to have forward compatible implementations.
func (UnimplementedScannersServer) ReportJobsStatus ¶
func (UnimplementedScannersServer) ReportJobsStatus(context.Context, *Empty) (*JobReports, error)
func (UnimplementedScannersServer) StopScan ¶
func (UnimplementedScannersServer) StopScan(context.Context, *StopScanRequest) (*StopScanResult, error)
type UnimplementedSecretScannerServer ¶
type UnimplementedSecretScannerServer struct { }
UnimplementedSecretScannerServer must be embedded to have forward compatible implementations.
func (UnimplementedSecretScannerServer) FindSecretInfo ¶
func (UnimplementedSecretScannerServer) FindSecretInfo(context.Context, *FindRequest) (*FindResult, error)
type UnsafeAgentPluginServer ¶
type UnsafeAgentPluginServer interface {
// contains filtered or unexported methods
}
UnsafeAgentPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentPluginServer will result in compilation errors.
type UnsafeKernelOpenTracerServer ¶
type UnsafeKernelOpenTracerServer interface {
// contains filtered or unexported methods
}
UnsafeKernelOpenTracerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KernelOpenTracerServer will result in compilation errors.
type UnsafeKernelTracerServer ¶
type UnsafeKernelTracerServer interface {
// contains filtered or unexported methods
}
UnsafeKernelTracerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KernelTracerServer will result in compilation errors.
type UnsafeMalwareScannerServer ¶
type UnsafeMalwareScannerServer interface {
// contains filtered or unexported methods
}
UnsafeMalwareScannerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MalwareScannerServer will result in compilation errors.
type UnsafePackageScannerServer ¶
type UnsafePackageScannerServer interface {
// contains filtered or unexported methods
}
UnsafePackageScannerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PackageScannerServer will result in compilation errors.
type UnsafeScannersServer ¶
type UnsafeScannersServer interface {
// contains filtered or unexported methods
}
UnsafeScannersServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ScannersServer will result in compilation errors.
type UnsafeSecretScannerServer ¶
type UnsafeSecretScannerServer interface {
// contains filtered or unexported methods
}
UnsafeSecretScannerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecretScannerServer will result in compilation errors.
Source Files ¶
- agent_plugin.pb.go
- agent_plugin_grpc.pb.go
- common.pb.go
- kernel_tracer.pb.go
- kernel_tracer_grpc.pb.go
- malware_scanner.pb.go
- malware_scanner_grpc.pb.go
- open_tracer.pb.go
- open_tracer_grpc.pb.go
- package_scanner.pb.go
- package_scanner_grpc.pb.go
- scanners.pb.go
- scanners_grpc.pb.go
- secret_scanner.pb.go
- secret_scanner_grpc.pb.go