Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterRuntimeSecurityAgentAPIServer(s grpc.ServiceRegistrar, srv RuntimeSecurityAgentAPIServer)
- type Configuration
- type Container
- type ContainerStats
- func (*ContainerStats) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStats) GetContainerId() string
- func (x *ContainerStats) GetContainerName() string
- func (x *ContainerStats) GetNamespace() string
- func (x *ContainerStats) GetPodName() string
- func (x *ContainerStats) GetPodUid() string
- func (x *ContainerStats) GetStats() []*Stats
- func (x *ContainerStats) GetWorkloadName() string
- func (*ContainerStats) ProtoMessage()
- func (x *ContainerStats) ProtoReflect() protoreflect.Message
- func (x *ContainerStats) Reset()
- func (x *ContainerStats) String() string
- type ContainerStatsBatch
- func (*ContainerStatsBatch) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStatsBatch) GetItems() []*ContainerStats
- func (*ContainerStatsBatch) ProtoMessage()
- func (x *ContainerStatsBatch) ProtoReflect() protoreflect.Message
- func (x *ContainerStatsBatch) Reset()
- func (x *ContainerStatsBatch) String() string
- type DNS
- type DNSAnswers
- func (*DNSAnswers) Descriptor() ([]byte, []int)deprecated
- func (x *DNSAnswers) GetClass() uint32
- func (x *DNSAnswers) GetCname() string
- func (x *DNSAnswers) GetIp() []byte
- func (x *DNSAnswers) GetName() string
- func (x *DNSAnswers) GetTtl() uint32
- func (x *DNSAnswers) GetType() uint32
- func (*DNSAnswers) ProtoMessage()
- func (x *DNSAnswers) ProtoReflect() protoreflect.Message
- func (x *DNSAnswers) Reset()
- func (x *DNSAnswers) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetCgroupId() uint64
- func (x *Event) GetContainerId() string
- func (x *Event) GetContainerName() string
- func (m *Event) GetData() isEvent_Data
- func (x *Event) GetDns() *DNS
- func (x *Event) GetEventType() EventType
- func (x *Event) GetExec() *Exec
- func (x *Event) GetFile() *File
- func (x *Event) GetHostPid() uint32
- func (x *Event) GetNamespace() string
- func (x *Event) GetPodName() string
- func (x *Event) GetPodUid() string
- func (x *Event) GetProcessName() string
- func (x *Event) GetSignature() *SignatureEvent
- func (x *Event) GetTimestamp() uint64
- func (x *Event) GetTuple() *Tuple
- func (x *Event) GetWorkloadName() string
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventType
- type Event_Dns
- type Event_Exec
- type Event_File
- type Event_Signature
- type Event_Tuple
- type Exec
- type ExecMetadata
- func (*ExecMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ExecMetadata) GetHashSha256() []byte
- func (x *ExecMetadata) GetLang() Language
- func (x *ExecMetadata) GetLibraries() []*Library
- func (*ExecMetadata) ProtoMessage()
- func (x *ExecMetadata) ProtoReflect() protoreflect.Message
- func (x *ExecMetadata) Reset()
- func (x *ExecMetadata) String() string
- type File
- type GetConfigurationRequest
- type GetConfigurationResponse
- func (*GetConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigurationResponse) GetConfig() *Configuration
- func (*GetConfigurationResponse) ProtoMessage()
- func (x *GetConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *GetConfigurationResponse) Reset()
- func (x *GetConfigurationResponse) String() string
- type GetSyncStateRequest
- func (*GetSyncStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSyncStateRequest) GetImageIds() []string
- func (*GetSyncStateRequest) ProtoMessage()
- func (x *GetSyncStateRequest) ProtoReflect() protoreflect.Message
- func (x *GetSyncStateRequest) Reset()
- func (x *GetSyncStateRequest) String() string
- type GetSyncStateResponse
- func (*GetSyncStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSyncStateResponse) GetImages() *ImagesSyncState
- func (*GetSyncStateResponse) ProtoMessage()
- func (x *GetSyncStateResponse) ProtoReflect() protoreflect.Message
- func (x *GetSyncStateResponse) Reset()
- func (x *GetSyncStateResponse) String() string
- type Image
- func (*Image) Descriptor() ([]byte, []int)deprecated
- func (x *Image) GetArchitecture() string
- func (x *Image) GetId() string
- func (x *Image) GetName() string
- func (x *Image) GetResourceIds() []string
- func (x *Image) GetScanError() string
- func (x *Image) GetScanStatus() ImageScanStatus
- func (*Image) ProtoMessage()
- func (x *Image) ProtoReflect() protoreflect.Message
- func (x *Image) Reset()
- func (x *Image) String() string
- type ImageMetadata
- func (*ImageMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ImageMetadata) GetArchitecture() string
- func (x *ImageMetadata) GetConfigFile() []byte
- func (x *ImageMetadata) GetCreatedAt() *timestamppb.Timestamp
- func (x *ImageMetadata) GetImageDigest() string
- func (x *ImageMetadata) GetImageId() string
- func (x *ImageMetadata) GetImageName() string
- func (x *ImageMetadata) GetIndex() []byte
- func (x *ImageMetadata) GetManifest() []byte
- func (x *ImageMetadata) GetOsName() string
- func (x *ImageMetadata) GetPackages() []byte
- func (x *ImageMetadata) GetResourceIds() []string
- func (*ImageMetadata) ProtoMessage()
- func (x *ImageMetadata) ProtoReflect() protoreflect.Message
- func (x *ImageMetadata) Reset()
- func (x *ImageMetadata) String() string
- type ImageMetadataIngestResponse
- type ImageScanStatus
- func (ImageScanStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ImageScanStatus) Enum() *ImageScanStatus
- func (ImageScanStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ImageScanStatus) Number() protoreflect.EnumNumber
- func (x ImageScanStatus) String() string
- func (ImageScanStatus) Type() protoreflect.EnumType
- type ImagesSyncState
- func (*ImagesSyncState) Descriptor() ([]byte, []int)deprecated
- func (x *ImagesSyncState) GetFullResyncRequired() bool
- func (x *ImagesSyncState) GetImages() []*Image
- func (*ImagesSyncState) ProtoMessage()
- func (x *ImagesSyncState) ProtoReflect() protoreflect.Message
- func (x *ImagesSyncState) Reset()
- func (x *ImagesSyncState) String() string
- type KubeBenchCheck
- func (*KubeBenchCheck) Descriptor() ([]byte, []int)deprecated
- func (x *KubeBenchCheck) GetId() string
- func (x *KubeBenchCheck) GetState() string
- func (x *KubeBenchCheck) GetTestInfo() []string
- func (x *KubeBenchCheck) GetText() string
- func (*KubeBenchCheck) ProtoMessage()
- func (x *KubeBenchCheck) ProtoReflect() protoreflect.Message
- func (x *KubeBenchCheck) Reset()
- func (x *KubeBenchCheck) String() string
- type KubeBenchControls
- func (*KubeBenchControls) Descriptor() ([]byte, []int)deprecated
- func (x *KubeBenchControls) GetGroups() []*KubeBenchGroup
- func (x *KubeBenchControls) GetVersion() string
- func (*KubeBenchControls) ProtoMessage()
- func (x *KubeBenchControls) ProtoReflect() protoreflect.Message
- func (x *KubeBenchControls) Reset()
- func (x *KubeBenchControls) String() string
- type KubeBenchGroup
- type KubeBenchNode
- func (*KubeBenchNode) Descriptor() ([]byte, []int)deprecated
- func (x *KubeBenchNode) GetNodeName() string
- func (x *KubeBenchNode) GetResourceUid() string
- func (*KubeBenchNode) ProtoMessage()
- func (x *KubeBenchNode) ProtoReflect() protoreflect.Message
- func (x *KubeBenchNode) Reset()
- func (x *KubeBenchNode) String() string
- type KubeBenchReport
- func (*KubeBenchReport) Descriptor() ([]byte, []int)deprecated
- func (x *KubeBenchReport) GetControls() []*KubeBenchControls
- func (x *KubeBenchReport) GetNode() *KubeBenchNode
- func (*KubeBenchReport) ProtoMessage()
- func (x *KubeBenchReport) ProtoReflect() protoreflect.Message
- func (x *KubeBenchReport) Reset()
- func (x *KubeBenchReport) String() string
- type KubeBenchReportIngestResponse
- func (*KubeBenchReportIngestResponse) Descriptor() ([]byte, []int)deprecated
- func (*KubeBenchReportIngestResponse) ProtoMessage()
- func (x *KubeBenchReportIngestResponse) ProtoReflect() protoreflect.Message
- func (x *KubeBenchReportIngestResponse) Reset()
- func (x *KubeBenchReportIngestResponse) String() string
- type KubeLinterCheck
- func (*KubeLinterCheck) Descriptor() ([]byte, []int)deprecated
- func (x *KubeLinterCheck) GetFailed() uint64
- func (x *KubeLinterCheck) GetPassed() uint64
- func (x *KubeLinterCheck) GetResourceUid() string
- func (*KubeLinterCheck) ProtoMessage()
- func (x *KubeLinterCheck) ProtoReflect() protoreflect.Message
- func (x *KubeLinterCheck) Reset()
- func (x *KubeLinterCheck) String() string
- type KubeLinterReport
- func (*KubeLinterReport) Descriptor() ([]byte, []int)deprecated
- func (x *KubeLinterReport) GetChecks() []*KubeLinterCheck
- func (*KubeLinterReport) ProtoMessage()
- func (x *KubeLinterReport) ProtoReflect() protoreflect.Message
- func (x *KubeLinterReport) Reset()
- func (x *KubeLinterReport) String() string
- type KubeLinterReportIngestResponse
- func (*KubeLinterReportIngestResponse) Descriptor() ([]byte, []int)deprecated
- func (*KubeLinterReportIngestResponse) ProtoMessage()
- func (x *KubeLinterReportIngestResponse) ProtoReflect() protoreflect.Message
- func (x *KubeLinterReportIngestResponse) Reset()
- func (x *KubeLinterReportIngestResponse) String() string
- type KubernetesDeltaIngestResponse
- func (*KubernetesDeltaIngestResponse) Descriptor() ([]byte, []int)deprecated
- func (*KubernetesDeltaIngestResponse) ProtoMessage()
- func (x *KubernetesDeltaIngestResponse) ProtoReflect() protoreflect.Message
- func (x *KubernetesDeltaIngestResponse) Reset()
- func (x *KubernetesDeltaIngestResponse) String() string
- type KubernetesDeltaItem
- func (*KubernetesDeltaItem) Descriptor() ([]byte, []int)deprecated
- func (x *KubernetesDeltaItem) GetEvent() KubernetesDeltaItemEvent
- func (x *KubernetesDeltaItem) GetObjectAnnotations() map[string]string
- func (x *KubernetesDeltaItem) GetObjectApiVersion() string
- func (x *KubernetesDeltaItem) GetObjectContainers() []*Container
- func (x *KubernetesDeltaItem) GetObjectCreatedAt() *timestamppb.Timestamp
- func (x *KubernetesDeltaItem) GetObjectKind() string
- func (x *KubernetesDeltaItem) GetObjectLabels() map[string]string
- func (x *KubernetesDeltaItem) GetObjectName() string
- func (x *KubernetesDeltaItem) GetObjectNamespace() string
- func (x *KubernetesDeltaItem) GetObjectOwnerUid() string
- func (x *KubernetesDeltaItem) GetObjectSpec() []byte
- func (x *KubernetesDeltaItem) GetObjectStatus() []byte
- func (x *KubernetesDeltaItem) GetObjectUid() string
- func (*KubernetesDeltaItem) ProtoMessage()
- func (x *KubernetesDeltaItem) ProtoReflect() protoreflect.Message
- func (x *KubernetesDeltaItem) Reset()
- func (x *KubernetesDeltaItem) String() string
- type KubernetesDeltaItemEvent
- func (KubernetesDeltaItemEvent) Descriptor() protoreflect.EnumDescriptor
- func (x KubernetesDeltaItemEvent) Enum() *KubernetesDeltaItemEvent
- func (KubernetesDeltaItemEvent) EnumDescriptor() ([]byte, []int)deprecated
- func (x KubernetesDeltaItemEvent) Number() protoreflect.EnumNumber
- func (x KubernetesDeltaItemEvent) String() string
- func (KubernetesDeltaItemEvent) Type() protoreflect.EnumType
- type Language
- type Library
- type LogEvent
- type RuntimeSecurityAgentAPIClient
- type RuntimeSecurityAgentAPIServer
- type RuntimeSecurityAgentAPI_ContainerStatsWriteStreamClient
- type RuntimeSecurityAgentAPI_ContainerStatsWriteStreamServer
- type RuntimeSecurityAgentAPI_EventsWriteStreamClient
- type RuntimeSecurityAgentAPI_EventsWriteStreamServer
- type RuntimeSecurityAgentAPI_KubernetesDeltaIngestClient
- type RuntimeSecurityAgentAPI_KubernetesDeltaIngestServer
- type RuntimeSecurityAgentAPI_LogsWriteStreamClient
- type RuntimeSecurityAgentAPI_LogsWriteStreamServer
- type SendLogsResponse
- type SignatureEvent
- func (*SignatureEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureEvent) GetFinding() *SignatureFinding
- func (x *SignatureEvent) GetMetadata() *SignatureMetadata
- func (*SignatureEvent) ProtoMessage()
- func (x *SignatureEvent) ProtoReflect() protoreflect.Message
- func (x *SignatureEvent) Reset()
- func (x *SignatureEvent) String() string
- type SignatureEventID
- func (SignatureEventID) Descriptor() protoreflect.EnumDescriptor
- func (x SignatureEventID) Enum() *SignatureEventID
- func (SignatureEventID) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignatureEventID) Number() protoreflect.EnumNumber
- func (x SignatureEventID) String() string
- func (SignatureEventID) Type() protoreflect.EnumType
- type SignatureFinding
- type SignatureMetadata
- func (*SignatureMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureMetadata) GetId() SignatureEventID
- func (x *SignatureMetadata) GetVersion() string
- func (*SignatureMetadata) ProtoMessage()
- func (x *SignatureMetadata) ProtoReflect() protoreflect.Message
- func (x *SignatureMetadata) Reset()
- func (x *SignatureMetadata) String() string
- type Stats
- type StatsGroup
- type Tuple
- func (*Tuple) Descriptor() ([]byte, []int)deprecated
- func (x *Tuple) GetDstIp() string
- func (x *Tuple) GetDstPort() uint32
- func (x *Tuple) GetSrcIp() string
- func (x *Tuple) GetSrcPort() uint32
- func (*Tuple) ProtoMessage()
- func (x *Tuple) ProtoReflect() protoreflect.Message
- func (x *Tuple) Reset()
- func (x *Tuple) String() string
- type UnimplementedRuntimeSecurityAgentAPIServer
- func (UnimplementedRuntimeSecurityAgentAPIServer) ContainerStatsWriteStream(RuntimeSecurityAgentAPI_ContainerStatsWriteStreamServer) error
- func (UnimplementedRuntimeSecurityAgentAPIServer) EventsWriteStream(RuntimeSecurityAgentAPI_EventsWriteStreamServer) error
- func (UnimplementedRuntimeSecurityAgentAPIServer) GetConfiguration(context.Context, *GetConfigurationRequest) (*GetConfigurationResponse, error)
- func (UnimplementedRuntimeSecurityAgentAPIServer) GetSyncState(context.Context, *GetSyncStateRequest) (*GetSyncStateResponse, error)
- func (UnimplementedRuntimeSecurityAgentAPIServer) ImageMetadataIngest(context.Context, *ImageMetadata) (*ImageMetadataIngestResponse, error)
- func (UnimplementedRuntimeSecurityAgentAPIServer) KubeBenchReportIngest(context.Context, *KubeBenchReport) (*KubeBenchReportIngestResponse, error)
- func (UnimplementedRuntimeSecurityAgentAPIServer) KubeLinterReportIngest(context.Context, *KubeLinterReport) (*KubeLinterReportIngestResponse, error)
- func (UnimplementedRuntimeSecurityAgentAPIServer) KubernetesDeltaIngest(RuntimeSecurityAgentAPI_KubernetesDeltaIngestServer) error
- func (UnimplementedRuntimeSecurityAgentAPIServer) LogsWriteStream(RuntimeSecurityAgentAPI_LogsWriteStreamServer) error
- func (UnimplementedRuntimeSecurityAgentAPIServer) UpdateSyncState(context.Context, *UpdateSyncStateRequest) (*UpdateSyncStateResponse, error)
- type UnsafeRuntimeSecurityAgentAPIServer
- type UpdateSyncStateRequest
- func (*UpdateSyncStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSyncStateRequest) GetFullSnapshot() bool
- func (x *UpdateSyncStateRequest) GetImages() []*Image
- func (*UpdateSyncStateRequest) ProtoMessage()
- func (x *UpdateSyncStateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSyncStateRequest) Reset()
- func (x *UpdateSyncStateRequest) String() string
- type UpdateSyncStateResponse
- type WriteStreamResponse
Constants ¶
const ( RuntimeSecurityAgentAPI_GetConfiguration_FullMethodName = "/runtime.v1.RuntimeSecurityAgentAPI/GetConfiguration" RuntimeSecurityAgentAPI_EventsWriteStream_FullMethodName = "/runtime.v1.RuntimeSecurityAgentAPI/EventsWriteStream" RuntimeSecurityAgentAPI_LogsWriteStream_FullMethodName = "/runtime.v1.RuntimeSecurityAgentAPI/LogsWriteStream" RuntimeSecurityAgentAPI_ContainerStatsWriteStream_FullMethodName = "/runtime.v1.RuntimeSecurityAgentAPI/ContainerStatsWriteStream" RuntimeSecurityAgentAPI_GetSyncState_FullMethodName = "/runtime.v1.RuntimeSecurityAgentAPI/GetSyncState" RuntimeSecurityAgentAPI_UpdateSyncState_FullMethodName = "/runtime.v1.RuntimeSecurityAgentAPI/UpdateSyncState" RuntimeSecurityAgentAPI_KubernetesDeltaIngest_FullMethodName = "/runtime.v1.RuntimeSecurityAgentAPI/KubernetesDeltaIngest" RuntimeSecurityAgentAPI_ImageMetadataIngest_FullMethodName = "/runtime.v1.RuntimeSecurityAgentAPI/ImageMetadataIngest" RuntimeSecurityAgentAPI_KubeBenchReportIngest_FullMethodName = "/runtime.v1.RuntimeSecurityAgentAPI/KubeBenchReportIngest" RuntimeSecurityAgentAPI_KubeLinterReportIngest_FullMethodName = "/runtime.v1.RuntimeSecurityAgentAPI/KubeLinterReportIngest" )
Variables ¶
var ( Language_name = map[int32]string{ 0: "LANG_UNKNOWN", 1: "LANG_GOLANG", 2: "LANG_C", } Language_value = map[string]int32{ "LANG_UNKNOWN": 0, "LANG_GOLANG": 1, "LANG_C": 2, } )
Enum value maps for Language.
var ( StatsGroup_name = map[int32]string{ 0: "STATS_GROUP_UNKNOWN", 1: "STATS_GROUP_SYSCALL", 2: "STATS_GROUP_CPU", 3: "STATS_GROUP_MEMORY", 4: "STATS_GROUP_IO", 5: "STATS_GROUP_NET", } StatsGroup_value = map[string]int32{ "STATS_GROUP_UNKNOWN": 0, "STATS_GROUP_SYSCALL": 1, "STATS_GROUP_CPU": 2, "STATS_GROUP_MEMORY": 3, "STATS_GROUP_IO": 4, "STATS_GROUP_NET": 5, } )
Enum value maps for StatsGroup.
var ( SignatureEventID_name = map[int32]string{ 0: "SIGNATURE_UNKNOWN", 1: "SIGNATURE_STDIO_VIA_SOCKET", 2: "SIGNATURE_TTY_DETECTED", } SignatureEventID_value = map[string]int32{ "SIGNATURE_UNKNOWN": 0, "SIGNATURE_STDIO_VIA_SOCKET": 1, "SIGNATURE_TTY_DETECTED": 2, } )
Enum value maps for SignatureEventID.
var ( EventType_name = map[int32]string{ 0: "UNKNOWN", 1: "EVENT_EXEC", 2: "EVENT_DNS", 3: "EVENT_TCP_CONNECT", 4: "EVENT_TCP_CONNECT_ERROR", 5: "EVENT_TCP_LISTEN", 6: "EVENT_FILE_CHANGE", 7: "EVENT_PROCESS_OOM", 8: "EVENT_MAGIC_WRITE", 9: "EVENT_SIGNATURE", } EventType_value = map[string]int32{ "UNKNOWN": 0, "EVENT_EXEC": 1, "EVENT_DNS": 2, "EVENT_TCP_CONNECT": 3, "EVENT_TCP_CONNECT_ERROR": 4, "EVENT_TCP_LISTEN": 5, "EVENT_FILE_CHANGE": 6, "EVENT_PROCESS_OOM": 7, "EVENT_MAGIC_WRITE": 8, "EVENT_SIGNATURE": 9, } )
Enum value maps for EventType.
var ( KubernetesDeltaItemEvent_name = map[int32]string{ 0: "DELTA_ADD", 1: "DELTA_UPDATE", 2: "DELTA_REMOVE", } KubernetesDeltaItemEvent_value = map[string]int32{ "DELTA_ADD": 0, "DELTA_UPDATE": 1, "DELTA_REMOVE": 2, } )
Enum value maps for KubernetesDeltaItemEvent.
var ( ImageScanStatus_name = map[int32]string{ 0: "IMAGE_SCAN_STATUS_UNKNOWN", 1: "IMAGE_SCAN_STATUS_SCANNED", 2: "IMAGE_SCAN_STATUS_PENDING", 3: "IMAGE_SCAN_STATUS_SCAN_ERROR", } ImageScanStatus_value = map[string]int32{ "IMAGE_SCAN_STATUS_UNKNOWN": 0, "IMAGE_SCAN_STATUS_SCANNED": 1, "IMAGE_SCAN_STATUS_PENDING": 2, "IMAGE_SCAN_STATUS_SCAN_ERROR": 3, } )
Enum value maps for ImageScanStatus.
var File_api_v1_runtime_common_proto protoreflect.FileDescriptor
var File_api_v1_runtime_runtime_agent_api_proto protoreflect.FileDescriptor
var RuntimeSecurityAgentAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "runtime.v1.RuntimeSecurityAgentAPI", HandlerType: (*RuntimeSecurityAgentAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetConfiguration", Handler: _RuntimeSecurityAgentAPI_GetConfiguration_Handler, }, { MethodName: "GetSyncState", Handler: _RuntimeSecurityAgentAPI_GetSyncState_Handler, }, { MethodName: "UpdateSyncState", Handler: _RuntimeSecurityAgentAPI_UpdateSyncState_Handler, }, { MethodName: "ImageMetadataIngest", Handler: _RuntimeSecurityAgentAPI_ImageMetadataIngest_Handler, }, { MethodName: "KubeBenchReportIngest", Handler: _RuntimeSecurityAgentAPI_KubeBenchReportIngest_Handler, }, { MethodName: "KubeLinterReportIngest", Handler: _RuntimeSecurityAgentAPI_KubeLinterReportIngest_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "EventsWriteStream", Handler: _RuntimeSecurityAgentAPI_EventsWriteStream_Handler, ClientStreams: true, }, { StreamName: "LogsWriteStream", Handler: _RuntimeSecurityAgentAPI_LogsWriteStream_Handler, ClientStreams: true, }, { StreamName: "ContainerStatsWriteStream", Handler: _RuntimeSecurityAgentAPI_ContainerStatsWriteStream_Handler, ClientStreams: true, }, { StreamName: "KubernetesDeltaIngest", Handler: _RuntimeSecurityAgentAPI_KubernetesDeltaIngest_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "api/v1/runtime/runtime_agent_api.proto", }
RuntimeSecurityAgentAPI_ServiceDesc is the grpc.ServiceDesc for RuntimeSecurityAgentAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRuntimeSecurityAgentAPIServer ¶
func RegisterRuntimeSecurityAgentAPIServer(s grpc.ServiceRegistrar, srv RuntimeSecurityAgentAPIServer)
Types ¶
type Configuration ¶
type Configuration struct {
// contains filtered or unexported fields
}
func (*Configuration) Descriptor
deprecated
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶
func (x *Configuration) Reset()
func (*Configuration) String ¶
func (x *Configuration) String() string
type Container ¶
type Container struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ImageName string `protobuf:"bytes,2,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"` // contains filtered or unexported fields }
func (*Container) Descriptor
deprecated
func (*Container) GetImageName ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
type ContainerStats ¶
type ContainerStats struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` PodName string `protobuf:"bytes,2,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"` ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` WorkloadName string `protobuf:"bytes,4,opt,name=workload_name,json=workloadName,proto3" json:"workload_name,omitempty"` PodUid string `protobuf:"bytes,5,opt,name=pod_uid,json=podUid,proto3" json:"pod_uid,omitempty"` ContainerId string `protobuf:"bytes,6,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` Stats []*Stats `protobuf:"bytes,21,rep,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
func (*ContainerStats) Descriptor
deprecated
func (*ContainerStats) Descriptor() ([]byte, []int)
Deprecated: Use ContainerStats.ProtoReflect.Descriptor instead.
func (*ContainerStats) GetContainerId ¶
func (x *ContainerStats) GetContainerId() string
func (*ContainerStats) GetContainerName ¶
func (x *ContainerStats) GetContainerName() string
func (*ContainerStats) GetNamespace ¶
func (x *ContainerStats) GetNamespace() string
func (*ContainerStats) GetPodName ¶
func (x *ContainerStats) GetPodName() string
func (*ContainerStats) GetPodUid ¶
func (x *ContainerStats) GetPodUid() string
func (*ContainerStats) GetStats ¶
func (x *ContainerStats) GetStats() []*Stats
func (*ContainerStats) GetWorkloadName ¶
func (x *ContainerStats) GetWorkloadName() string
func (*ContainerStats) ProtoMessage ¶
func (*ContainerStats) ProtoMessage()
func (*ContainerStats) ProtoReflect ¶
func (x *ContainerStats) ProtoReflect() protoreflect.Message
func (*ContainerStats) Reset ¶
func (x *ContainerStats) Reset()
func (*ContainerStats) String ¶
func (x *ContainerStats) String() string
type ContainerStatsBatch ¶
type ContainerStatsBatch struct { Items []*ContainerStats `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ContainerStatsBatch) Descriptor
deprecated
func (*ContainerStatsBatch) Descriptor() ([]byte, []int)
Deprecated: Use ContainerStatsBatch.ProtoReflect.Descriptor instead.
func (*ContainerStatsBatch) GetItems ¶
func (x *ContainerStatsBatch) GetItems() []*ContainerStats
func (*ContainerStatsBatch) ProtoMessage ¶
func (*ContainerStatsBatch) ProtoMessage()
func (*ContainerStatsBatch) ProtoReflect ¶
func (x *ContainerStatsBatch) ProtoReflect() protoreflect.Message
func (*ContainerStatsBatch) Reset ¶
func (x *ContainerStatsBatch) Reset()
func (*ContainerStatsBatch) String ¶
func (x *ContainerStatsBatch) String() string
type DNS ¶
type DNS struct { DNSQuestionDomain string `protobuf:"bytes,1,opt,name=DNSQuestionDomain,proto3" json:"DNSQuestionDomain,omitempty"` Answers []*DNSAnswers `protobuf:"bytes,2,rep,name=answers,proto3" json:"answers,omitempty"` // contains filtered or unexported fields }
func (*DNS) Descriptor
deprecated
func (*DNS) GetAnswers ¶
func (x *DNS) GetAnswers() []*DNSAnswers
func (*DNS) GetDNSQuestionDomain ¶
func (*DNS) ProtoMessage ¶
func (*DNS) ProtoMessage()
func (*DNS) ProtoReflect ¶
func (x *DNS) ProtoReflect() protoreflect.Message
type DNSAnswers ¶
type DNSAnswers struct { Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Class uint32 `protobuf:"varint,2,opt,name=class,proto3" json:"class,omitempty"` Ttl uint32 `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Ip []byte `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"` Cname string `protobuf:"bytes,6,opt,name=cname,proto3" json:"cname,omitempty"` // contains filtered or unexported fields }
func (*DNSAnswers) Descriptor
deprecated
func (*DNSAnswers) Descriptor() ([]byte, []int)
Deprecated: Use DNSAnswers.ProtoReflect.Descriptor instead.
func (*DNSAnswers) GetClass ¶
func (x *DNSAnswers) GetClass() uint32
func (*DNSAnswers) GetCname ¶
func (x *DNSAnswers) GetCname() string
func (*DNSAnswers) GetIp ¶
func (x *DNSAnswers) GetIp() []byte
func (*DNSAnswers) GetName ¶
func (x *DNSAnswers) GetName() string
func (*DNSAnswers) GetTtl ¶
func (x *DNSAnswers) GetTtl() uint32
func (*DNSAnswers) GetType ¶
func (x *DNSAnswers) GetType() uint32
func (*DNSAnswers) ProtoMessage ¶
func (*DNSAnswers) ProtoMessage()
func (*DNSAnswers) ProtoReflect ¶
func (x *DNSAnswers) ProtoReflect() protoreflect.Message
func (*DNSAnswers) Reset ¶
func (x *DNSAnswers) Reset()
func (*DNSAnswers) String ¶
func (x *DNSAnswers) String() string
type Event ¶
type Event struct { EventType EventType `protobuf:"varint,1,opt,name=event_type,json=eventType,proto3,enum=runtime.v1.EventType" json:"event_type,omitempty"` Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Stored as unix timestamp in nanoseconds. ProcessName string `protobuf:"bytes,3,opt,name=process_name,json=processName,proto3" json:"process_name,omitempty"` Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` PodName string `protobuf:"bytes,5,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"` ContainerName string `protobuf:"bytes,6,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` WorkloadName string `protobuf:"bytes,7,opt,name=workload_name,json=workloadName,proto3" json:"workload_name,omitempty"` PodUid string `protobuf:"bytes,8,opt,name=pod_uid,json=podUid,proto3" json:"pod_uid,omitempty"` ContainerId string `protobuf:"bytes,9,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` CgroupId uint64 `protobuf:"varint,10,opt,name=cgroup_id,json=cgroupId,proto3" json:"cgroup_id,omitempty"` HostPid uint32 `protobuf:"varint,11,opt,name=host_pid,json=hostPid,proto3" json:"host_pid,omitempty"` // Types that are assignable to Data: // // *Event_Exec // *Event_Dns // *Event_File // *Event_Tuple // *Event_Signature Data isEvent_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetCgroupId ¶
func (*Event) GetContainerId ¶
func (*Event) GetContainerName ¶
func (*Event) GetEventType ¶
func (*Event) GetHostPid ¶
func (*Event) GetNamespace ¶
func (*Event) GetPodName ¶
func (*Event) GetProcessName ¶
func (*Event) GetSignature ¶
func (x *Event) GetSignature() *SignatureEvent
func (*Event) GetTimestamp ¶
func (*Event) GetWorkloadName ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventType ¶
type EventType int32
const ( EventType_UNKNOWN EventType = 0 EventType_EVENT_EXEC EventType = 1 EventType_EVENT_DNS EventType = 2 EventType_EVENT_TCP_CONNECT EventType = 3 EventType_EVENT_TCP_CONNECT_ERROR EventType = 4 EventType_EVENT_TCP_LISTEN EventType = 5 EventType_EVENT_FILE_CHANGE EventType = 6 EventType_EVENT_PROCESS_OOM EventType = 7 EventType_EVENT_MAGIC_WRITE EventType = 8 EventType_EVENT_SIGNATURE EventType = 9 )
func (EventType) Descriptor ¶
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
func (EventType) Number ¶
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶
func (EventType) Type() protoreflect.EnumType
type Event_Exec ¶
type Event_Exec struct {
Exec *Exec `protobuf:"bytes,21,opt,name=exec,proto3,oneof"`
}
type Event_File ¶
type Event_File struct {
File *File `protobuf:"bytes,23,opt,name=file,proto3,oneof"`
}
type Event_Signature ¶
type Event_Signature struct {
Signature *SignatureEvent `protobuf:"bytes,25,opt,name=signature,proto3,oneof"`
}
type Event_Tuple ¶
type Event_Tuple struct {
Tuple *Tuple `protobuf:"bytes,24,opt,name=tuple,proto3,oneof"`
}
type Exec ¶
type Exec struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` Meta *ExecMetadata `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*Exec) Descriptor
deprecated
func (*Exec) GetMeta ¶
func (x *Exec) GetMeta() *ExecMetadata
func (*Exec) ProtoMessage ¶
func (*Exec) ProtoMessage()
func (*Exec) ProtoReflect ¶
func (x *Exec) ProtoReflect() protoreflect.Message
type ExecMetadata ¶
type ExecMetadata struct { Lang Language `protobuf:"varint,1,opt,name=lang,proto3,enum=runtime.v1.Language" json:"lang,omitempty"` Libraries []*Library `protobuf:"bytes,2,rep,name=libraries,proto3" json:"libraries,omitempty"` HashSha256 []byte `protobuf:"bytes,3,opt,name=hash_sha256,json=hashSha256,proto3" json:"hash_sha256,omitempty"` // contains filtered or unexported fields }
func (*ExecMetadata) Descriptor
deprecated
func (*ExecMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ExecMetadata.ProtoReflect.Descriptor instead.
func (*ExecMetadata) GetHashSha256 ¶ added in v1.1.0
func (x *ExecMetadata) GetHashSha256() []byte
func (*ExecMetadata) GetLang ¶
func (x *ExecMetadata) GetLang() Language
func (*ExecMetadata) GetLibraries ¶
func (x *ExecMetadata) GetLibraries() []*Library
func (*ExecMetadata) ProtoMessage ¶
func (*ExecMetadata) ProtoMessage()
func (*ExecMetadata) ProtoReflect ¶
func (x *ExecMetadata) ProtoReflect() protoreflect.Message
func (*ExecMetadata) Reset ¶
func (x *ExecMetadata) Reset()
func (*ExecMetadata) String ¶
func (x *ExecMetadata) String() string
type File ¶
type File struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type GetConfigurationRequest ¶
type GetConfigurationRequest struct {
// contains filtered or unexported fields
}
func (*GetConfigurationRequest) Descriptor
deprecated
func (*GetConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigurationRequest.ProtoReflect.Descriptor instead.
func (*GetConfigurationRequest) ProtoMessage ¶
func (*GetConfigurationRequest) ProtoMessage()
func (*GetConfigurationRequest) ProtoReflect ¶
func (x *GetConfigurationRequest) ProtoReflect() protoreflect.Message
func (*GetConfigurationRequest) Reset ¶
func (x *GetConfigurationRequest) Reset()
func (*GetConfigurationRequest) String ¶
func (x *GetConfigurationRequest) String() string
type GetConfigurationResponse ¶
type GetConfigurationResponse struct { Config *Configuration `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*GetConfigurationResponse) Descriptor
deprecated
func (*GetConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigurationResponse.ProtoReflect.Descriptor instead.
func (*GetConfigurationResponse) GetConfig ¶
func (x *GetConfigurationResponse) GetConfig() *Configuration
func (*GetConfigurationResponse) ProtoMessage ¶
func (*GetConfigurationResponse) ProtoMessage()
func (*GetConfigurationResponse) ProtoReflect ¶
func (x *GetConfigurationResponse) ProtoReflect() protoreflect.Message
func (*GetConfigurationResponse) Reset ¶
func (x *GetConfigurationResponse) Reset()
func (*GetConfigurationResponse) String ¶
func (x *GetConfigurationResponse) String() string
type GetSyncStateRequest ¶
type GetSyncStateRequest struct { ImageIds []string `protobuf:"bytes,1,rep,name=image_ids,json=imageIds,proto3" json:"image_ids,omitempty"` // contains filtered or unexported fields }
func (*GetSyncStateRequest) Descriptor
deprecated
func (*GetSyncStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSyncStateRequest.ProtoReflect.Descriptor instead.
func (*GetSyncStateRequest) GetImageIds ¶
func (x *GetSyncStateRequest) GetImageIds() []string
func (*GetSyncStateRequest) ProtoMessage ¶
func (*GetSyncStateRequest) ProtoMessage()
func (*GetSyncStateRequest) ProtoReflect ¶
func (x *GetSyncStateRequest) ProtoReflect() protoreflect.Message
func (*GetSyncStateRequest) Reset ¶
func (x *GetSyncStateRequest) Reset()
func (*GetSyncStateRequest) String ¶
func (x *GetSyncStateRequest) String() string
type GetSyncStateResponse ¶
type GetSyncStateResponse struct { Images *ImagesSyncState `protobuf:"bytes,1,opt,name=images,proto3" json:"images,omitempty"` // contains filtered or unexported fields }
func (*GetSyncStateResponse) Descriptor
deprecated
func (*GetSyncStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSyncStateResponse.ProtoReflect.Descriptor instead.
func (*GetSyncStateResponse) GetImages ¶
func (x *GetSyncStateResponse) GetImages() *ImagesSyncState
func (*GetSyncStateResponse) ProtoMessage ¶
func (*GetSyncStateResponse) ProtoMessage()
func (*GetSyncStateResponse) ProtoReflect ¶
func (x *GetSyncStateResponse) ProtoReflect() protoreflect.Message
func (*GetSyncStateResponse) Reset ¶
func (x *GetSyncStateResponse) Reset()
func (*GetSyncStateResponse) String ¶
func (x *GetSyncStateResponse) String() string
type Image ¶
type Image struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Architecture string `protobuf:"bytes,3,opt,name=architecture,proto3" json:"architecture,omitempty"` ResourceIds []string `protobuf:"bytes,4,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"` ScanStatus ImageScanStatus `protobuf:"varint,5,opt,name=scan_status,json=scanStatus,proto3,enum=runtime.v1.ImageScanStatus" json:"scan_status,omitempty"` ScanError string `protobuf:"bytes,6,opt,name=scan_error,json=scanError,proto3" json:"scan_error,omitempty"` // contains filtered or unexported fields }
func (*Image) Descriptor
deprecated
func (*Image) GetArchitecture ¶
func (*Image) GetResourceIds ¶
func (*Image) GetScanError ¶
func (*Image) GetScanStatus ¶
func (x *Image) GetScanStatus() ImageScanStatus
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
type ImageMetadata ¶
type ImageMetadata struct { ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"` ImageId string `protobuf:"bytes,2,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` ImageDigest string `protobuf:"bytes,3,opt,name=image_digest,json=imageDigest,proto3" json:"image_digest,omitempty"` Architecture string `protobuf:"bytes,5,opt,name=architecture,proto3" json:"architecture,omitempty"` OsName string `protobuf:"bytes,6,opt,name=os_name,json=osName,proto3" json:"os_name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ResourceIds []string `protobuf:"bytes,8,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"` Packages []byte `protobuf:"bytes,9,opt,name=packages,proto3" json:"packages,omitempty"` // JSON containing []github.com/aquasecurity/trivy/pkg/fanal/types.BlobInfo type. Manifest []byte `protobuf:"bytes,10,opt,name=manifest,proto3" json:"manifest,omitempty"` // JSON containing github.com/google/go-containerregistry/pkg/v1.Manifest type. Index []byte `protobuf:"bytes,11,opt,name=index,proto3" json:"index,omitempty"` // JSON containing github.com/google/go-containerregistry/pkg/v1.IndexManifest type. ConfigFile []byte `protobuf:"bytes,12,opt,name=config_file,json=configFile,proto3" json:"config_file,omitempty"` // JSON containing github.com/google/go-containerregistry/pkg/v1.ConfigFile type. // contains filtered or unexported fields }
func (*ImageMetadata) Descriptor
deprecated
func (*ImageMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImageMetadata.ProtoReflect.Descriptor instead.
func (*ImageMetadata) GetArchitecture ¶
func (x *ImageMetadata) GetArchitecture() string
func (*ImageMetadata) GetConfigFile ¶
func (x *ImageMetadata) GetConfigFile() []byte
func (*ImageMetadata) GetCreatedAt ¶
func (x *ImageMetadata) GetCreatedAt() *timestamppb.Timestamp
func (*ImageMetadata) GetImageDigest ¶
func (x *ImageMetadata) GetImageDigest() string
func (*ImageMetadata) GetImageId ¶
func (x *ImageMetadata) GetImageId() string
func (*ImageMetadata) GetImageName ¶
func (x *ImageMetadata) GetImageName() string
func (*ImageMetadata) GetIndex ¶
func (x *ImageMetadata) GetIndex() []byte
func (*ImageMetadata) GetManifest ¶
func (x *ImageMetadata) GetManifest() []byte
func (*ImageMetadata) GetOsName ¶
func (x *ImageMetadata) GetOsName() string
func (*ImageMetadata) GetPackages ¶
func (x *ImageMetadata) GetPackages() []byte
func (*ImageMetadata) GetResourceIds ¶
func (x *ImageMetadata) GetResourceIds() []string
func (*ImageMetadata) ProtoMessage ¶
func (*ImageMetadata) ProtoMessage()
func (*ImageMetadata) ProtoReflect ¶
func (x *ImageMetadata) ProtoReflect() protoreflect.Message
func (*ImageMetadata) Reset ¶
func (x *ImageMetadata) Reset()
func (*ImageMetadata) String ¶
func (x *ImageMetadata) String() string
type ImageMetadataIngestResponse ¶
type ImageMetadataIngestResponse struct {
// contains filtered or unexported fields
}
func (*ImageMetadataIngestResponse) Descriptor
deprecated
func (*ImageMetadataIngestResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImageMetadataIngestResponse.ProtoReflect.Descriptor instead.
func (*ImageMetadataIngestResponse) ProtoMessage ¶
func (*ImageMetadataIngestResponse) ProtoMessage()
func (*ImageMetadataIngestResponse) ProtoReflect ¶
func (x *ImageMetadataIngestResponse) ProtoReflect() protoreflect.Message
func (*ImageMetadataIngestResponse) Reset ¶
func (x *ImageMetadataIngestResponse) Reset()
func (*ImageMetadataIngestResponse) String ¶
func (x *ImageMetadataIngestResponse) String() string
type ImageScanStatus ¶
type ImageScanStatus int32
const ( ImageScanStatus_IMAGE_SCAN_STATUS_UNKNOWN ImageScanStatus = 0 ImageScanStatus_IMAGE_SCAN_STATUS_SCANNED ImageScanStatus = 1 ImageScanStatus_IMAGE_SCAN_STATUS_PENDING ImageScanStatus = 2 ImageScanStatus_IMAGE_SCAN_STATUS_SCAN_ERROR ImageScanStatus = 3 )
func (ImageScanStatus) Descriptor ¶
func (ImageScanStatus) Descriptor() protoreflect.EnumDescriptor
func (ImageScanStatus) Enum ¶
func (x ImageScanStatus) Enum() *ImageScanStatus
func (ImageScanStatus) EnumDescriptor
deprecated
func (ImageScanStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImageScanStatus.Descriptor instead.
func (ImageScanStatus) Number ¶
func (x ImageScanStatus) Number() protoreflect.EnumNumber
func (ImageScanStatus) String ¶
func (x ImageScanStatus) String() string
func (ImageScanStatus) Type ¶
func (ImageScanStatus) Type() protoreflect.EnumType
type ImagesSyncState ¶
type ImagesSyncState struct { FullResyncRequired bool `protobuf:"varint,1,opt,name=full_resync_required,json=fullResyncRequired,proto3" json:"full_resync_required,omitempty"` Images []*Image `protobuf:"bytes,2,rep,name=images,proto3" json:"images,omitempty"` // contains filtered or unexported fields }
func (*ImagesSyncState) Descriptor
deprecated
func (*ImagesSyncState) Descriptor() ([]byte, []int)
Deprecated: Use ImagesSyncState.ProtoReflect.Descriptor instead.
func (*ImagesSyncState) GetFullResyncRequired ¶
func (x *ImagesSyncState) GetFullResyncRequired() bool
func (*ImagesSyncState) GetImages ¶
func (x *ImagesSyncState) GetImages() []*Image
func (*ImagesSyncState) ProtoMessage ¶
func (*ImagesSyncState) ProtoMessage()
func (*ImagesSyncState) ProtoReflect ¶
func (x *ImagesSyncState) ProtoReflect() protoreflect.Message
func (*ImagesSyncState) Reset ¶
func (x *ImagesSyncState) Reset()
func (*ImagesSyncState) String ¶
func (x *ImagesSyncState) String() string
type KubeBenchCheck ¶
type KubeBenchCheck struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` TestInfo []string `protobuf:"bytes,3,rep,name=test_info,json=testInfo,proto3" json:"test_info,omitempty"` State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*KubeBenchCheck) Descriptor
deprecated
func (*KubeBenchCheck) Descriptor() ([]byte, []int)
Deprecated: Use KubeBenchCheck.ProtoReflect.Descriptor instead.
func (*KubeBenchCheck) GetId ¶
func (x *KubeBenchCheck) GetId() string
func (*KubeBenchCheck) GetState ¶
func (x *KubeBenchCheck) GetState() string
func (*KubeBenchCheck) GetTestInfo ¶
func (x *KubeBenchCheck) GetTestInfo() []string
func (*KubeBenchCheck) GetText ¶
func (x *KubeBenchCheck) GetText() string
func (*KubeBenchCheck) ProtoMessage ¶
func (*KubeBenchCheck) ProtoMessage()
func (*KubeBenchCheck) ProtoReflect ¶
func (x *KubeBenchCheck) ProtoReflect() protoreflect.Message
func (*KubeBenchCheck) Reset ¶
func (x *KubeBenchCheck) Reset()
func (*KubeBenchCheck) String ¶
func (x *KubeBenchCheck) String() string
type KubeBenchControls ¶
type KubeBenchControls struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Groups []*KubeBenchGroup `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*KubeBenchControls) Descriptor
deprecated
func (*KubeBenchControls) Descriptor() ([]byte, []int)
Deprecated: Use KubeBenchControls.ProtoReflect.Descriptor instead.
func (*KubeBenchControls) GetGroups ¶
func (x *KubeBenchControls) GetGroups() []*KubeBenchGroup
func (*KubeBenchControls) GetVersion ¶
func (x *KubeBenchControls) GetVersion() string
func (*KubeBenchControls) ProtoMessage ¶
func (*KubeBenchControls) ProtoMessage()
func (*KubeBenchControls) ProtoReflect ¶
func (x *KubeBenchControls) ProtoReflect() protoreflect.Message
func (*KubeBenchControls) Reset ¶
func (x *KubeBenchControls) Reset()
func (*KubeBenchControls) String ¶
func (x *KubeBenchControls) String() string
type KubeBenchGroup ¶
type KubeBenchGroup struct { Checks []*KubeBenchCheck `protobuf:"bytes,1,rep,name=checks,proto3" json:"checks,omitempty"` // contains filtered or unexported fields }
func (*KubeBenchGroup) Descriptor
deprecated
func (*KubeBenchGroup) Descriptor() ([]byte, []int)
Deprecated: Use KubeBenchGroup.ProtoReflect.Descriptor instead.
func (*KubeBenchGroup) GetChecks ¶
func (x *KubeBenchGroup) GetChecks() []*KubeBenchCheck
func (*KubeBenchGroup) ProtoMessage ¶
func (*KubeBenchGroup) ProtoMessage()
func (*KubeBenchGroup) ProtoReflect ¶
func (x *KubeBenchGroup) ProtoReflect() protoreflect.Message
func (*KubeBenchGroup) Reset ¶
func (x *KubeBenchGroup) Reset()
func (*KubeBenchGroup) String ¶
func (x *KubeBenchGroup) String() string
type KubeBenchNode ¶
type KubeBenchNode struct { NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` ResourceUid string `protobuf:"bytes,2,opt,name=resource_uid,json=resourceUid,proto3" json:"resource_uid,omitempty"` // contains filtered or unexported fields }
func (*KubeBenchNode) Descriptor
deprecated
func (*KubeBenchNode) Descriptor() ([]byte, []int)
Deprecated: Use KubeBenchNode.ProtoReflect.Descriptor instead.
func (*KubeBenchNode) GetNodeName ¶
func (x *KubeBenchNode) GetNodeName() string
func (*KubeBenchNode) GetResourceUid ¶
func (x *KubeBenchNode) GetResourceUid() string
func (*KubeBenchNode) ProtoMessage ¶
func (*KubeBenchNode) ProtoMessage()
func (*KubeBenchNode) ProtoReflect ¶
func (x *KubeBenchNode) ProtoReflect() protoreflect.Message
func (*KubeBenchNode) Reset ¶
func (x *KubeBenchNode) Reset()
func (*KubeBenchNode) String ¶
func (x *KubeBenchNode) String() string
type KubeBenchReport ¶
type KubeBenchReport struct { Controls []*KubeBenchControls `protobuf:"bytes,1,rep,name=controls,proto3" json:"controls,omitempty"` Node *KubeBenchNode `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*KubeBenchReport) Descriptor
deprecated
func (*KubeBenchReport) Descriptor() ([]byte, []int)
Deprecated: Use KubeBenchReport.ProtoReflect.Descriptor instead.
func (*KubeBenchReport) GetControls ¶
func (x *KubeBenchReport) GetControls() []*KubeBenchControls
func (*KubeBenchReport) GetNode ¶
func (x *KubeBenchReport) GetNode() *KubeBenchNode
func (*KubeBenchReport) ProtoMessage ¶
func (*KubeBenchReport) ProtoMessage()
func (*KubeBenchReport) ProtoReflect ¶
func (x *KubeBenchReport) ProtoReflect() protoreflect.Message
func (*KubeBenchReport) Reset ¶
func (x *KubeBenchReport) Reset()
func (*KubeBenchReport) String ¶
func (x *KubeBenchReport) String() string
type KubeBenchReportIngestResponse ¶
type KubeBenchReportIngestResponse struct {
// contains filtered or unexported fields
}
func (*KubeBenchReportIngestResponse) Descriptor
deprecated
func (*KubeBenchReportIngestResponse) Descriptor() ([]byte, []int)
Deprecated: Use KubeBenchReportIngestResponse.ProtoReflect.Descriptor instead.
func (*KubeBenchReportIngestResponse) ProtoMessage ¶
func (*KubeBenchReportIngestResponse) ProtoMessage()
func (*KubeBenchReportIngestResponse) ProtoReflect ¶
func (x *KubeBenchReportIngestResponse) ProtoReflect() protoreflect.Message
func (*KubeBenchReportIngestResponse) Reset ¶
func (x *KubeBenchReportIngestResponse) Reset()
func (*KubeBenchReportIngestResponse) String ¶
func (x *KubeBenchReportIngestResponse) String() string
type KubeLinterCheck ¶
type KubeLinterCheck struct { ResourceUid string `protobuf:"bytes,1,opt,name=resource_uid,json=resourceUid,proto3" json:"resource_uid,omitempty"` Passed uint64 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty"` // Represented as bitmasks of passed checks. Failed uint64 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty"` // Represented as bitmasks of failed checks. // contains filtered or unexported fields }
func (*KubeLinterCheck) Descriptor
deprecated
func (*KubeLinterCheck) Descriptor() ([]byte, []int)
Deprecated: Use KubeLinterCheck.ProtoReflect.Descriptor instead.
func (*KubeLinterCheck) GetFailed ¶
func (x *KubeLinterCheck) GetFailed() uint64
func (*KubeLinterCheck) GetPassed ¶
func (x *KubeLinterCheck) GetPassed() uint64
func (*KubeLinterCheck) GetResourceUid ¶
func (x *KubeLinterCheck) GetResourceUid() string
func (*KubeLinterCheck) ProtoMessage ¶
func (*KubeLinterCheck) ProtoMessage()
func (*KubeLinterCheck) ProtoReflect ¶
func (x *KubeLinterCheck) ProtoReflect() protoreflect.Message
func (*KubeLinterCheck) Reset ¶
func (x *KubeLinterCheck) Reset()
func (*KubeLinterCheck) String ¶
func (x *KubeLinterCheck) String() string
type KubeLinterReport ¶
type KubeLinterReport struct { Checks []*KubeLinterCheck `protobuf:"bytes,1,rep,name=checks,proto3" json:"checks,omitempty"` // contains filtered or unexported fields }
func (*KubeLinterReport) Descriptor
deprecated
func (*KubeLinterReport) Descriptor() ([]byte, []int)
Deprecated: Use KubeLinterReport.ProtoReflect.Descriptor instead.
func (*KubeLinterReport) GetChecks ¶
func (x *KubeLinterReport) GetChecks() []*KubeLinterCheck
func (*KubeLinterReport) ProtoMessage ¶
func (*KubeLinterReport) ProtoMessage()
func (*KubeLinterReport) ProtoReflect ¶
func (x *KubeLinterReport) ProtoReflect() protoreflect.Message
func (*KubeLinterReport) Reset ¶
func (x *KubeLinterReport) Reset()
func (*KubeLinterReport) String ¶
func (x *KubeLinterReport) String() string
type KubeLinterReportIngestResponse ¶
type KubeLinterReportIngestResponse struct {
// contains filtered or unexported fields
}
func (*KubeLinterReportIngestResponse) Descriptor
deprecated
func (*KubeLinterReportIngestResponse) Descriptor() ([]byte, []int)
Deprecated: Use KubeLinterReportIngestResponse.ProtoReflect.Descriptor instead.
func (*KubeLinterReportIngestResponse) ProtoMessage ¶
func (*KubeLinterReportIngestResponse) ProtoMessage()
func (*KubeLinterReportIngestResponse) ProtoReflect ¶
func (x *KubeLinterReportIngestResponse) ProtoReflect() protoreflect.Message
func (*KubeLinterReportIngestResponse) Reset ¶
func (x *KubeLinterReportIngestResponse) Reset()
func (*KubeLinterReportIngestResponse) String ¶
func (x *KubeLinterReportIngestResponse) String() string
type KubernetesDeltaIngestResponse ¶
type KubernetesDeltaIngestResponse struct {
// contains filtered or unexported fields
}
func (*KubernetesDeltaIngestResponse) Descriptor
deprecated
func (*KubernetesDeltaIngestResponse) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesDeltaIngestResponse.ProtoReflect.Descriptor instead.
func (*KubernetesDeltaIngestResponse) ProtoMessage ¶
func (*KubernetesDeltaIngestResponse) ProtoMessage()
func (*KubernetesDeltaIngestResponse) ProtoReflect ¶
func (x *KubernetesDeltaIngestResponse) ProtoReflect() protoreflect.Message
func (*KubernetesDeltaIngestResponse) Reset ¶
func (x *KubernetesDeltaIngestResponse) Reset()
func (*KubernetesDeltaIngestResponse) String ¶
func (x *KubernetesDeltaIngestResponse) String() string
type KubernetesDeltaItem ¶
type KubernetesDeltaItem struct { Event KubernetesDeltaItemEvent `protobuf:"varint,1,opt,name=event,proto3,enum=runtime.v1.KubernetesDeltaItemEvent" json:"event,omitempty"` ObjectUid string `protobuf:"bytes,2,opt,name=object_uid,json=objectUid,proto3" json:"object_uid,omitempty"` ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` ObjectNamespace string `protobuf:"bytes,4,opt,name=object_namespace,json=objectNamespace,proto3" json:"object_namespace,omitempty"` ObjectKind string `protobuf:"bytes,5,opt,name=object_kind,json=objectKind,proto3" json:"object_kind,omitempty"` ObjectApiVersion string `protobuf:"bytes,6,opt,name=object_api_version,json=objectApiVersion,proto3" json:"object_api_version,omitempty"` ObjectCreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=object_created_at,json=objectCreatedAt,proto3" json:"object_created_at,omitempty"` ObjectContainers []*Container `protobuf:"bytes,8,rep,name=object_containers,json=objectContainers,proto3" json:"object_containers,omitempty"` ObjectOwnerUid string `protobuf:"bytes,9,opt,name=object_owner_uid,json=objectOwnerUid,proto3" json:"object_owner_uid,omitempty"` ObjectLabels map[string]string `` /* 186-byte string literal not displayed */ ObjectAnnotations map[string]string `` /* 201-byte string literal not displayed */ ObjectStatus []byte `protobuf:"bytes,12,opt,name=object_status,json=objectStatus,proto3" json:"object_status,omitempty"` ObjectSpec []byte `protobuf:"bytes,13,opt,name=object_spec,json=objectSpec,proto3" json:"object_spec,omitempty"` // contains filtered or unexported fields }
func (*KubernetesDeltaItem) Descriptor
deprecated
func (*KubernetesDeltaItem) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesDeltaItem.ProtoReflect.Descriptor instead.
func (*KubernetesDeltaItem) GetEvent ¶
func (x *KubernetesDeltaItem) GetEvent() KubernetesDeltaItemEvent
func (*KubernetesDeltaItem) GetObjectAnnotations ¶
func (x *KubernetesDeltaItem) GetObjectAnnotations() map[string]string
func (*KubernetesDeltaItem) GetObjectApiVersion ¶
func (x *KubernetesDeltaItem) GetObjectApiVersion() string
func (*KubernetesDeltaItem) GetObjectContainers ¶
func (x *KubernetesDeltaItem) GetObjectContainers() []*Container
func (*KubernetesDeltaItem) GetObjectCreatedAt ¶
func (x *KubernetesDeltaItem) GetObjectCreatedAt() *timestamppb.Timestamp
func (*KubernetesDeltaItem) GetObjectKind ¶
func (x *KubernetesDeltaItem) GetObjectKind() string
func (*KubernetesDeltaItem) GetObjectLabels ¶
func (x *KubernetesDeltaItem) GetObjectLabels() map[string]string
func (*KubernetesDeltaItem) GetObjectName ¶
func (x *KubernetesDeltaItem) GetObjectName() string
func (*KubernetesDeltaItem) GetObjectNamespace ¶
func (x *KubernetesDeltaItem) GetObjectNamespace() string
func (*KubernetesDeltaItem) GetObjectOwnerUid ¶
func (x *KubernetesDeltaItem) GetObjectOwnerUid() string
func (*KubernetesDeltaItem) GetObjectSpec ¶
func (x *KubernetesDeltaItem) GetObjectSpec() []byte
func (*KubernetesDeltaItem) GetObjectStatus ¶
func (x *KubernetesDeltaItem) GetObjectStatus() []byte
func (*KubernetesDeltaItem) GetObjectUid ¶
func (x *KubernetesDeltaItem) GetObjectUid() string
func (*KubernetesDeltaItem) ProtoMessage ¶
func (*KubernetesDeltaItem) ProtoMessage()
func (*KubernetesDeltaItem) ProtoReflect ¶
func (x *KubernetesDeltaItem) ProtoReflect() protoreflect.Message
func (*KubernetesDeltaItem) Reset ¶
func (x *KubernetesDeltaItem) Reset()
func (*KubernetesDeltaItem) String ¶
func (x *KubernetesDeltaItem) String() string
type KubernetesDeltaItemEvent ¶
type KubernetesDeltaItemEvent int32
const ( KubernetesDeltaItemEvent_DELTA_ADD KubernetesDeltaItemEvent = 0 KubernetesDeltaItemEvent_DELTA_UPDATE KubernetesDeltaItemEvent = 1 KubernetesDeltaItemEvent_DELTA_REMOVE KubernetesDeltaItemEvent = 2 )
func (KubernetesDeltaItemEvent) Descriptor ¶
func (KubernetesDeltaItemEvent) Descriptor() protoreflect.EnumDescriptor
func (KubernetesDeltaItemEvent) Enum ¶
func (x KubernetesDeltaItemEvent) Enum() *KubernetesDeltaItemEvent
func (KubernetesDeltaItemEvent) EnumDescriptor
deprecated
func (KubernetesDeltaItemEvent) EnumDescriptor() ([]byte, []int)
Deprecated: Use KubernetesDeltaItemEvent.Descriptor instead.
func (KubernetesDeltaItemEvent) Number ¶
func (x KubernetesDeltaItemEvent) Number() protoreflect.EnumNumber
func (KubernetesDeltaItemEvent) String ¶
func (x KubernetesDeltaItemEvent) String() string
func (KubernetesDeltaItemEvent) Type ¶
func (KubernetesDeltaItemEvent) Type() protoreflect.EnumType
type Language ¶
type Language int32
func (Language) Descriptor ¶
func (Language) Descriptor() protoreflect.EnumDescriptor
func (Language) EnumDescriptor
deprecated
func (Language) Number ¶
func (x Language) Number() protoreflect.EnumNumber
func (Language) Type ¶
func (Language) Type() protoreflect.EnumType
type Library ¶
type Library struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Library) Descriptor
deprecated
func (*Library) GetVersion ¶
func (*Library) ProtoMessage ¶
func (*Library) ProtoMessage()
func (*Library) ProtoReflect ¶
func (x *Library) ProtoReflect() protoreflect.Message
type LogEvent ¶
type LogEvent struct { Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*LogEvent) Descriptor
deprecated
func (*LogEvent) ProtoMessage ¶
func (*LogEvent) ProtoMessage()
func (*LogEvent) ProtoReflect ¶
func (x *LogEvent) ProtoReflect() protoreflect.Message
type RuntimeSecurityAgentAPIClient ¶
type RuntimeSecurityAgentAPIClient interface { GetConfiguration(ctx context.Context, in *GetConfigurationRequest, opts ...grpc.CallOption) (*GetConfigurationResponse, error) EventsWriteStream(ctx context.Context, opts ...grpc.CallOption) (RuntimeSecurityAgentAPI_EventsWriteStreamClient, error) LogsWriteStream(ctx context.Context, opts ...grpc.CallOption) (RuntimeSecurityAgentAPI_LogsWriteStreamClient, error) ContainerStatsWriteStream(ctx context.Context, opts ...grpc.CallOption) (RuntimeSecurityAgentAPI_ContainerStatsWriteStreamClient, error) GetSyncState(ctx context.Context, in *GetSyncStateRequest, opts ...grpc.CallOption) (*GetSyncStateResponse, error) UpdateSyncState(ctx context.Context, in *UpdateSyncStateRequest, opts ...grpc.CallOption) (*UpdateSyncStateResponse, error) KubernetesDeltaIngest(ctx context.Context, opts ...grpc.CallOption) (RuntimeSecurityAgentAPI_KubernetesDeltaIngestClient, error) ImageMetadataIngest(ctx context.Context, in *ImageMetadata, opts ...grpc.CallOption) (*ImageMetadataIngestResponse, error) KubeBenchReportIngest(ctx context.Context, in *KubeBenchReport, opts ...grpc.CallOption) (*KubeBenchReportIngestResponse, error) KubeLinterReportIngest(ctx context.Context, in *KubeLinterReport, opts ...grpc.CallOption) (*KubeLinterReportIngestResponse, error) }
RuntimeSecurityAgentAPIClient is the client API for RuntimeSecurityAgentAPI 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 NewRuntimeSecurityAgentAPIClient ¶
func NewRuntimeSecurityAgentAPIClient(cc grpc.ClientConnInterface) RuntimeSecurityAgentAPIClient
type RuntimeSecurityAgentAPIServer ¶
type RuntimeSecurityAgentAPIServer interface { GetConfiguration(context.Context, *GetConfigurationRequest) (*GetConfigurationResponse, error) EventsWriteStream(RuntimeSecurityAgentAPI_EventsWriteStreamServer) error LogsWriteStream(RuntimeSecurityAgentAPI_LogsWriteStreamServer) error ContainerStatsWriteStream(RuntimeSecurityAgentAPI_ContainerStatsWriteStreamServer) error GetSyncState(context.Context, *GetSyncStateRequest) (*GetSyncStateResponse, error) UpdateSyncState(context.Context, *UpdateSyncStateRequest) (*UpdateSyncStateResponse, error) KubernetesDeltaIngest(RuntimeSecurityAgentAPI_KubernetesDeltaIngestServer) error ImageMetadataIngest(context.Context, *ImageMetadata) (*ImageMetadataIngestResponse, error) KubeBenchReportIngest(context.Context, *KubeBenchReport) (*KubeBenchReportIngestResponse, error) KubeLinterReportIngest(context.Context, *KubeLinterReport) (*KubeLinterReportIngestResponse, error) }
RuntimeSecurityAgentAPIServer is the server API for RuntimeSecurityAgentAPI service. All implementations should embed UnimplementedRuntimeSecurityAgentAPIServer for forward compatibility
type RuntimeSecurityAgentAPI_ContainerStatsWriteStreamClient ¶
type RuntimeSecurityAgentAPI_ContainerStatsWriteStreamClient interface { Send(*ContainerStatsBatch) error CloseAndRecv() (*WriteStreamResponse, error) grpc.ClientStream }
type RuntimeSecurityAgentAPI_ContainerStatsWriteStreamServer ¶
type RuntimeSecurityAgentAPI_ContainerStatsWriteStreamServer interface { SendAndClose(*WriteStreamResponse) error Recv() (*ContainerStatsBatch, error) grpc.ServerStream }
type RuntimeSecurityAgentAPI_EventsWriteStreamClient ¶
type RuntimeSecurityAgentAPI_EventsWriteStreamClient interface { Send(*Event) error CloseAndRecv() (*WriteStreamResponse, error) grpc.ClientStream }
type RuntimeSecurityAgentAPI_EventsWriteStreamServer ¶
type RuntimeSecurityAgentAPI_EventsWriteStreamServer interface { SendAndClose(*WriteStreamResponse) error Recv() (*Event, error) grpc.ServerStream }
type RuntimeSecurityAgentAPI_KubernetesDeltaIngestClient ¶
type RuntimeSecurityAgentAPI_KubernetesDeltaIngestClient interface { Send(*KubernetesDeltaItem) error Recv() (*KubernetesDeltaIngestResponse, error) grpc.ClientStream }
type RuntimeSecurityAgentAPI_KubernetesDeltaIngestServer ¶
type RuntimeSecurityAgentAPI_KubernetesDeltaIngestServer interface { Send(*KubernetesDeltaIngestResponse) error Recv() (*KubernetesDeltaItem, error) grpc.ServerStream }
type RuntimeSecurityAgentAPI_LogsWriteStreamClient ¶
type RuntimeSecurityAgentAPI_LogsWriteStreamClient interface { Send(*LogEvent) error CloseAndRecv() (*WriteStreamResponse, error) grpc.ClientStream }
type RuntimeSecurityAgentAPI_LogsWriteStreamServer ¶
type RuntimeSecurityAgentAPI_LogsWriteStreamServer interface { SendAndClose(*WriteStreamResponse) error Recv() (*LogEvent, error) grpc.ServerStream }
type SendLogsResponse ¶
type SendLogsResponse struct {
// contains filtered or unexported fields
}
func (*SendLogsResponse) Descriptor
deprecated
func (*SendLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendLogsResponse.ProtoReflect.Descriptor instead.
func (*SendLogsResponse) ProtoMessage ¶
func (*SendLogsResponse) ProtoMessage()
func (*SendLogsResponse) ProtoReflect ¶
func (x *SendLogsResponse) ProtoReflect() protoreflect.Message
func (*SendLogsResponse) Reset ¶
func (x *SendLogsResponse) Reset()
func (*SendLogsResponse) String ¶
func (x *SendLogsResponse) String() string
type SignatureEvent ¶
type SignatureEvent struct { Metadata *SignatureMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Finding *SignatureFinding `protobuf:"bytes,2,opt,name=finding,proto3" json:"finding,omitempty"` // contains filtered or unexported fields }
func (*SignatureEvent) Descriptor
deprecated
func (*SignatureEvent) Descriptor() ([]byte, []int)
Deprecated: Use SignatureEvent.ProtoReflect.Descriptor instead.
func (*SignatureEvent) GetFinding ¶
func (x *SignatureEvent) GetFinding() *SignatureFinding
func (*SignatureEvent) GetMetadata ¶
func (x *SignatureEvent) GetMetadata() *SignatureMetadata
func (*SignatureEvent) ProtoMessage ¶
func (*SignatureEvent) ProtoMessage()
func (*SignatureEvent) ProtoReflect ¶
func (x *SignatureEvent) ProtoReflect() protoreflect.Message
func (*SignatureEvent) Reset ¶
func (x *SignatureEvent) Reset()
func (*SignatureEvent) String ¶
func (x *SignatureEvent) String() string
type SignatureEventID ¶
type SignatureEventID int32
const ( SignatureEventID_SIGNATURE_UNKNOWN SignatureEventID = 0 SignatureEventID_SIGNATURE_STDIO_VIA_SOCKET SignatureEventID = 1 SignatureEventID_SIGNATURE_TTY_DETECTED SignatureEventID = 2 )
func (SignatureEventID) Descriptor ¶
func (SignatureEventID) Descriptor() protoreflect.EnumDescriptor
func (SignatureEventID) Enum ¶
func (x SignatureEventID) Enum() *SignatureEventID
func (SignatureEventID) EnumDescriptor
deprecated
func (SignatureEventID) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignatureEventID.Descriptor instead.
func (SignatureEventID) Number ¶
func (x SignatureEventID) Number() protoreflect.EnumNumber
func (SignatureEventID) String ¶
func (x SignatureEventID) String() string
func (SignatureEventID) Type ¶
func (SignatureEventID) Type() protoreflect.EnumType
type SignatureFinding ¶
type SignatureFinding struct {
// contains filtered or unexported fields
}
func (*SignatureFinding) Descriptor
deprecated
func (*SignatureFinding) Descriptor() ([]byte, []int)
Deprecated: Use SignatureFinding.ProtoReflect.Descriptor instead.
func (*SignatureFinding) ProtoMessage ¶
func (*SignatureFinding) ProtoMessage()
func (*SignatureFinding) ProtoReflect ¶
func (x *SignatureFinding) ProtoReflect() protoreflect.Message
func (*SignatureFinding) Reset ¶
func (x *SignatureFinding) Reset()
func (*SignatureFinding) String ¶
func (x *SignatureFinding) String() string
type SignatureMetadata ¶
type SignatureMetadata struct { Id SignatureEventID `protobuf:"varint,1,opt,name=id,proto3,enum=runtime.v1.SignatureEventID" json:"id,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*SignatureMetadata) Descriptor
deprecated
func (*SignatureMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SignatureMetadata.ProtoReflect.Descriptor instead.
func (*SignatureMetadata) GetId ¶
func (x *SignatureMetadata) GetId() SignatureEventID
func (*SignatureMetadata) GetVersion ¶
func (x *SignatureMetadata) GetVersion() string
func (*SignatureMetadata) ProtoMessage ¶
func (*SignatureMetadata) ProtoMessage()
func (*SignatureMetadata) ProtoReflect ¶
func (x *SignatureMetadata) ProtoReflect() protoreflect.Message
func (*SignatureMetadata) Reset ¶
func (x *SignatureMetadata) Reset()
func (*SignatureMetadata) String ¶
func (x *SignatureMetadata) String() string
type Stats ¶
type Stats struct { Group StatsGroup `protobuf:"varint,1,opt,name=group,proto3,enum=runtime.v1.StatsGroup" json:"group,omitempty"` Subgroup uint32 `protobuf:"varint,2,opt,name=subgroup,proto3" json:"subgroup,omitempty"` Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Stats) Descriptor
deprecated
func (*Stats) GetGroup ¶
func (x *Stats) GetGroup() StatsGroup
func (*Stats) GetSubgroup ¶
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) ProtoReflect ¶
func (x *Stats) ProtoReflect() protoreflect.Message
type StatsGroup ¶
type StatsGroup int32
const ( StatsGroup_STATS_GROUP_UNKNOWN StatsGroup = 0 StatsGroup_STATS_GROUP_SYSCALL StatsGroup = 1 StatsGroup_STATS_GROUP_CPU StatsGroup = 2 StatsGroup_STATS_GROUP_MEMORY StatsGroup = 3 StatsGroup_STATS_GROUP_IO StatsGroup = 4 StatsGroup_STATS_GROUP_NET StatsGroup = 5 )
func (StatsGroup) Descriptor ¶
func (StatsGroup) Descriptor() protoreflect.EnumDescriptor
func (StatsGroup) Enum ¶
func (x StatsGroup) Enum() *StatsGroup
func (StatsGroup) EnumDescriptor
deprecated
func (StatsGroup) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatsGroup.Descriptor instead.
func (StatsGroup) Number ¶
func (x StatsGroup) Number() protoreflect.EnumNumber
func (StatsGroup) String ¶
func (x StatsGroup) String() string
func (StatsGroup) Type ¶
func (StatsGroup) Type() protoreflect.EnumType
type Tuple ¶
type Tuple struct { SrcIp string `protobuf:"bytes,1,opt,name=src_ip,json=srcIp,proto3" json:"src_ip,omitempty"` DstIp string `protobuf:"bytes,2,opt,name=dst_ip,json=dstIp,proto3" json:"dst_ip,omitempty"` SrcPort uint32 `protobuf:"varint,3,opt,name=src_port,json=srcPort,proto3" json:"src_port,omitempty"` DstPort uint32 `protobuf:"varint,4,opt,name=dst_port,json=dstPort,proto3" json:"dst_port,omitempty"` // contains filtered or unexported fields }
func (*Tuple) Descriptor
deprecated
func (*Tuple) GetDstPort ¶
func (*Tuple) GetSrcPort ¶
func (*Tuple) ProtoMessage ¶
func (*Tuple) ProtoMessage()
func (*Tuple) ProtoReflect ¶
func (x *Tuple) ProtoReflect() protoreflect.Message
type UnimplementedRuntimeSecurityAgentAPIServer ¶
type UnimplementedRuntimeSecurityAgentAPIServer struct { }
UnimplementedRuntimeSecurityAgentAPIServer should be embedded to have forward compatible implementations.
func (UnimplementedRuntimeSecurityAgentAPIServer) ContainerStatsWriteStream ¶
func (UnimplementedRuntimeSecurityAgentAPIServer) ContainerStatsWriteStream(RuntimeSecurityAgentAPI_ContainerStatsWriteStreamServer) error
func (UnimplementedRuntimeSecurityAgentAPIServer) EventsWriteStream ¶
func (UnimplementedRuntimeSecurityAgentAPIServer) EventsWriteStream(RuntimeSecurityAgentAPI_EventsWriteStreamServer) error
func (UnimplementedRuntimeSecurityAgentAPIServer) GetConfiguration ¶
func (UnimplementedRuntimeSecurityAgentAPIServer) GetConfiguration(context.Context, *GetConfigurationRequest) (*GetConfigurationResponse, error)
func (UnimplementedRuntimeSecurityAgentAPIServer) GetSyncState ¶
func (UnimplementedRuntimeSecurityAgentAPIServer) GetSyncState(context.Context, *GetSyncStateRequest) (*GetSyncStateResponse, error)
func (UnimplementedRuntimeSecurityAgentAPIServer) ImageMetadataIngest ¶
func (UnimplementedRuntimeSecurityAgentAPIServer) ImageMetadataIngest(context.Context, *ImageMetadata) (*ImageMetadataIngestResponse, error)
func (UnimplementedRuntimeSecurityAgentAPIServer) KubeBenchReportIngest ¶
func (UnimplementedRuntimeSecurityAgentAPIServer) KubeBenchReportIngest(context.Context, *KubeBenchReport) (*KubeBenchReportIngestResponse, error)
func (UnimplementedRuntimeSecurityAgentAPIServer) KubeLinterReportIngest ¶
func (UnimplementedRuntimeSecurityAgentAPIServer) KubeLinterReportIngest(context.Context, *KubeLinterReport) (*KubeLinterReportIngestResponse, error)
func (UnimplementedRuntimeSecurityAgentAPIServer) KubernetesDeltaIngest ¶
func (UnimplementedRuntimeSecurityAgentAPIServer) KubernetesDeltaIngest(RuntimeSecurityAgentAPI_KubernetesDeltaIngestServer) error
func (UnimplementedRuntimeSecurityAgentAPIServer) LogsWriteStream ¶
func (UnimplementedRuntimeSecurityAgentAPIServer) LogsWriteStream(RuntimeSecurityAgentAPI_LogsWriteStreamServer) error
func (UnimplementedRuntimeSecurityAgentAPIServer) UpdateSyncState ¶
func (UnimplementedRuntimeSecurityAgentAPIServer) UpdateSyncState(context.Context, *UpdateSyncStateRequest) (*UpdateSyncStateResponse, error)
type UnsafeRuntimeSecurityAgentAPIServer ¶
type UnsafeRuntimeSecurityAgentAPIServer interface {
// contains filtered or unexported methods
}
UnsafeRuntimeSecurityAgentAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RuntimeSecurityAgentAPIServer will result in compilation errors.
type UpdateSyncStateRequest ¶
type UpdateSyncStateRequest struct { FullSnapshot bool `protobuf:"varint,1,opt,name=full_snapshot,json=fullSnapshot,proto3" json:"full_snapshot,omitempty"` Images []*Image `protobuf:"bytes,2,rep,name=images,proto3" json:"images,omitempty"` // contains filtered or unexported fields }
func (*UpdateSyncStateRequest) Descriptor
deprecated
func (*UpdateSyncStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSyncStateRequest.ProtoReflect.Descriptor instead.
func (*UpdateSyncStateRequest) GetFullSnapshot ¶
func (x *UpdateSyncStateRequest) GetFullSnapshot() bool
func (*UpdateSyncStateRequest) GetImages ¶
func (x *UpdateSyncStateRequest) GetImages() []*Image
func (*UpdateSyncStateRequest) ProtoMessage ¶
func (*UpdateSyncStateRequest) ProtoMessage()
func (*UpdateSyncStateRequest) ProtoReflect ¶
func (x *UpdateSyncStateRequest) ProtoReflect() protoreflect.Message
func (*UpdateSyncStateRequest) Reset ¶
func (x *UpdateSyncStateRequest) Reset()
func (*UpdateSyncStateRequest) String ¶
func (x *UpdateSyncStateRequest) String() string
type UpdateSyncStateResponse ¶
type UpdateSyncStateResponse struct {
// contains filtered or unexported fields
}
func (*UpdateSyncStateResponse) Descriptor
deprecated
func (*UpdateSyncStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSyncStateResponse.ProtoReflect.Descriptor instead.
func (*UpdateSyncStateResponse) ProtoMessage ¶
func (*UpdateSyncStateResponse) ProtoMessage()
func (*UpdateSyncStateResponse) ProtoReflect ¶
func (x *UpdateSyncStateResponse) ProtoReflect() protoreflect.Message
func (*UpdateSyncStateResponse) Reset ¶
func (x *UpdateSyncStateResponse) Reset()
func (*UpdateSyncStateResponse) String ¶
func (x *UpdateSyncStateResponse) String() string
type WriteStreamResponse ¶
type WriteStreamResponse struct {
// contains filtered or unexported fields
}
func (*WriteStreamResponse) Descriptor
deprecated
func (*WriteStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteStreamResponse.ProtoReflect.Descriptor instead.
func (*WriteStreamResponse) ProtoMessage ¶
func (*WriteStreamResponse) ProtoMessage()
func (*WriteStreamResponse) ProtoReflect ¶
func (x *WriteStreamResponse) ProtoReflect() protoreflect.Message
func (*WriteStreamResponse) Reset ¶
func (x *WriteStreamResponse) Reset()
func (*WriteStreamResponse) String ¶
func (x *WriteStreamResponse) String() string