Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAnalysisServer(s grpc.ServiceRegistrar, srv AnalysisServer)
- func RegisterCorrelationServer(s grpc.ServiceRegistrar, srv CorrelationServer)
- func RegisterEngineServer(s grpc.ServiceRegistrar, srv EngineServer)
- func RegisterIntegrationServer(s grpc.ServiceRegistrar, srv IntegrationServer)
- func RegisterNotificationServer(s grpc.ServiceRegistrar, srv NotificationServer)
- func RegisterParsingServer(s grpc.ServiceRegistrar, srv ParsingServer)
- type Ack
- type Alert
- func (*Alert) Descriptor() ([]byte, []int)deprecated
- func (x *Alert) GetAdversary() *Side
- func (x *Alert) GetCategory() string
- func (x *Alert) GetDataSource() string
- func (x *Alert) GetDataType() string
- func (x *Alert) GetDescription() string
- func (x *Alert) GetEvents() []*Event
- func (x *Alert) GetId() string
- func (x *Alert) GetImpact() *Impact
- func (x *Alert) GetImpactScore() int32
- func (x *Alert) GetLastUpdate() string
- func (x *Alert) GetName() string
- func (x *Alert) GetReferences() []string
- func (x *Alert) GetSeverity() string
- func (x *Alert) GetTarget() *Side
- func (x *Alert) GetTechnique() string
- func (x *Alert) GetTenantId() string
- func (x *Alert) GetTenantName() string
- func (x *Alert) GetTimestamp() string
- func (*Alert) ProtoMessage()
- func (x *Alert) ProtoReflect() protoreflect.Message
- func (x *Alert) Reset()
- func (x *Alert) String() string
- type AnalysisClient
- type AnalysisServer
- type CorrelationClient
- type CorrelationServer
- type Empty
- type EngineClient
- type EngineServer
- type Engine_InputClient
- type Engine_InputServer
- type Engine_NotifyClient
- type Engine_NotifyServer
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetConnectionStatus() string
- func (x *Event) GetDataSource() string
- func (x *Event) GetDataType() string
- func (x *Event) GetDeviceTime() string
- func (x *Event) GetFrom() *Side
- func (x *Event) GetId() string
- func (x *Event) GetLocal() *Side
- func (x *Event) GetLog() map[string]*structpb.Value
- func (x *Event) GetProtocol() string
- func (x *Event) GetRaw() string
- func (x *Event) GetRemote() *Side
- func (x *Event) GetStatusCode() int64
- func (x *Event) GetTenantId() string
- func (x *Event) GetTenantName() string
- func (x *Event) GetTimestamp() string
- func (x *Event) GetTo() *Side
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Geolocation
- func (*Geolocation) Descriptor() ([]byte, []int)deprecated
- func (x *Geolocation) GetAsn() int64
- func (x *Geolocation) GetAso() string
- func (x *Geolocation) GetCity() string
- func (x *Geolocation) GetCountry() string
- func (x *Geolocation) GetLatitude() float64
- func (x *Geolocation) GetLongitude() float64
- func (*Geolocation) ProtoMessage()
- func (x *Geolocation) ProtoReflect() protoreflect.Message
- func (x *Geolocation) Reset()
- func (x *Geolocation) String() string
- type Impact
- func (*Impact) Descriptor() ([]byte, []int)deprecated
- func (x *Impact) GetAvailability() int32
- func (x *Impact) GetConfidentiality() int32
- func (x *Impact) GetIntegrity() int32
- func (*Impact) ProtoMessage()
- func (x *Impact) ProtoReflect() protoreflect.Message
- func (x *Impact) Reset()
- func (x *Impact) String() string
- type IntegrationClient
- type IntegrationServer
- type Integration_ProcessLogClient
- type Integration_ProcessLogServer
- type JLog
- type ListValue
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetDataSource() string
- func (x *Log) GetDataType() string
- func (x *Log) GetId() string
- func (x *Log) GetRaw() string
- func (x *Log) GetTenantId() string
- func (x *Log) GetTimestamp() string
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetId() string
- func (x *Message) GetMessage() string
- func (x *Message) GetTimestamp() string
- func (x *Message) GetTopic() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type NotificationClient
- type NotificationServer
- type NullValue
- type ParsingClient
- type ParsingServer
- type Side
- func (*Side) Descriptor() ([]byte, []int)deprecated
- func (x *Side) GetAsn() int64
- func (x *Side) GetAso() string
- func (x *Side) GetBytesReceived() float64
- func (x *Side) GetBytesSent() float64
- func (x *Side) GetCommand() string
- func (x *Side) GetCommands() []string
- func (x *Side) GetConnections() int64
- func (x *Side) GetDomain() string
- func (x *Side) GetDomains() []string
- func (x *Side) GetEmail() string
- func (x *Side) GetEmails() []string
- func (x *Side) GetFile() string
- func (x *Side) GetFiles() []string
- func (x *Side) GetFqdn() string
- func (x *Side) GetFqdns() []string
- func (x *Side) GetFreeCpuPercent() int64
- func (x *Side) GetFreeMemPercent() int64
- func (x *Side) GetGeolocations() []*Geolocation
- func (x *Side) GetGroup() string
- func (x *Side) GetGroups() []string
- func (x *Side) GetHost() string
- func (x *Side) GetHosts() []string
- func (x *Side) GetIp() string
- func (x *Side) GetIps() []string
- func (x *Side) GetMac() string
- func (x *Side) GetMacs() []string
- func (x *Side) GetMd5() string
- func (x *Side) GetMd5S() []string
- func (x *Side) GetPackagesReceived() int64
- func (x *Side) GetPackagesSent() int64
- func (x *Side) GetPath() string
- func (x *Side) GetPaths() []string
- func (x *Side) GetPort() int64
- func (x *Side) GetPorts() []int64
- func (x *Side) GetProcess() string
- func (x *Side) GetProcesses() []string
- func (x *Side) GetSha1() string
- func (x *Side) GetSha1S() []string
- func (x *Side) GetSha256() string
- func (x *Side) GetSha256S() []string
- func (x *Side) GetTotalCpuPercent() int64
- func (x *Side) GetTotalMemPercent() int64
- func (x *Side) GetUrl() string
- func (x *Side) GetUrls() []string
- func (x *Side) GetUsedCpuPercent() int64
- func (x *Side) GetUsedMemPercent() int64
- func (x *Side) GetUser() string
- func (x *Side) GetUsers() []string
- func (*Side) ProtoMessage()
- func (x *Side) ProtoReflect() protoreflect.Message
- func (x *Side) Reset()
- func (x *Side) String() string
- type Struct
- type UnimplementedAnalysisServer
- type UnimplementedCorrelationServer
- type UnimplementedEngineServer
- type UnimplementedIntegrationServer
- type UnimplementedNotificationServer
- type UnimplementedParsingServer
- type UnsafeAnalysisServer
- type UnsafeCorrelationServer
- type UnsafeEngineServer
- type UnsafeIntegrationServer
- type UnsafeNotificationServer
- type UnsafeParsingServer
- type Value
- type Value_BoolValue
- type Value_ListValue
- type Value_NullValue
- type Value_NumberValue
- type Value_StringValue
- type Value_StructValue
Constants ¶
const ( Engine_Input_FullMethodName = "/plugins.Engine/Input" Engine_Notify_FullMethodName = "/plugins.Engine/Notify" )
const (
Analysis_Analyze_FullMethodName = "/plugins.Analysis/Analyze"
)
const (
Correlation_Correlate_FullMethodName = "/plugins.Correlation/Correlate"
)
const (
Integration_ProcessLog_FullMethodName = "/plugins.Integration/ProcessLog"
)
const (
Notification_Notify_FullMethodName = "/plugins.Notification/Notify"
)
const NullValue_NULL_VALUE = structpb.NullValue_NULL_VALUE
const (
Parsing_ParseLog_FullMethodName = "/plugins.Parsing/ParseLog"
)
Variables ¶
var Analysis_ServiceDesc = grpc.ServiceDesc{ ServiceName: "plugins.Analysis", HandlerType: (*AnalysisServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Analyze", Handler: _Analysis_Analyze_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "plugins.proto", }
Analysis_ServiceDesc is the grpc.ServiceDesc for Analysis service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Correlation_ServiceDesc = grpc.ServiceDesc{ ServiceName: "plugins.Correlation", HandlerType: (*CorrelationServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Correlate", Handler: _Correlation_Correlate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "plugins.proto", }
Correlation_ServiceDesc is the grpc.ServiceDesc for Correlation service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Engine_ServiceDesc = grpc.ServiceDesc{ ServiceName: "plugins.Engine", HandlerType: (*EngineServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Input", Handler: _Engine_Input_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "Notify", Handler: _Engine_Notify_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "plugins.proto", }
Engine_ServiceDesc is the grpc.ServiceDesc for Engine service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_plugins_proto protoreflect.FileDescriptor
var Integration_ServiceDesc = grpc.ServiceDesc{ ServiceName: "plugins.Integration", HandlerType: (*IntegrationServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "ProcessLog", Handler: _Integration_ProcessLog_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "plugins.proto", }
Integration_ServiceDesc is the grpc.ServiceDesc for Integration service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Notification_ServiceDesc = grpc.ServiceDesc{ ServiceName: "plugins.Notification", HandlerType: (*NotificationServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Notify", Handler: _Notification_Notify_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "plugins.proto", }
Notification_ServiceDesc is the grpc.ServiceDesc for Notification service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var NullValue_name = structpb.NullValue_name
var NullValue_value = structpb.NullValue_value
var Parsing_ServiceDesc = grpc.ServiceDesc{ ServiceName: "plugins.Parsing", HandlerType: (*ParsingServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ParseLog", Handler: _Parsing_ParseLog_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "plugins.proto", }
Parsing_ServiceDesc is the grpc.ServiceDesc for Parsing service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAnalysisServer ¶ added in v0.2.5
func RegisterAnalysisServer(s grpc.ServiceRegistrar, srv AnalysisServer)
func RegisterCorrelationServer ¶ added in v0.2.5
func RegisterCorrelationServer(s grpc.ServiceRegistrar, srv CorrelationServer)
func RegisterEngineServer ¶ added in v0.2.5
func RegisterEngineServer(s grpc.ServiceRegistrar, srv EngineServer)
func RegisterIntegrationServer ¶ added in v0.2.3
func RegisterIntegrationServer(s grpc.ServiceRegistrar, srv IntegrationServer)
func RegisterNotificationServer ¶ added in v0.2.5
func RegisterNotificationServer(s grpc.ServiceRegistrar, srv NotificationServer)
func RegisterParsingServer ¶ added in v0.2.5
func RegisterParsingServer(s grpc.ServiceRegistrar, srv ParsingServer)
Types ¶
type Ack ¶
type Ack struct { LastId string `protobuf:"bytes,1,opt,name=lastId,proto3" json:"lastId,omitempty"` // contains filtered or unexported fields }
func (*Ack) Descriptor
deprecated
func (*Ack) ProtoMessage ¶
func (*Ack) ProtoMessage()
func (*Ack) ProtoReflect ¶
func (x *Ack) ProtoReflect() protoreflect.Message
type Alert ¶
type Alert struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` LastUpdate string `protobuf:"bytes,3,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` TenantId string `protobuf:"bytes,5,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` TenantName string `protobuf:"bytes,6,opt,name=tenant_name,json=tenantName,proto3" json:"tenant_name,omitempty"` DataSource string `protobuf:"bytes,7,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` DataType string `protobuf:"bytes,8,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"` Category string `protobuf:"bytes,9,opt,name=category,proto3" json:"category,omitempty"` Technique string `protobuf:"bytes,10,opt,name=technique,proto3" json:"technique,omitempty"` Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` References []string `protobuf:"bytes,12,rep,name=references,proto3" json:"references,omitempty"` Impact *Impact `protobuf:"bytes,13,opt,name=impact,proto3" json:"impact,omitempty"` ImpactScore int32 `protobuf:"varint,14,opt,name=impact_score,json=impactScore,proto3" json:"impact_score,omitempty"` Severity string `protobuf:"bytes,15,opt,name=severity,proto3" json:"severity,omitempty"` Adversary *Side `protobuf:"bytes,16,opt,name=adversary,proto3" json:"adversary,omitempty"` Target *Side `protobuf:"bytes,17,opt,name=target,proto3" json:"target,omitempty"` Events []*Event `protobuf:"bytes,18,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*Alert) Descriptor
deprecated
func (*Alert) GetAdversary ¶
func (*Alert) GetCategory ¶
func (*Alert) GetDataSource ¶
func (*Alert) GetDataType ¶
func (*Alert) GetDescription ¶
func (*Alert) GetImpactScore ¶
func (*Alert) GetLastUpdate ¶
func (*Alert) GetReferences ¶
func (*Alert) GetSeverity ¶
func (*Alert) GetTechnique ¶
func (*Alert) GetTenantId ¶
func (*Alert) GetTenantName ¶
func (*Alert) GetTimestamp ¶
func (*Alert) ProtoMessage ¶
func (*Alert) ProtoMessage()
func (*Alert) ProtoReflect ¶
func (x *Alert) ProtoReflect() protoreflect.Message
type AnalysisClient ¶ added in v0.2.5
type AnalysisClient interface {
Analyze(ctx context.Context, in *Event, opts ...grpc.CallOption) (*Alert, error)
}
AnalysisClient is the client API for Analysis 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 NewAnalysisClient ¶ added in v0.2.5
func NewAnalysisClient(cc grpc.ClientConnInterface) AnalysisClient
type AnalysisServer ¶ added in v0.2.5
type AnalysisServer interface { Analyze(context.Context, *Event) (*Alert, error) // contains filtered or unexported methods }
AnalysisServer is the server API for Analysis service. All implementations must embed UnimplementedAnalysisServer for forward compatibility
type CorrelationClient ¶ added in v0.2.5
type CorrelationClient interface {
Correlate(ctx context.Context, in *Alert, opts ...grpc.CallOption) (*Ack, error)
}
CorrelationClient is the client API for Correlation 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 NewCorrelationClient ¶ added in v0.2.5
func NewCorrelationClient(cc grpc.ClientConnInterface) CorrelationClient
type CorrelationServer ¶ added in v0.2.5
type CorrelationServer interface { Correlate(context.Context, *Alert) (*Ack, error) // contains filtered or unexported methods }
CorrelationServer is the server API for Correlation service. All implementations must embed UnimplementedCorrelationServer for forward compatibility
type EngineClient ¶ added in v0.2.5
type EngineClient interface { Input(ctx context.Context, opts ...grpc.CallOption) (Engine_InputClient, error) Notify(ctx context.Context, opts ...grpc.CallOption) (Engine_NotifyClient, error) }
EngineClient is the client API for Engine 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 NewEngineClient ¶ added in v0.2.5
func NewEngineClient(cc grpc.ClientConnInterface) EngineClient
type EngineServer ¶ added in v0.2.5
type EngineServer interface { Input(Engine_InputServer) error Notify(Engine_NotifyServer) error // contains filtered or unexported methods }
EngineServer is the server API for Engine service. All implementations must embed UnimplementedEngineServer for forward compatibility
type Engine_InputClient ¶ added in v0.2.5
type Engine_InputServer ¶ added in v0.2.5
type Engine_NotifyClient ¶ added in v0.2.5
type Engine_NotifyServer ¶ added in v0.2.5
type Event ¶
type Event struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` DeviceTime string `protobuf:"bytes,3,opt,name=device_time,json=deviceTime,proto3" json:"device_time,omitempty"` DataType string `protobuf:"bytes,4,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"` DataSource string `protobuf:"bytes,5,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` TenantId string `protobuf:"bytes,6,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` TenantName string `protobuf:"bytes,7,opt,name=tenant_name,json=tenantName,proto3" json:"tenant_name,omitempty"` Raw string `protobuf:"bytes,8,opt,name=raw,proto3" json:"raw,omitempty"` Log map[string]*structpb.Value `` /* 147-byte string literal not displayed */ Remote *Side `protobuf:"bytes,10,opt,name=remote,proto3" json:"remote,omitempty"` Local *Side `protobuf:"bytes,11,opt,name=local,proto3" json:"local,omitempty"` From *Side `protobuf:"bytes,12,opt,name=from,proto3" json:"from,omitempty"` To *Side `protobuf:"bytes,13,opt,name=to,proto3" json:"to,omitempty"` Protocol string `protobuf:"bytes,14,opt,name=protocol,proto3" json:"protocol,omitempty"` ConnectionStatus string `protobuf:"bytes,15,opt,name=connection_status,json=connectionStatus,proto3" json:"connection_status,omitempty"` StatusCode int64 `protobuf:"varint,16,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetConnectionStatus ¶
func (*Event) GetDataSource ¶
func (*Event) GetDataType ¶
func (*Event) GetDeviceTime ¶
func (*Event) GetProtocol ¶
func (*Event) GetStatusCode ¶
func (*Event) GetTenantId ¶
func (*Event) GetTenantName ¶
func (*Event) GetTimestamp ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Geolocation ¶
type Geolocation struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` City string `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty"` Latitude float64 `protobuf:"fixed64,3,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude float64 `protobuf:"fixed64,4,opt,name=longitude,proto3" json:"longitude,omitempty"` Asn int64 `protobuf:"varint,5,opt,name=asn,proto3" json:"asn,omitempty"` Aso string `protobuf:"bytes,6,opt,name=aso,proto3" json:"aso,omitempty"` // contains filtered or unexported fields }
func (*Geolocation) Descriptor
deprecated
func (*Geolocation) Descriptor() ([]byte, []int)
Deprecated: Use Geolocation.ProtoReflect.Descriptor instead.
func (*Geolocation) GetAsn ¶
func (x *Geolocation) GetAsn() int64
func (*Geolocation) GetAso ¶
func (x *Geolocation) GetAso() string
func (*Geolocation) GetCity ¶
func (x *Geolocation) GetCity() string
func (*Geolocation) GetCountry ¶
func (x *Geolocation) GetCountry() string
func (*Geolocation) GetLatitude ¶
func (x *Geolocation) GetLatitude() float64
func (*Geolocation) GetLongitude ¶
func (x *Geolocation) GetLongitude() float64
func (*Geolocation) ProtoMessage ¶
func (*Geolocation) ProtoMessage()
func (*Geolocation) ProtoReflect ¶
func (x *Geolocation) ProtoReflect() protoreflect.Message
func (*Geolocation) Reset ¶
func (x *Geolocation) Reset()
func (*Geolocation) String ¶
func (x *Geolocation) String() string
type Impact ¶
type Impact struct { Confidentiality int32 `protobuf:"varint,1,opt,name=confidentiality,proto3" json:"confidentiality,omitempty"` Integrity int32 `protobuf:"varint,2,opt,name=integrity,proto3" json:"integrity,omitempty"` Availability int32 `protobuf:"varint,3,opt,name=availability,proto3" json:"availability,omitempty"` // contains filtered or unexported fields }
func (*Impact) Descriptor
deprecated
func (*Impact) GetAvailability ¶
func (*Impact) GetConfidentiality ¶
func (*Impact) GetIntegrity ¶
func (*Impact) ProtoMessage ¶
func (*Impact) ProtoMessage()
func (*Impact) ProtoReflect ¶
func (x *Impact) ProtoReflect() protoreflect.Message
type IntegrationClient ¶ added in v0.2.3
type IntegrationClient interface {
ProcessLog(ctx context.Context, opts ...grpc.CallOption) (Integration_ProcessLogClient, error)
}
IntegrationClient is the client API for Integration 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 NewIntegrationClient ¶ added in v0.2.3
func NewIntegrationClient(cc grpc.ClientConnInterface) IntegrationClient
type IntegrationServer ¶ added in v0.2.3
type IntegrationServer interface { ProcessLog(Integration_ProcessLogServer) error // contains filtered or unexported methods }
IntegrationServer is the server API for Integration service. All implementations must embed UnimplementedIntegrationServer for forward compatibility
type Integration_ProcessLogClient ¶ added in v0.2.3
type Integration_ProcessLogServer ¶ added in v0.2.3
type JLog ¶ added in v0.2.3
type JLog struct { Log string `protobuf:"bytes,1,opt,name=Log,proto3" json:"Log,omitempty"` // contains filtered or unexported fields }
func (*JLog) Descriptor
deprecated
added in
v0.2.3
func (*JLog) ProtoMessage ¶ added in v0.2.3
func (*JLog) ProtoMessage()
func (*JLog) ProtoReflect ¶ added in v0.2.3
func (x *JLog) ProtoReflect() protoreflect.Message
type Log ¶
type Log struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DataType string `protobuf:"bytes,2,opt,name=dataType,proto3" json:"dataType,omitempty"` DataSource string `protobuf:"bytes,3,opt,name=dataSource,proto3" json:"dataSource,omitempty"` Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` TenantId string `protobuf:"bytes,5,opt,name=tenantId,proto3" json:"tenantId,omitempty"` Raw string `protobuf:"bytes,6,opt,name=raw,proto3" json:"raw,omitempty"` // contains filtered or unexported fields }
func (*Log) Descriptor
deprecated
func (*Log) GetDataSource ¶
func (*Log) GetDataType ¶
func (*Log) GetTenantId ¶
func (*Log) GetTimestamp ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type Message ¶
type Message struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetMessage ¶
func (*Message) GetTimestamp ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type NotificationClient ¶ added in v0.2.5
type NotificationClient interface {
Notify(ctx context.Context, in *Message, opts ...grpc.CallOption) (*Ack, error)
}
NotificationClient is the client API for Notification 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 NewNotificationClient ¶ added in v0.2.5
func NewNotificationClient(cc grpc.ClientConnInterface) NotificationClient
type NotificationServer ¶ added in v0.2.5
type NotificationServer interface { Notify(context.Context, *Message) (*Ack, error) // contains filtered or unexported methods }
NotificationServer is the server API for Notification service. All implementations must embed UnimplementedNotificationServer for forward compatibility
type ParsingClient ¶ added in v0.2.5
type ParsingClient interface {
ParseLog(ctx context.Context, in *JLog, opts ...grpc.CallOption) (*JLog, error)
}
ParsingClient is the client API for Parsing 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 NewParsingClient ¶ added in v0.2.5
func NewParsingClient(cc grpc.ClientConnInterface) ParsingClient
type ParsingServer ¶ added in v0.2.5
type ParsingServer interface { ParseLog(context.Context, *JLog) (*JLog, error) // contains filtered or unexported methods }
ParsingServer is the server API for Parsing service. All implementations must embed UnimplementedParsingServer for forward compatibility
type Side ¶
type Side struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Ips []string `protobuf:"bytes,2,rep,name=ips,proto3" json:"ips,omitempty"` Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` Hosts []string `protobuf:"bytes,4,rep,name=hosts,proto3" json:"hosts,omitempty"` User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` Users []string `protobuf:"bytes,6,rep,name=users,proto3" json:"users,omitempty"` Group string `protobuf:"bytes,7,opt,name=group,proto3" json:"group,omitempty"` Groups []string `protobuf:"bytes,8,rep,name=groups,proto3" json:"groups,omitempty"` Port int64 `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"` Ports []int64 `protobuf:"varint,10,rep,packed,name=ports,proto3" json:"ports,omitempty"` BytesSent float64 `protobuf:"fixed64,11,opt,name=bytes_sent,json=bytesSent,proto3" json:"bytes_sent,omitempty"` BytesReceived float64 `protobuf:"fixed64,12,opt,name=bytes_received,json=bytesReceived,proto3" json:"bytes_received,omitempty"` PackagesSent int64 `protobuf:"varint,13,opt,name=packages_sent,json=packagesSent,proto3" json:"packages_sent,omitempty"` PackagesReceived int64 `protobuf:"varint,14,opt,name=packages_received,json=packagesReceived,proto3" json:"packages_received,omitempty"` Connections int64 `protobuf:"varint,15,opt,name=connections,proto3" json:"connections,omitempty"` UsedCpuPercent int64 `protobuf:"varint,16,opt,name=used_cpu_percent,json=usedCpuPercent,proto3" json:"used_cpu_percent,omitempty"` UsedMemPercent int64 `protobuf:"varint,17,opt,name=used_mem_percent,json=usedMemPercent,proto3" json:"used_mem_percent,omitempty"` FreeCpuPercent int64 `protobuf:"varint,18,opt,name=free_cpu_percent,json=freeCpuPercent,proto3" json:"free_cpu_percent,omitempty"` FreeMemPercent int64 `protobuf:"varint,19,opt,name=free_mem_percent,json=freeMemPercent,proto3" json:"free_mem_percent,omitempty"` TotalCpuPercent int64 `protobuf:"varint,20,opt,name=total_cpu_percent,json=totalCpuPercent,proto3" json:"total_cpu_percent,omitempty"` TotalMemPercent int64 `protobuf:"varint,21,opt,name=total_mem_percent,json=totalMemPercent,proto3" json:"total_mem_percent,omitempty"` Domain string `protobuf:"bytes,22,opt,name=domain,proto3" json:"domain,omitempty"` Domains []string `protobuf:"bytes,23,rep,name=domains,proto3" json:"domains,omitempty"` Fqdn string `protobuf:"bytes,24,opt,name=fqdn,proto3" json:"fqdn,omitempty"` Fqdns []string `protobuf:"bytes,25,rep,name=fqdns,proto3" json:"fqdns,omitempty"` Mac string `protobuf:"bytes,26,opt,name=mac,proto3" json:"mac,omitempty"` Macs []string `protobuf:"bytes,27,rep,name=macs,proto3" json:"macs,omitempty"` Process string `protobuf:"bytes,28,opt,name=process,proto3" json:"process,omitempty"` Processes []string `protobuf:"bytes,29,rep,name=processes,proto3" json:"processes,omitempty"` Asn int64 `protobuf:"varint,30,opt,name=asn,proto3" json:"asn,omitempty"` Aso string `protobuf:"bytes,31,opt,name=aso,proto3" json:"aso,omitempty"` Geolocations []*Geolocation `protobuf:"bytes,32,rep,name=geolocations,proto3" json:"geolocations,omitempty"` File string `protobuf:"bytes,33,opt,name=file,proto3" json:"file,omitempty"` Files []string `protobuf:"bytes,34,rep,name=files,proto3" json:"files,omitempty"` Path string `protobuf:"bytes,35,opt,name=path,proto3" json:"path,omitempty"` Paths []string `protobuf:"bytes,36,rep,name=paths,proto3" json:"paths,omitempty"` Md5 string `protobuf:"bytes,37,opt,name=md5,proto3" json:"md5,omitempty"` Md5S []string `protobuf:"bytes,38,rep,name=md5s,proto3" json:"md5s,omitempty"` Sha1 string `protobuf:"bytes,39,opt,name=sha1,proto3" json:"sha1,omitempty"` Sha1S []string `protobuf:"bytes,40,rep,name=sha1s,proto3" json:"sha1s,omitempty"` Sha256 string `protobuf:"bytes,41,opt,name=sha256,proto3" json:"sha256,omitempty"` Sha256S []string `protobuf:"bytes,42,rep,name=sha256s,proto3" json:"sha256s,omitempty"` Url string `protobuf:"bytes,43,opt,name=url,proto3" json:"url,omitempty"` Urls []string `protobuf:"bytes,44,rep,name=urls,proto3" json:"urls,omitempty"` Email string `protobuf:"bytes,45,opt,name=email,proto3" json:"email,omitempty"` Emails []string `protobuf:"bytes,46,rep,name=emails,proto3" json:"emails,omitempty"` Command string `protobuf:"bytes,47,opt,name=command,proto3" json:"command,omitempty"` Commands []string `protobuf:"bytes,48,rep,name=commands,proto3" json:"commands,omitempty"` // contains filtered or unexported fields }
func (*Side) Descriptor
deprecated
func (*Side) GetBytesReceived ¶
func (*Side) GetBytesSent ¶
func (*Side) GetCommand ¶
func (*Side) GetCommands ¶
func (*Side) GetConnections ¶
func (*Side) GetDomains ¶
func (*Side) GetFreeCpuPercent ¶
func (*Side) GetFreeMemPercent ¶
func (*Side) GetGeolocations ¶
func (x *Side) GetGeolocations() []*Geolocation
func (*Side) GetPackagesReceived ¶
func (*Side) GetPackagesSent ¶
func (*Side) GetProcess ¶
func (*Side) GetProcesses ¶
func (*Side) GetSha256S ¶
func (*Side) GetTotalCpuPercent ¶
func (*Side) GetTotalMemPercent ¶
func (*Side) GetUsedCpuPercent ¶
func (*Side) GetUsedMemPercent ¶
func (*Side) ProtoMessage ¶
func (*Side) ProtoMessage()
func (*Side) ProtoReflect ¶
func (x *Side) ProtoReflect() protoreflect.Message
type UnimplementedAnalysisServer ¶ added in v0.2.5
type UnimplementedAnalysisServer struct { }
UnimplementedAnalysisServer must be embedded to have forward compatible implementations.
type UnimplementedCorrelationServer ¶ added in v0.2.5
type UnimplementedCorrelationServer struct { }
UnimplementedCorrelationServer must be embedded to have forward compatible implementations.
type UnimplementedEngineServer ¶ added in v0.2.5
type UnimplementedEngineServer struct { }
UnimplementedEngineServer must be embedded to have forward compatible implementations.
func (UnimplementedEngineServer) Input ¶ added in v0.2.5
func (UnimplementedEngineServer) Input(Engine_InputServer) error
func (UnimplementedEngineServer) Notify ¶ added in v0.2.5
func (UnimplementedEngineServer) Notify(Engine_NotifyServer) error
type UnimplementedIntegrationServer ¶ added in v0.2.3
type UnimplementedIntegrationServer struct { }
UnimplementedIntegrationServer must be embedded to have forward compatible implementations.
func (UnimplementedIntegrationServer) ProcessLog ¶ added in v0.2.3
func (UnimplementedIntegrationServer) ProcessLog(Integration_ProcessLogServer) error
type UnimplementedNotificationServer ¶ added in v0.2.5
type UnimplementedNotificationServer struct { }
UnimplementedNotificationServer must be embedded to have forward compatible implementations.
type UnimplementedParsingServer ¶ added in v0.2.5
type UnimplementedParsingServer struct { }
UnimplementedParsingServer must be embedded to have forward compatible implementations.
type UnsafeAnalysisServer ¶ added in v0.2.5
type UnsafeAnalysisServer interface {
// contains filtered or unexported methods
}
UnsafeAnalysisServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnalysisServer will result in compilation errors.
type UnsafeCorrelationServer ¶ added in v0.2.5
type UnsafeCorrelationServer interface {
// contains filtered or unexported methods
}
UnsafeCorrelationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CorrelationServer will result in compilation errors.
type UnsafeEngineServer ¶ added in v0.2.5
type UnsafeEngineServer interface {
// contains filtered or unexported methods
}
UnsafeEngineServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EngineServer will result in compilation errors.
type UnsafeIntegrationServer ¶ added in v0.2.3
type UnsafeIntegrationServer interface {
// contains filtered or unexported methods
}
UnsafeIntegrationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IntegrationServer will result in compilation errors.
type UnsafeNotificationServer ¶ added in v0.2.5
type UnsafeNotificationServer interface {
// contains filtered or unexported methods
}
UnsafeNotificationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotificationServer will result in compilation errors.
type UnsafeParsingServer ¶ added in v0.2.5
type UnsafeParsingServer interface {
// contains filtered or unexported methods
}
UnsafeParsingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ParsingServer will result in compilation errors.
type Value_BoolValue ¶
type Value_BoolValue = structpb.Value_BoolValue
type Value_ListValue ¶
type Value_ListValue = structpb.Value_ListValue
type Value_NullValue ¶
type Value_NullValue = structpb.Value_NullValue
type Value_NumberValue ¶
type Value_NumberValue = structpb.Value_NumberValue
type Value_StringValue ¶
type Value_StringValue = structpb.Value_StringValue
type Value_StructValue ¶
type Value_StructValue = structpb.Value_StructValue