{"modulePath":"github.com/utmstack/go-sdk/v2","version":"v2.1.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package plugins\n\n## Constants\n\n```go\nconst (\n\t// ActionResultSuccess means the action completed: the sign-in succeeded,\n\t// the connection was allowed and answered, the request was served.\n\tActionResultSuccess = \"success\"\n\t// ActionResultFailed means the action was attempted and did not complete:\n\t// wrong password, locked account, error, timeout, failed negotiation.\n\tActionResultFailed = \"failed\"\n\t// ActionResultDenied means a control refused the action: firewall deny,\n\t// drop or reject, access or policy denial, security block, quarantine.\n\tActionResultDenied = \"denied\"\n\t// ActionResultBlocked is read by the event processor as ActionResultDenied\n\t// so that older filters keep working. Filters must write\n\t// ActionResultDenied instead, so rules test a single word.\n\tActionResultBlocked = \"blocked\"\n)\n```\nValues for Event.ActionResult, the final outcome of the action an event describes. Filters write exactly one of ActionResultSuccess, ActionResultFailed or ActionResultDenied, in lowercase, or leave the field empty when the record states no final outcome. Consumers compare these words exactly, so a vendor's own word (Success, accepted, fail, done) must be translated, not copied.\n\nThe event processor's threat-intelligence analysis (the feeds plugin) does not look up an event's indicators when its ActionResult is failed, denied or blocked: a failed or refused attempt is not a threat. Any other value, including an empty one, is looked up.\n\n```go\nconst (\n\tLogsStreamName    = \"INGEST_LOGS\"\n\tLogsShardSubjects = \"logs.shard.*\"\n\tLogsDLQSubject    = \"logs.dlq\"\n\n\t// DefaultLogShards is how many subjects the logs are spread over when SHARDS is not set.\n\tDefaultLogShards = 16\n)\n```\nThe stream the logs are published to. It is declared the same way by everything that publishes to it, so none of them has to start first.\n\n```go\nconst (\n\t// LogsTransportEnv chooses where SendLogsFromChannel puts the logs: \"nats\" publishes them\n\t// straight to the stream, \"grpc\" sends them to the event processor's input over the local\n\t// socket, and \"auto\" (the default) uses NATS when NATS_URL is set and the socket otherwise.\n\tLogsTransportEnv = \"LOGS_TRANSPORT\"\n\t// NATSURLEnv is where the NATS server is.\n\tNATSURLEnv = \"NATS_URL\"\n\t// LogShardsEnv is how many subjects the logs are spread over.\n\tLogShardsEnv = \"SHARDS\"\n\t// NATSWorkersEnv is how many logs are published at the same time.\n\tNATSWorkersEnv = \"LOGS_NATS_WORKERS\"\n)\n```\nEnvironment variables that decide how a plugin sends its logs.\n\n```go\nconst (\n\tEngine_Input_FullMethodName  = \"/plugins.Engine/Input\"\n\tEngine_Notify_FullMethodName = \"/plugins.Engine/Notify\"\n)\n```\n\n```go\nconst (\n\tOutput_EventOutput_FullMethodName = \"/plugins.Output/EventOutput\"\n\tOutput_AlertOutput_FullMethodName = \"/plugins.Output/AlertOutput\"\n)\n```\n\n```go\nconst (\n\tAnalysis_Analyze_FullMethodName = \"/plugins.Analysis/Analyze\"\n)\n```\n\n```go\nconst (\n\tCorrelation_Correlate_FullMethodName = \"/plugins.Correlation/Correlate\"\n)\n```\n\n```go\nconst DefaultPipelineOrder = \"\"\n```\nDefaultPipelineOrder is the key holding the order a tenant gets when it has never reordered anything — and the answer for a tenant the configuration has not heard of yet. A draft whose tenant is missing must still be parsed; serving nothing would drop its logs without a word.\n\n```go\nconst EventKeyEnv = \"UTM_EVENT_KEY\"\n```\nEventKeyEnv is the environment variable a process reads at startup to choose the event key, so that a deployment decides it once for every process that runs in it: \"event\" for a v11 installation, \"log\" for a v12 one.\n\n```go\nconst (\n\tIntegration_ProcessLog_FullMethodName = \"/plugins.Integration/ProcessLog\"\n)\n```\n\n```go\nconst (\n\tNotification_Notify_FullMethodName = \"/plugins.Notification/Notify\"\n)\n```\n\n```go\nconst NullValue_NULL_VALUE = structpb.NullValue_NULL_VALUE\n```\n\n```go\nconst (\n\tParsing_ParseLog_FullMethodName = \"/plugins.Parsing/ParseLog\"\n)\n```\n\n## Variables\n\n```go\nvar Analysis_ServiceDesc = grpc.ServiceDesc{\n\tServiceName: \"plugins.Analysis\",\n\tHandlerType: (*AnalysisServer)(nil),\n\tMethods:     []grpc.MethodDesc{},\n\tStreams: []grpc.StreamDesc{\n\t\t{\n\t\t\tStreamName:    \"Analyze\",\n\t\t\tHandler:       _Analysis_Analyze_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t},\n\tMetadata: \"plugins/plugins.proto\",\n}\n```\nAnalysis\\_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)\n\n```go\nvar Correlation_ServiceDesc = grpc.ServiceDesc{\n\tServiceName: \"plugins.Correlation\",\n\tHandlerType: (*CorrelationServer)(nil),\n\tMethods: []grpc.MethodDesc{\n\t\t{\n\t\t\tMethodName: \"Correlate\",\n\t\t\tHandler:    _Correlation_Correlate_Handler,\n\t\t},\n\t},\n\tStreams:  []grpc.StreamDesc{},\n\tMetadata: \"plugins/plugins.proto\",\n}\n```\nCorrelation\\_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)\n\n```go\nvar Engine_ServiceDesc = grpc.ServiceDesc{\n\tServiceName: \"plugins.Engine\",\n\tHandlerType: (*EngineServer)(nil),\n\tMethods:     []grpc.MethodDesc{},\n\tStreams: []grpc.StreamDesc{\n\t\t{\n\t\t\tStreamName:    \"Input\",\n\t\t\tHandler:       _Engine_Input_Handler,\n\t\t\tServerStreams: true,\n\t\t\tClientStreams: true,\n\t\t},\n\t\t{\n\t\t\tStreamName:    \"Notify\",\n\t\t\tHandler:       _Engine_Notify_Handler,\n\t\t\tServerStreams: true,\n\t\t\tClientStreams: true,\n\t\t},\n\t},\n\tMetadata: \"plugins/plugins.proto\",\n}\n```\nEngine\\_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)\n\n```go\nvar File_plugins_plugins_proto protoreflect.FileDescriptor\n```\n\n```go\nvar Integration_ServiceDesc = grpc.ServiceDesc{\n\tServiceName: \"plugins.Integration\",\n\tHandlerType: (*IntegrationServer)(nil),\n\tMethods:     []grpc.MethodDesc{},\n\tStreams: []grpc.StreamDesc{\n\t\t{\n\t\t\tStreamName:    \"ProcessLog\",\n\t\t\tHandler:       _Integration_ProcessLog_Handler,\n\t\t\tServerStreams: true,\n\t\t\tClientStreams: true,\n\t\t},\n\t},\n\tMetadata: \"plugins/plugins.proto\",\n}\n```\nIntegration\\_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)\n\n```go\nvar Notification_ServiceDesc = grpc.ServiceDesc{\n\tServiceName: \"plugins.Notification\",\n\tHandlerType: (*NotificationServer)(nil),\n\tMethods: []grpc.MethodDesc{\n\t\t{\n\t\t\tMethodName: \"Notify\",\n\t\t\tHandler:    _Notification_Notify_Handler,\n\t\t},\n\t},\n\tStreams:  []grpc.StreamDesc{},\n\tMetadata: \"plugins/plugins.proto\",\n}\n```\nNotification\\_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)\n\n```go\nvar NullValue_name = structpb.NullValue_name\n```\n\n```go\nvar NullValue_value = structpb.NullValue_value\n```\n\n```go\nvar Output_ServiceDesc = grpc.ServiceDesc{\n\tServiceName: \"plugins.Output\",\n\tHandlerType: (*OutputServer)(nil),\n\tMethods: []grpc.MethodDesc{\n\t\t{\n\t\t\tMethodName: \"EventOutput\",\n\t\t\tHandler:    _Output_EventOutput_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"AlertOutput\",\n\t\t\tHandler:    _Output_AlertOutput_Handler,\n\t\t},\n\t},\n\tStreams:  []grpc.StreamDesc{},\n\tMetadata: \"plugins/plugins.proto\",\n}\n```\nOutput\\_ServiceDesc is the grpc.ServiceDesc for Output service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)\n\n```go\nvar Parsing_ServiceDesc = grpc.ServiceDesc{\n\tServiceName: \"plugins.Parsing\",\n\tHandlerType: (*ParsingServer)(nil),\n\tMethods: []grpc.MethodDesc{\n\t\t{\n\t\t\tMethodName: \"ParseLog\",\n\t\t\tHandler:    _Parsing_ParseLog_Handler,\n\t\t},\n\t},\n\tStreams:  []grpc.StreamDesc{},\n\tMetadata: \"plugins/plugins.proto\",\n}\n```\nParsing\\_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)\n\n```go\nvar WorkDir = func() string {\n\tworkDir := os.Getenv(\"WORK_DIR\")\n\n\tif workDir == \"\" {\n\t\tworkDir = \"/workdir\"\n\t}\n\n\treturn workDir\n}() // This cannot be part of the main config system because the main config system depends on it to find the configuration files\n\n```\nWorkDir is the folder on which the EventProcessor and all plugins are going to store their configuration files and temporary data\n\n## Functions\n\n```go\nfunc AcquireLock(processName string) (bool, error)\n```\nAcquireLock tries to atomically create the lock file, to prevent race conditions when loading or modifying configurations. It returns true if the lock was acquired successfully, false otherwise. No longer used by this package's own config reload (loadCfg's readers never need it, since every writer of these files already writes atomically via temp file + rename) — kept as a public utility in case other code still depends on it.\n\n```go\nfunc ConfigGeneration() uint64\n```\nConfigGeneration returns the monotonically increasing configuration reload generation (0 before the first load). Callers can cache derived indexes (such as pipeline maps or expanded regexps) and refresh only when this value changes.\n\n```go\nfunc EnqueueLog(log *Log, pluginName string) error\n```\nEnqueueLog sends a log to the local logs queue. Parameters:\n\n  - log: The log to enqueue\n\n```go\nfunc EnqueueNotification[T any](topic Topic, message T, pluginName string) error\n```\nEnqueueNotification sends a notification message to a specified topic. It marshals the NotificationMessage into JSON format and sends it to the notification channel.\n\nParameters:\n\n  - topic: The topic to which the notification message will be sent.\n  - message: The notification message to be sent. Must be a JSON serializable object.\n\nReturns:\n\n  - error: Returns an error if the message marshaling fails, otherwise returns nil.\n\n```go\nfunc EventKey() string\n```\nEventKey is the key Event messages are serialized with.\n\n```go\nfunc GetOrderedSockets(t SocketType) []string\n```\nGetOrderedSockets returns an ordered list of socket file paths for the given socket type, based on the plugin order specified in configuration (env/config). If no configuration is present, an empty list is returned.\n\n```go\nfunc GetParsingSockets() map[string]string\n```\nGetParsingSockets scans the sockets directory and returns a map of parsing plugin names to their corresponding socket file paths.\n\n```go\nfunc GetPluginName(fullPath string, sep string) string\n```\nGetPluginName extracts the base plugin name from a full path using the given separator. For example, given \"/workdir/sockets/my-plugin\\_parsing.sock\" and sep \"\\_\", it returns \"my-plugin\".\n\nParams:\n\n  - fullPath: full file path or identifier that contains the plugin name.\n  - sep: separator used to split suffixes (e.g., \"\\_parsing\", \"\\_analysis\").\n\nReturns:\n\n  - string: the plugin name without suffixes or extensions.\n\n```go\nfunc InitAnalysisPlugin(name string, analysisFunction func(*Event, Analysis_AnalyzeServer) error) error\n```\nInitAnalysisPlugin initializes a gRPC-based analysis plugin with a specified name and analysis function. It sets up a UNIX socket, handles lifecycle events, and manages graceful shutdowns upon termination signals. Locks until shutdown is complete or an error occurs.\n\n```go\nfunc InitCorrelationPlugin(name string, correlationFunction func(ctx context.Context, alert *Alert) (*emptypb.Empty, error)) error\n```\nInitCorrelationPlugin initializes a correlation plugin with a given name and correlation function for gRPC communication. It sets up a Unix socket, creates a gRPC server, and handles lifecycle management, including shutdown and cleanup. Locks until shutdown is complete or an error occurs.\n\n```go\nfunc InitNotificationPlugin(name string, notificationFunction func(ctx context.Context, message *Message) (*emptypb.Empty, error)) error\n```\nInitNotificationPlugin initializes a gRPC-based notification plugin with a specified name and notification function. It sets up a UNIX socket, handles lifecycle events, and manages graceful shutdowns upon termination signals. Locks until shutdown is complete or an error occurs.\n\n```go\nfunc InitParsingPlugin(name string, parsingFunction func(context.Context, *Transform) (*Draft, error)) error\n```\nInitParsingPlugin initializes a gRPC parsing plugin with a provided name and parsing function for Transform objects. It sets up a Unix socket for communication and supports graceful shutdown upon system signals or errors. Locks until shutdown is complete or an error occurs.\n\n```go\nfunc IsActionResult(value string) bool\n```\nIsActionResult reports whether value is one a filter may write to Event.ActionResult: success, failed, denied, or empty.\n\n```go\nfunc IsUnsuccessfulActionResult(value string) bool\n```\nIsUnsuccessfulActionResult reports whether value states that the action did not complete (failed, denied, or the older blocked). The event processor's threat-intelligence analysis skips indicator lookups for these values.\n\n```go\nfunc LogShardSubject(l *Log, shards int) string\n```\nLogShardSubject is the subject a log is published to. It spreads logs by source rather than at random, so one source's logs land on one subject and a consumer can be given a shard of its own later without resharding what is already published.\n\n```go\nfunc PluginCfg(pluginName string) gjson.Result\n```\nPluginCfg retrieves the pre-parsed JSON configuration for a specified plugin by name from the current immutable config snapshot with zero per-call protobuf/JSON marshaling.\n\n```go\nfunc ProtoMessageToBytes(object protoreflect.ProtoMessage) (*[]byte, error)\n```\nProtoMessageToBytes converts a given ProtoMessage object to its binary representation. It returns a pointer to the binary representation and a pointer to an error if any error occurs during marshaling.\n\nParameters:\n\n  - object: The ProtoMessage object to be converted.\n\nReturns:\n\n  - \\*\\[]byte: A pointer to the binary representation of the object.\n  - error: A pointer to an error if an error occurs, otherwise nil.\n\n```go\nfunc ProtoMessageToString(object protoreflect.ProtoMessage) (*string, error)\n```\nProtoMessageToString converts a given ProtoMessage object to its JSON string representation. It returns a pointer to the JSON string and a pointer to an error if any error occurs during marshaling.\n\nParameters:\n\n  - object: The ProtoMessage object to be converted.\n\nReturns:\n\n  - \\*string: A pointer to the JSON string representation of the object.\n  - \\*error: A pointer to an error if an error occurs, otherwise nil.\n\n```go\nfunc RandomDuration(min, max int) time.Duration\n```\nRandomDuration returns a random time.Duration between min and max seconds. It panics if max \\\u003c= 0.\n\n```go\nfunc RegisterAnalysisServer(s grpc.ServiceRegistrar, srv AnalysisServer)\n```\n\n```go\nfunc RegisterCorrelationServer(s grpc.ServiceRegistrar, srv CorrelationServer)\n```\n\n```go\nfunc RegisterEngineServer(s grpc.ServiceRegistrar, srv EngineServer)\n```\n\n```go\nfunc RegisterIntegrationServer(s grpc.ServiceRegistrar, srv IntegrationServer)\n```\n\n```go\nfunc RegisterNotificationServer(s grpc.ServiceRegistrar, srv NotificationServer)\n```\n\n```go\nfunc RegisterOutputServer(s grpc.ServiceRegistrar, srv OutputServer)\n```\n\n```go\nfunc RegisterParsingServer(s grpc.ServiceRegistrar, srv ParsingServer)\n```\n\n```go\nfunc ReleaseLock() error\n```\nReleaseLock releases the lock file.\n\n```go\nfunc SendLogsFromChannel(pluginName string)\n```\nSendLogsFromChannel listens to the logsChannel and sends the logs on, by default straight to NATS when NATS\\_URL is set and to the engine server over gRPC otherwise; LOGS\\_TRANSPORT (\"nats\", \"grpc\" or \"auto\") overrides that. It logs an error if the connection fails, if sending a log fails, or if receiving an acknowledgment fails. It runs indefinitely and should be run as a goroutine.\n\n```go\nfunc SendNotificationsFromChannel(pluginName string)\n```\nSendNotificationsFromChannel listens to the notificationsChannel and sends notifications to the engine server via gRPC. It logs an error if the connection to the engine server fails, if sending a notification fails, or if receiving an acknowledgment fails. It runs indefinitely and should be run as a goroutine.\n\n```go\nfunc SetEventKey(key string) error\n```\nSetEventKey chooses the JSON key Event messages are serialized with: \"event\" (the default) or \"log\". Reading accepts both whatever is chosen. Call it once at startup; any other value is rejected.\n\n```go\nfunc SetIndexPatternResolver(r IndexPatternResolver)\n```\nSetIndexPatternResolver installs the translation ExecuteStore uses for rules that name an indexPattern instead of a dataType. Without one such a rule is refused, since guessing a store's naming would read the wrong data.\n\n```go\nfunc StringToProtoMessage(str *string, object protoreflect.ProtoMessage) error\n```\nStringToProtoMessage parses a JSON-encoded string into a given ProtoMessage object.\n\nParameters:\n\n  - str: A pointer to the JSON-encoded string.\n  - object: The ProtoMessage object to unmarshal the JSON string into.\n\nReturns:\n\n  - error: An error object if the unmarshalling fails, otherwise nil.\n\n## Types\n\n```go\ntype Ack struct {\n\tLastId string `protobuf:\"bytes,1,opt,name=lastId,proto3\" json:\"lastId,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Ack) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Ack.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Ack) GetLastId() string\n```\n\n```go\nfunc (*Ack) ProtoMessage()\n```\n\n```go\nfunc (x *Ack) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Ack) Reset()\n```\n\n```go\nfunc (x *Ack) String() string\n```\n\n```go\ntype Add struct {\n\tFunction string                     `protobuf:\"bytes,1,opt,name=function,proto3\" json:\"function,omitempty\"`\n\tParams   map[string]*structpb.Value `protobuf:\"bytes,2,rep,name=params,proto3\" json:\"params,omitempty\" protobuf_key:\"bytes,1,opt,name=key\" protobuf_val:\"bytes,2,opt,name=value\"`\n\tWhere    string                     `protobuf:\"bytes,3,opt,name=where,proto3\" json:\"where,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Add) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Add.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Add) GetFunction() string\n```\n\n```go\nfunc (x *Add) GetParams() map[string]*structpb.Value\n```\n\n```go\nfunc (x *Add) GetWhere() string\n```\n\n```go\nfunc (*Add) ProtoMessage()\n```\n\n```go\nfunc (x *Add) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Add) Reset()\n```\n\n```go\nfunc (x *Add) String() string\n```\n\n```go\ntype Alert struct {\n\tId            string   `protobuf:\"bytes,1,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tTimestamp     string   `protobuf:\"bytes,2,opt,name=timestamp,json=@timestamp,proto3\" json:\"timestamp,omitempty\"`\n\tLastUpdate    string   `protobuf:\"bytes,3,opt,name=lastUpdate,proto3\" json:\"lastUpdate,omitempty\"`\n\tName          string   `protobuf:\"bytes,4,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tTenantId      string   `protobuf:\"bytes,5,opt,name=tenantId,proto3\" json:\"tenantId,omitempty\"`\n\tTenantName    string   `protobuf:\"bytes,6,opt,name=tenantName,proto3\" json:\"tenantName,omitempty\"`\n\tDataSource    string   `protobuf:\"bytes,7,opt,name=dataSource,proto3\" json:\"dataSource,omitempty\"`\n\tDataType      string   `protobuf:\"bytes,8,opt,name=dataType,proto3\" json:\"dataType,omitempty\"`\n\tCategory      string   `protobuf:\"bytes,9,opt,name=category,proto3\" json:\"category,omitempty\"`\n\tTechnique     string   `protobuf:\"bytes,10,opt,name=technique,proto3\" json:\"technique,omitempty\"`\n\tDescription   string   `protobuf:\"bytes,11,opt,name=description,proto3\" json:\"description,omitempty\"`\n\tReferences    []string `protobuf:\"bytes,12,rep,name=references,proto3\" json:\"references,omitempty\"`\n\tImpact        *Impact  `protobuf:\"bytes,13,opt,name=impact,proto3\" json:\"impact,omitempty\"`\n\tImpactScore   uint32   `protobuf:\"varint,14,opt,name=impactScore,proto3\" json:\"impactScore,omitempty\"`\n\tSeverity      string   `protobuf:\"bytes,15,opt,name=severity,proto3\" json:\"severity,omitempty\"`\n\tAdversary     *Side    `protobuf:\"bytes,16,opt,name=adversary,proto3\" json:\"adversary,omitempty\"`\n\tTarget        *Side    `protobuf:\"bytes,17,opt,name=target,proto3\" json:\"target,omitempty\"`\n\tEvents        []*Event `protobuf:\"bytes,18,rep,name=events,proto3\" json:\"events,omitempty\"`\n\tDeduplicateBy []string `protobuf:\"bytes,19,rep,name=deduplicateBy,proto3\" json:\"deduplicateBy,omitempty\"`\n\tErrors        []string `protobuf:\"bytes,20,rep,name=errors,proto3\" json:\"errors,omitempty\"`\n\tParentId      string   `protobuf:\"bytes,21,opt,name=parentId,proto3\" json:\"parentId,omitempty\"`\n\tGroupBy       []string `protobuf:\"bytes,22,rep,name=groupBy,proto3\" json:\"groupBy,omitempty\"`\n\tLastEvent     *Event   `protobuf:\"bytes,23,opt,name=lastEvent,proto3\" json:\"lastEvent,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Alert) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Alert.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Alert) GetAdversary() *Side\n```\n\n```go\nfunc (x *Alert) GetCategory() string\n```\n\n```go\nfunc (x *Alert) GetDataSource() string\n```\n\n```go\nfunc (x *Alert) GetDataType() string\n```\n\n```go\nfunc (x *Alert) GetDeduplicateBy() []string\n```\n\n```go\nfunc (x *Alert) GetDescription() string\n```\n\n```go\nfunc (x *Alert) GetErrors() []string\n```\n\n```go\nfunc (x *Alert) GetEvents() []*Event\n```\n\n```go\nfunc (x *Alert) GetGroupBy() []string\n```\n\n```go\nfunc (x *Alert) GetId() string\n```\n\n```go\nfunc (x *Alert) GetImpact() *Impact\n```\n\n```go\nfunc (x *Alert) GetImpactScore() uint32\n```\n\n```go\nfunc (x *Alert) GetLastEvent() *Event\n```\n\n```go\nfunc (x *Alert) GetLastUpdate() string\n```\n\n```go\nfunc (x *Alert) GetName() string\n```\n\n```go\nfunc (x *Alert) GetParentId() string\n```\n\n```go\nfunc (x *Alert) GetReferences() []string\n```\n\n```go\nfunc (x *Alert) GetSeverity() string\n```\n\n```go\nfunc (x *Alert) GetTarget() *Side\n```\n\n```go\nfunc (x *Alert) GetTechnique() string\n```\n\n```go\nfunc (x *Alert) GetTenantId() string\n```\n\n```go\nfunc (x *Alert) GetTenantName() string\n```\n\n```go\nfunc (x *Alert) GetTimestamp() string\n```\n\n```go\nfunc (*Alert) ProtoMessage()\n```\n\n```go\nfunc (x *Alert) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Alert) Reset()\n```\n\n```go\nfunc (x *Alert) String() string\n```\n\n```go\ntype AnalysisClient interface {\n\tAnalyze(ctx context.Context, in *Event, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Alert], error)\n}\n```\nAnalysisClient is the client API for Analysis service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream](https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream).\n\n```go\nfunc NewAnalysisClient(cc grpc.ClientConnInterface) AnalysisClient\n```\n\n```go\ntype AnalysisServer interface {\n\tAnalyze(*Event, grpc.ServerStreamingServer[Alert]) error\n\t// contains filtered or unexported methods\n}\n```\nAnalysisServer is the server API for Analysis service. All implementations must embed UnimplementedAnalysisServer for forward compatibility.\n\n```go\ntype Analysis_AnalyzeClient = grpc.ServerStreamingClient[Alert]\n```\nThis type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.\n\n```go\ntype Analysis_AnalyzeServer = grpc.ServerStreamingServer[Alert]\n```\nThis type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.\n\n```go\ntype Asset struct {\n\tName            string   `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tHostnames       []string `protobuf:\"bytes,2,rep,name=hostnames,proto3\" json:\"hostnames,omitempty\"`\n\tIps             []string `protobuf:\"bytes,3,rep,name=ips,proto3\" json:\"ips,omitempty\"`\n\tConfidentiality uint32   `protobuf:\"varint,4,opt,name=confidentiality,proto3\" json:\"confidentiality,omitempty\"`\n\tAvailability    uint32   `protobuf:\"varint,5,opt,name=availability,proto3\" json:\"availability,omitempty\"`\n\tIntegrity       uint32   `protobuf:\"varint,6,opt,name=integrity,proto3\" json:\"integrity,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Asset) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Asset.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Asset) GetAvailability() uint32\n```\n\n```go\nfunc (x *Asset) GetConfidentiality() uint32\n```\n\n```go\nfunc (x *Asset) GetHostnames() []string\n```\n\n```go\nfunc (x *Asset) GetIntegrity() uint32\n```\n\n```go\nfunc (x *Asset) GetIps() []string\n```\n\n```go\nfunc (x *Asset) GetName() string\n```\n\n```go\nfunc (*Asset) ProtoMessage()\n```\n\n```go\nfunc (x *Asset) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Asset) Reset()\n```\n\n```go\nfunc (x *Asset) String() string\n```\n\n```go\ntype CELActivation struct {\n\t// contains filtered or unexported fields\n}\n```\nCELActivation holds the parsed view of an event that CEL expressions evaluate against: the values map (top-level fields as named variables) plus the raw JSON string exposed to the string-keyed overloads as \\`\\_data\\_\\`. Preparing one per event — instead of per expression — is what lets a rule loop evaluate N expressions against the same data without re-serializing/re-parsing the event N times (see PrepareActivation).\n\n```go\ntype CELCache struct {\n\t// contains filtered or unexported fields\n}\n```\nCELCache provides a thread-safe cache for compiled CEL (Common Expression Language) programs. It uses an LRU cache to store and reuse programs to optimize evaluation performance.\n\n```go\nfunc NewCELCache(processName string) *CELCache\n```\nNewCELCache creates and returns a new instance of CELCache for the specified process.\n\n```go\nfunc (c *CELCache) Eval(expression string, data any, envOption ...cel.EnvOption) (bool, error)\n```\nEval evaluates a CEL expression against the given data and returns the boolean result if successful. 'data' can be a proto.Message, a JSON string (or \\*string), or a map\\[string]any.\n\nIt prepares a fresh activation for every call, which means the event is serialized/parsed once per expression. Callers that evaluate many expressions against the same event (e.g. a rule loop) should call PrepareActivation once and EvalWithActivation per expression instead.\n\n```go\nfunc (c *CELCache) EvalWithActivation(expression string, act *CELActivation, envOption ...cel.EnvOption) (bool, error)\n```\nEvalWithActivation evaluates 'expression' against a pre-prepared activation, reusing the parsed values map (and the cached compiled program) instead of re-deriving it. This is the fast path for rule loops: prepare once per event, call this once per rule.\n\n```go\nfunc (c *CELCache) Evaluate(data *string, expression string, envOption ...cel.EnvOption) (bool, error)\n```\nEvaluate is a wrapper around Eval for backward compatibility. Note: It uses (data, expression) order while Eval uses (expression, data).\n\n```go\nfunc (c *CELCache) EvaluateDoc(doc *jsondoc.Doc, expression string) (bool, error)\n```\nEvaluateDoc is EvaluateJSON for a document that is already parsed: the overloads read the parsed tree directly, so nothing is serialized or scanned.\n\n```go\nfunc (c *CELCache) EvaluateJSON(data *string, expression string) (bool, error)\n```\nEvaluateJSON evaluates an expression against a JSON document without building the values map.\n\nExpressions that only call the string-keyed overloads (exists, equals, oneOf, ...) read the document through \\`\\_data\\_\\`, so they need neither the per-key variables nor the parsed map that Evaluate builds on every call. Those are compiled once against a minimal environment and cached by expression text. An expression that references an event variable does not compile there and is evaluated through Evaluate, so results are the same either way.\n\n```go\nfunc (c *CELCache) Get(cacheKey string, expression string, valuesMap map[string]interface{}, envOption ...cel.EnvOption) (bool, error)\n```\nGet retrieves a compiled CEL program from the cache or compiles it if not present. It then executes the program with the provided valuesMap and returns the result.\n\n```go\nfunc (c *CELCache) PrepareActivation(data any) (*CELActivation, error)\n```\nPrepareActivation converts 'data' (a proto.Message, JSON string/\\*string, map, or other JSON-encodable value) into a CELActivation: the values map exposed as named CEL variables plus the raw JSON string exposed as \\`\\_data\\_\\` to the string-keyed overloads. It is the expensive half of evaluation (proto -\u003e json -\u003e map); do it once per event, not per rule.\n\n```go\nfunc (c *CELCache) PrepareDoc(expression string) *DocExpression\n```\nPrepareDoc prepares expression for EvaluateDoc-style evaluation.\n\n```go\ntype Cast struct {\n\tTo     string   `protobuf:\"bytes,1,opt,name=to,proto3\" json:\"to,omitempty\"`\n\tFields []string `protobuf:\"bytes,2,rep,name=fields,proto3\" json:\"fields,omitempty\"`\n\tWhere  string   `protobuf:\"bytes,3,opt,name=where,proto3\" json:\"where,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Cast) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Cast.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Cast) GetFields() []string\n```\n\n```go\nfunc (x *Cast) GetTo() string\n```\n\n```go\nfunc (x *Cast) GetWhere() string\n```\n\n```go\nfunc (*Cast) ProtoMessage()\n```\n\n```go\nfunc (x *Cast) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Cast) Reset()\n```\n\n```go\nfunc (x *Cast) String() string\n```\n\n```go\ntype ComplianceValues struct {\n\tValues []string `protobuf:\"bytes,1,rep,name=values,proto3\" json:\"values,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*ComplianceValues) Descriptor() ([]byte, []int)\n```\nDeprecated: Use ComplianceValues.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *ComplianceValues) GetValues() []string\n```\n\n```go\nfunc (*ComplianceValues) ProtoMessage()\n```\n\n```go\nfunc (x *ComplianceValues) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *ComplianceValues) Reset()\n```\n\n```go\nfunc (x *ComplianceValues) String() string\n```\n\n```go\ntype Config struct {\n\tPipeline []*Pipeline `protobuf:\"bytes,1,rep,name=pipeline,proto3\" json:\"pipeline,omitempty\"`\n\t// disabledRules is the numeric-id form the v11 line uses. The filename-\n\t// identity form is disabledRuleNames.\n\tDisabledRules     []uint64                   `protobuf:\"varint,2,rep,packed,name=disabledRules,proto3\" json:\"disabledRules,omitempty\"`\n\tTenants           []*Tenant                  `protobuf:\"bytes,3,rep,name=tenants,proto3\" json:\"tenants,omitempty\"`\n\tPatterns          map[string]string          `protobuf:\"bytes,4,rep,name=patterns,proto3\" json:\"patterns,omitempty\" protobuf_key:\"bytes,1,opt,name=key\" protobuf_val:\"bytes,2,opt,name=value\"`\n\tPlugins           map[string]*structpb.Value `protobuf:\"bytes,5,rep,name=plugins,proto3\" json:\"plugins,omitempty\" protobuf_key:\"bytes,1,opt,name=key\" protobuf_val:\"bytes,2,opt,name=value\"`\n\tEnv               *Env                       `protobuf:\"bytes,6,opt,name=env,proto3\" json:\"env,omitempty\"`\n\tDisabledRuleNames []string                   `protobuf:\"bytes,7,rep,name=disabledRuleNames,proto3\" json:\"disabledRuleNames,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc GetCfg(processName string) *Config\n```\nGetCfg initializes the configuration if it hasn't been initialized yet, and starts a goroutine to periodically update the configuration every 60 seconds. It waits for the initial configuration to be set before returning it. The function returns an immutable snapshot pointer to the Config struct.\n\n```go\nfunc (*Config) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Config.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Config) GetDisabledRuleNames() []string\n```\n\n```go\nfunc (x *Config) GetDisabledRules() []uint64\n```\n\n```go\nfunc (x *Config) GetEnv() *Env\n```\n\n```go\nfunc (x *Config) GetPatterns() map[string]string\n```\n\n```go\nfunc (x *Config) GetPipeline() []*Pipeline\n```\n\n```go\nfunc (x *Config) GetPlugins() map[string]*structpb.Value\n```\n\n```go\nfunc (x *Config) GetTenants() []*Tenant\n```\n\n```go\nfunc (*Config) ProtoMessage()\n```\n\n```go\nfunc (x *Config) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Config) Reset()\n```\n\n```go\nfunc (x *Config) String() string\n```\n\n```go\ntype CorrelationCache struct {\n\t// contains filtered or unexported fields\n}\n```\nCorrelationCache spares the store the same correlation search when events of one stream keep asking it. A search that found its matches is remembered for ttl, so while a rule is already firing the next events reuse the answer; a search that found nothing is never remembered, so the event that reaches a rule's threshold is not held back. Searches for the same key that are in flight at the same time share one run.\n\n```go\nfunc NewCorrelationCache(ttl time.Duration, max int) *CorrelationCache\n```\nNewCorrelationCache keeps at most max remembered searches.\n\n```go\nfunc (c *CorrelationCache) Do(key string, run func() (bool, []json.RawMessage, error)) (bool, []json.RawMessage, error)\n```\nDo returns the remembered answer for key, or runs run and remembers it when it found matches.\n\n```go\ntype CorrelationClient interface {\n\tCorrelate(ctx context.Context, in *Alert, opts ...grpc.CallOption) (*emptypb.Empty, error)\n}\n```\nCorrelationClient is the client API for Correlation service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream](https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream).\n\n```go\nfunc NewCorrelationClient(cc grpc.ClientConnInterface) CorrelationClient\n```\n\n```go\ntype CorrelationServer interface {\n\tCorrelate(context.Context, *Alert) (*emptypb.Empty, error)\n\t// contains filtered or unexported methods\n}\n```\nCorrelationServer is the server API for Correlation service. All implementations must embed UnimplementedCorrelationServer for forward compatibility.\n\n```go\ntype Csv struct {\n\tSource    string   `protobuf:\"bytes,1,opt,name=source,proto3\" json:\"source,omitempty\"`\n\tSeparator string   `protobuf:\"bytes,2,opt,name=separator,proto3\" json:\"separator,omitempty\"`\n\tHeaders   []string `protobuf:\"bytes,3,rep,name=headers,proto3\" json:\"headers,omitempty\"`\n\tWhere     string   `protobuf:\"bytes,4,opt,name=where,proto3\" json:\"where,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Csv) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Csv.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Csv) GetHeaders() []string\n```\n\n```go\nfunc (x *Csv) GetSeparator() string\n```\n\n```go\nfunc (x *Csv) GetSource() string\n```\n\n```go\nfunc (x *Csv) GetWhere() string\n```\n\n```go\nfunc (*Csv) ProtoMessage()\n```\n\n```go\nfunc (x *Csv) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Csv) Reset()\n```\n\n```go\nfunc (x *Csv) String() string\n```\n\n```go\ntype DataProcessingMessage struct {\n\tDataType   string `json:\"dataType\"`\n\tDataSource string `json:\"dataSource\"`\n\tTenantID   string `json:\"tenantId,omitempty\"`\n\tBytes      int64  `json:\"bytes,omitempty\"`\n}\n```\nDataProcessingMessage represent the details of a success or failure during the processing of a log. Used as a message body for notifications.\n\n```go\ntype Delete struct {\n\tFields []string `protobuf:\"bytes,1,rep,name=fields,proto3\" json:\"fields,omitempty\"`\n\tWhere  string   `protobuf:\"bytes,2,opt,name=where,proto3\" json:\"where,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Delete) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Delete.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Delete) GetFields() []string\n```\n\n```go\nfunc (x *Delete) GetWhere() string\n```\n\n```go\nfunc (*Delete) ProtoMessage()\n```\n\n```go\nfunc (x *Delete) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Delete) Reset()\n```\n\n```go\nfunc (x *Delete) String() string\n```\n\n```go\ntype DiskInfo struct {\n\tName        string `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tTotalSpace  uint64 `protobuf:\"varint,2,opt,name=totalSpace,proto3\" json:\"totalSpace,omitempty\"`\n\tUsedPercent uint32 `protobuf:\"varint,3,opt,name=usedPercent,proto3\" json:\"usedPercent,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*DiskInfo) Descriptor() ([]byte, []int)\n```\nDeprecated: Use DiskInfo.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *DiskInfo) GetName() string\n```\n\n```go\nfunc (x *DiskInfo) GetTotalSpace() uint64\n```\n\n```go\nfunc (x *DiskInfo) GetUsedPercent() uint32\n```\n\n```go\nfunc (*DiskInfo) ProtoMessage()\n```\n\n```go\nfunc (x *DiskInfo) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *DiskInfo) Reset()\n```\n\n```go\nfunc (x *DiskInfo) String() string\n```\n\n```go\ntype DocExpression struct {\n\t// contains filtered or unexported fields\n}\n```\nDocExpression is an expression prepared once for evaluation against parsed documents. Holding it avoids looking the expression up by its text on every evaluation.\n\n```go\nfunc (e *DocExpression) Eval(doc *jsondoc.Doc) (bool, error)\n```\nEval gives the same answer as CELCache.EvaluateDoc for the prepared expression.\n\n```go\ntype Draft struct {\n\tLog      string   `protobuf:\"bytes,1,opt,name=log,proto3\" json:\"log,omitempty\"`\n\tStep     uint32   `protobuf:\"varint,2,opt,name=step,proto3\" json:\"step,omitempty\"`\n\tPipeline uint32   `protobuf:\"varint,3,opt,name=pipeline,proto3\" json:\"pipeline,omitempty\"`\n\tErrors   []string `protobuf:\"bytes,4,rep,name=errors,proto3\" json:\"errors,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Draft) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Draft.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Draft) GetErrors() []string\n```\n\n```go\nfunc (x *Draft) GetLog() string\n```\n\n```go\nfunc (x *Draft) GetPipeline() uint32\n```\n\n```go\nfunc (x *Draft) GetStep() uint32\n```\n\n```go\nfunc (*Draft) ProtoMessage()\n```\n\n```go\nfunc (x *Draft) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Draft) Reset()\n```\n\n```go\nfunc (x *Draft) String() string\n```\n\n```go\ntype Drop struct {\n\tWhere string `protobuf:\"bytes,1,opt,name=where,proto3\" json:\"where,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Drop) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Drop.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Drop) GetWhere() string\n```\n\n```go\nfunc (*Drop) ProtoMessage()\n```\n\n```go\nfunc (x *Drop) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Drop) Reset()\n```\n\n```go\nfunc (x *Drop) String() string\n```\n\n```go\ntype Dynamic struct {\n\tPlugin string                     `protobuf:\"bytes,1,opt,name=plugin,proto3\" json:\"plugin,omitempty\"`\n\tParams map[string]*structpb.Value `protobuf:\"bytes,2,rep,name=params,proto3\" json:\"params,omitempty\" protobuf_key:\"bytes,1,opt,name=key\" protobuf_val:\"bytes,2,opt,name=value\"`\n\tWhere  string                     `protobuf:\"bytes,3,opt,name=where,proto3\" json:\"where,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Dynamic) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Dynamic.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Dynamic) GetParams() map[string]*structpb.Value\n```\n\n```go\nfunc (x *Dynamic) GetPlugin() string\n```\n\n```go\nfunc (x *Dynamic) GetWhere() string\n```\n\n```go\nfunc (*Dynamic) ProtoMessage()\n```\n\n```go\nfunc (x *Dynamic) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Dynamic) Reset()\n```\n\n```go\nfunc (x *Dynamic) String() string\n```\n\n```go\ntype Empty = emptypb.Empty\n```\n\n```go\ntype EngineClient interface {\n\tInput(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[Log, Ack], error)\n\tNotify(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[Message, Ack], error)\n}\n```\nEngineClient is the client API for Engine service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream](https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream).\n\n```go\nfunc NewEngineClient(cc grpc.ClientConnInterface) EngineClient\n```\n\n```go\ntype EngineServer interface {\n\tInput(grpc.BidiStreamingServer[Log, Ack]) error\n\tNotify(grpc.BidiStreamingServer[Message, Ack]) error\n\t// contains filtered or unexported methods\n}\n```\nEngineServer is the server API for Engine service. All implementations must embed UnimplementedEngineServer for forward compatibility.\n\n```go\ntype Engine_InputClient = grpc.BidiStreamingClient[Log, Ack]\n```\nThis type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.\n\n```go\ntype Engine_InputServer = grpc.BidiStreamingServer[Log, Ack]\n```\nThis type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.\n\n```go\ntype Engine_NotifyClient = grpc.BidiStreamingClient[Message, Ack]\n```\nThis type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.\n\n```go\ntype Engine_NotifyServer = grpc.BidiStreamingServer[Message, Ack]\n```\nThis type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.\n\n```go\ntype Env struct {\n\tNodeName   string   `protobuf:\"bytes,1,opt,name=nodeName,proto3\" json:\"nodeName,omitempty\"`\n\tNodeGroups []string `protobuf:\"bytes,2,rep,name=nodeGroups,proto3\" json:\"nodeGroups,omitempty\"`\n\tLogLevel   uint32   `protobuf:\"varint,4,opt,name=logLevel,proto3\" json:\"logLevel,omitempty\"`\n\tMode       string   `protobuf:\"bytes,5,opt,name=mode,proto3\" json:\"mode,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Env) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Env.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Env) GetLogLevel() uint32\n```\n\n```go\nfunc (x *Env) GetMode() string\n```\n\n```go\nfunc (x *Env) GetNodeGroups() []string\n```\n\n```go\nfunc (x *Env) GetNodeName() string\n```\n\n```go\nfunc (*Env) ProtoMessage()\n```\n\n```go\nfunc (x *Env) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Env) Reset()\n```\n\n```go\nfunc (x *Env) String() string\n```\n\n```go\ntype Event struct {\n\tId         string `protobuf:\"bytes,1,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tTimestamp  string `protobuf:\"bytes,2,opt,name=timestamp,json=@timestamp,proto3\" json:\"timestamp,omitempty\"`\n\tDeviceTime string `protobuf:\"bytes,3,opt,name=deviceTime,proto3\" json:\"deviceTime,omitempty\"`\n\tDataType   string `protobuf:\"bytes,4,opt,name=dataType,proto3\" json:\"dataType,omitempty\"`\n\tDataSource string `protobuf:\"bytes,5,opt,name=dataSource,proto3\" json:\"dataSource,omitempty\"`\n\tTenantId   string `protobuf:\"bytes,6,opt,name=tenantId,proto3\" json:\"tenantId,omitempty\"`\n\tTenantName string `protobuf:\"bytes,7,opt,name=tenantName,proto3\" json:\"tenantName,omitempty\"`\n\tRaw        string `protobuf:\"bytes,8,opt,name=raw,proto3\" json:\"raw,omitempty\"`\n\t// RENAMED from: map\u003cstring, google.protobuf.Value\u003e log = 9;\n\tEvent            map[string]*structpb.Value   `protobuf:\"bytes,9,rep,name=event,proto3\" json:\"event,omitempty\" protobuf_key:\"bytes,1,opt,name=key\" protobuf_val:\"bytes,2,opt,name=value\"`\n\tTarget           *Side                        `protobuf:\"bytes,10,opt,name=target,proto3\" json:\"target,omitempty\"`\n\tOrigin           *Side                        `protobuf:\"bytes,11,opt,name=origin,proto3\" json:\"origin,omitempty\"`\n\tProtocol         string                       `protobuf:\"bytes,12,opt,name=protocol,proto3\" json:\"protocol,omitempty\"`\n\tConnectionStatus string                       `protobuf:\"bytes,13,opt,name=connectionStatus,proto3\" json:\"connectionStatus,omitempty\"`\n\tStatusCode       uint32                       `protobuf:\"varint,14,opt,name=statusCode,proto3\" json:\"statusCode,omitempty\"`\n\tActionResult     string                       `protobuf:\"bytes,15,opt,name=actionResult,proto3\" json:\"actionResult,omitempty\"`\n\tAction           string                       `protobuf:\"bytes,16,opt,name=action,proto3\" json:\"action,omitempty\"`\n\tSeverity         string                       `protobuf:\"bytes,17,opt,name=severity,proto3\" json:\"severity,omitempty\"`\n\tErrors           []string                     `protobuf:\"bytes,18,rep,name=errors,proto3\" json:\"errors,omitempty\"`\n\tCompliance       map[string]*ComplianceValues `protobuf:\"bytes,19,rep,name=compliance,proto3\" json:\"compliance,omitempty\" protobuf_key:\"bytes,1,opt,name=key\" protobuf_val:\"bytes,2,opt,name=value\"`\n\t// Compliance control tags (populated by the compliance orchestrator later).\n\tControls []string `protobuf:\"bytes,20,rep,name=controls,proto3\" json:\"controls,omitempty\"`\n\t// UTMStack curated, typed, aggregatable event-field bag. Unlike `event`\n\t// (flat_object, search-only), `utm` is indexed as a typed object so its\n\t// fields can be used as chart dimensions and terms/date aggregations.\n\tUtm map[string]*structpb.Value `protobuf:\"bytes,21,rep,name=utm,proto3\" json:\"utm,omitempty\" protobuf_key:\"bytes,1,opt,name=key\" protobuf_val:\"bytes,2,opt,name=value\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc EventFromRecord(raw []byte) (*Event, error)\n```\nEventFromRecord parses a stored log record into an Event.\n\nA record read back from the store is not an Event as it was sent: the table keeps statusCode as text and fills it with \"\" when the source had none, while the Event field is a uint32 that protojson refuses to read from \"\". Left alone that fails the whole record, so every record of a typical source — one that never sets a status code — could not be turned back into an Event at all. A statusCode that is not a number is dropped for the same reason: it carries nothing the Event could hold.\n\n```go\nfunc (*Event) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Event.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Event) GetAction() string\n```\n\n```go\nfunc (x *Event) GetActionResult() string\n```\n\n```go\nfunc (x *Event) GetCompliance() map[string]*ComplianceValues\n```\n\n```go\nfunc (x *Event) GetConnectionStatus() string\n```\n\n```go\nfunc (x *Event) GetControls() []string\n```\n\n```go\nfunc (x *Event) GetDataSource() string\n```\n\n```go\nfunc (x *Event) GetDataType() string\n```\n\n```go\nfunc (x *Event) GetDeviceTime() string\n```\n\n```go\nfunc (x *Event) GetErrors() []string\n```\n\n```go\nfunc (x *Event) GetEvent() map[string]*structpb.Value\n```\n\n```go\nfunc (x *Event) GetId() string\n```\n\n```go\nfunc (x *Event) GetOrigin() *Side\n```\n\n```go\nfunc (x *Event) GetProtocol() string\n```\n\n```go\nfunc (x *Event) GetRaw() string\n```\n\n```go\nfunc (x *Event) GetSeverity() string\n```\n\n```go\nfunc (x *Event) GetStatusCode() uint32\n```\n\n```go\nfunc (x *Event) GetTarget() *Side\n```\n\n```go\nfunc (x *Event) GetTenantId() string\n```\n\n```go\nfunc (x *Event) GetTenantName() string\n```\n\n```go\nfunc (x *Event) GetTimestamp() string\n```\n\n```go\nfunc (x *Event) GetUtm() map[string]*structpb.Value\n```\n\n```go\nfunc (*Event) ProtoMessage()\n```\n\n```go\nfunc (x *Event) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Event) Reset()\n```\n\n```go\nfunc (x *Event) String() string\n```\n\n```go\ntype Expand struct {\n\tSource string `protobuf:\"bytes,1,opt,name=source,proto3\" json:\"source,omitempty\"`\n\tTo     string `protobuf:\"bytes,2,opt,name=to,proto3\" json:\"to,omitempty\"`\n\tWhere  string `protobuf:\"bytes,3,opt,name=where,proto3\" json:\"where,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Expand) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Expand.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Expand) GetSource() string\n```\n\n```go\nfunc (x *Expand) GetTo() string\n```\n\n```go\nfunc (x *Expand) GetWhere() string\n```\n\n```go\nfunc (*Expand) ProtoMessage()\n```\n\n```go\nfunc (x *Expand) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Expand) Reset()\n```\n\n```go\nfunc (x *Expand) String() string\n```\n\n```go\ntype Expression struct {\n\tField    string          `protobuf:\"bytes,1,opt,name=field,proto3\" json:\"field,omitempty\"`\n\tOperator string          `protobuf:\"bytes,2,opt,name=operator,proto3\" json:\"operator,omitempty\"`\n\tValue    *structpb.Value `protobuf:\"bytes,3,opt,name=value,proto3\" json:\"value,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Expression) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Expression.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Expression) GetField() string\n```\n\n```go\nfunc (x *Expression) GetOperator() string\n```\n\n```go\nfunc (x *Expression) GetValue() *structpb.Value\n```\n\n```go\nfunc (*Expression) ProtoMessage()\n```\n\n```go\nfunc (x *Expression) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Expression) Reset()\n```\n\n```go\nfunc (x *Expression) String() string\n```\n\n```go\ntype Geolocation struct {\n\tCountry     string  `protobuf:\"bytes,1,opt,name=country,proto3\" json:\"country,omitempty\"`\n\tCity        string  `protobuf:\"bytes,2,opt,name=city,proto3\" json:\"city,omitempty\"`\n\tLatitude    float64 `protobuf:\"fixed64,3,opt,name=latitude,proto3\" json:\"latitude,omitempty\"`\n\tLongitude   float64 `protobuf:\"fixed64,4,opt,name=longitude,proto3\" json:\"longitude,omitempty\"`\n\tAsn         uint64  `protobuf:\"varint,5,opt,name=asn,proto3\" json:\"asn,omitempty\"`\n\tAso         string  `protobuf:\"bytes,6,opt,name=aso,proto3\" json:\"aso,omitempty\"`\n\tCountryCode string  `protobuf:\"bytes,7,opt,name=countryCode,proto3\" json:\"countryCode,omitempty\"`\n\tAccuracy    uint32  `protobuf:\"varint,8,opt,name=accuracy,proto3\" json:\"accuracy,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Geolocation) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Geolocation.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Geolocation) GetAccuracy() uint32\n```\n\n```go\nfunc (x *Geolocation) GetAsn() uint64\n```\n\n```go\nfunc (x *Geolocation) GetAso() string\n```\n\n```go\nfunc (x *Geolocation) GetCity() string\n```\n\n```go\nfunc (x *Geolocation) GetCountry() string\n```\n\n```go\nfunc (x *Geolocation) GetCountryCode() string\n```\n\n```go\nfunc (x *Geolocation) GetLatitude() float64\n```\n\n```go\nfunc (x *Geolocation) GetLongitude() float64\n```\n\n```go\nfunc (*Geolocation) ProtoMessage()\n```\n\n```go\nfunc (x *Geolocation) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Geolocation) Reset()\n```\n\n```go\nfunc (x *Geolocation) String() string\n```\n\n```go\ntype Grok struct {\n\tPatterns []*Pattern `protobuf:\"bytes,1,rep,name=patterns,proto3\" json:\"patterns,omitempty\"`\n\tSource   string     `protobuf:\"bytes,2,opt,name=source,proto3\" json:\"source,omitempty\"`\n\tWhere    string     `protobuf:\"bytes,3,opt,name=where,proto3\" json:\"where,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Grok) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Grok.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Grok) GetPatterns() []*Pattern\n```\n\n```go\nfunc (x *Grok) GetSource() string\n```\n\n```go\nfunc (x *Grok) GetWhere() string\n```\n\n```go\nfunc (*Grok) ProtoMessage()\n```\n\n```go\nfunc (x *Grok) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Grok) Reset()\n```\n\n```go\nfunc (x *Grok) String() string\n```\n\n```go\ntype Impact struct {\n\tConfidentiality uint32 `protobuf:\"varint,1,opt,name=confidentiality,proto3\" json:\"confidentiality,omitempty\"`\n\tIntegrity       uint32 `protobuf:\"varint,2,opt,name=integrity,proto3\" json:\"integrity,omitempty\"`\n\tAvailability    uint32 `protobuf:\"varint,3,opt,name=availability,proto3\" json:\"availability,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Impact) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Impact.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Impact) GetAvailability() uint32\n```\n\n```go\nfunc (x *Impact) GetConfidentiality() uint32\n```\n\n```go\nfunc (x *Impact) GetIntegrity() uint32\n```\n\n```go\nfunc (*Impact) ProtoMessage()\n```\n\n```go\nfunc (x *Impact) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Impact) Reset()\n```\n\n```go\nfunc (x *Impact) String() string\n```\n\n```go\ntype IndexPatternResolver func(dataset store.Dataset, pattern string) (dataType string, ok bool)\n```\nIndexPatternResolver turns the index pattern a v11 rule names into the dataType a store reads it by. dataType is empty for a pattern that covers every dataType; ok is false for one the store does not recognise.\n\n```go\ntype IntegrationClient interface {\n\tProcessLog(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[Log, Ack], error)\n}\n```\nIntegrationClient is the client API for Integration service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream](https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream).\n\n```go\nfunc NewIntegrationClient(cc grpc.ClientConnInterface) IntegrationClient\n```\n\n```go\ntype IntegrationServer interface {\n\tProcessLog(grpc.BidiStreamingServer[Log, Ack]) error\n\t// contains filtered or unexported methods\n}\n```\nIntegrationServer is the server API for Integration service. All implementations must embed UnimplementedIntegrationServer for forward compatibility.\n\n```go\ntype Integration_ProcessLogClient = grpc.BidiStreamingClient[Log, Ack]\n```\nThis type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.\n\n```go\ntype Integration_ProcessLogServer = grpc.BidiStreamingServer[Log, Ack]\n```\nThis type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.\n\n```go\ntype Json struct {\n\tSource string `protobuf:\"bytes,1,opt,name=source,proto3\" json:\"source,omitempty\"`\n\tWhere  string `protobuf:\"bytes,2,opt,name=where,proto3\" json:\"where,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Json) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Json.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Json) GetSource() string\n```\n\n```go\nfunc (x *Json) GetWhere() string\n```\n\n```go\nfunc (*Json) ProtoMessage()\n```\n\n```go\nfunc (x *Json) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Json) Reset()\n```\n\n```go\nfunc (x *Json) String() string\n```\n\n```go\ntype Kv struct {\n\tFieldSplit string `protobuf:\"bytes,1,opt,name=fieldSplit,proto3\" json:\"fieldSplit,omitempty\"`\n\tValueSplit string `protobuf:\"bytes,2,opt,name=valueSplit,proto3\" json:\"valueSplit,omitempty\"`\n\tSource     string `protobuf:\"bytes,3,opt,name=source,proto3\" json:\"source,omitempty\"`\n\tWhere      string `protobuf:\"bytes,4,opt,name=where,proto3\" json:\"where,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Kv) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Kv.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Kv) GetFieldSplit() string\n```\n\n```go\nfunc (x *Kv) GetSource() string\n```\n\n```go\nfunc (x *Kv) GetValueSplit() string\n```\n\n```go\nfunc (x *Kv) GetWhere() string\n```\n\n```go\nfunc (*Kv) ProtoMessage()\n```\n\n```go\nfunc (x *Kv) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Kv) Reset()\n```\n\n```go\nfunc (x *Kv) String() string\n```\n\n```go\ntype ListValue = structpb.ListValue\n```\n\n```go\ntype Log struct {\n\tId         string `protobuf:\"bytes,1,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tDataType   string `protobuf:\"bytes,2,opt,name=dataType,proto3\" json:\"dataType,omitempty\"`\n\tDataSource string `protobuf:\"bytes,3,opt,name=dataSource,proto3\" json:\"dataSource,omitempty\"`\n\tTimestamp  string `protobuf:\"bytes,4,opt,name=timestamp,json=@timestamp,proto3\" json:\"timestamp,omitempty\"`\n\tTenantId   string `protobuf:\"bytes,5,opt,name=tenantId,proto3\" json:\"tenantId,omitempty\"`\n\tRaw        string `protobuf:\"bytes,6,opt,name=raw,proto3\" json:\"raw,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Log) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Log.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Log) GetDataSource() string\n```\n\n```go\nfunc (x *Log) GetDataType() string\n```\n\n```go\nfunc (x *Log) GetId() string\n```\n\n```go\nfunc (x *Log) GetRaw() string\n```\n\n```go\nfunc (x *Log) GetTenantId() string\n```\n\n```go\nfunc (x *Log) GetTimestamp() string\n```\n\n```go\nfunc (*Log) ProtoMessage()\n```\n\n```go\nfunc (x *Log) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Log) Reset()\n```\n\n```go\nfunc (x *Log) String() string\n```\n\n```go\ntype Message struct {\n\tId        string `protobuf:\"bytes,1,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tTimestamp string `protobuf:\"bytes,2,opt,name=timestamp,json=@timestamp,proto3\" json:\"timestamp,omitempty\"`\n\tTopic     string `protobuf:\"bytes,3,opt,name=topic,proto3\" json:\"topic,omitempty\"`\n\tMessage   string `protobuf:\"bytes,4,opt,name=message,proto3\" json:\"message,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Message) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Message.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Message) GetId() string\n```\n\n```go\nfunc (x *Message) GetMessage() string\n```\n\n```go\nfunc (x *Message) GetTimestamp() string\n```\n\n```go\nfunc (x *Message) GetTopic() string\n```\n\n```go\nfunc (*Message) ProtoMessage()\n```\n\n```go\nfunc (x *Message) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Message) Reset()\n```\n\n```go\nfunc (x *Message) String() string\n```\n\n```go\ntype NATSPublisher struct {\n\t// contains filtered or unexported fields\n}\n```\nNATSPublisher publishes logs to the ingestion stream and waits for the server to confirm each one, so a log it accepted is stored.\n\n```go\nfunc NewNATSPublisher(ctx context.Context, url, name string, shards int) (*NATSPublisher, error)\n```\nNewNATSPublisher connects to NATS and makes sure the stream exists. It keeps trying to reconnect for as long as the process lives, so a NATS restart makes publishing wait instead of failing.\n\n```go\nfunc (p *NATSPublisher) Close()\n```\nClose ends the connection.\n\n```go\nfunc (p *NATSPublisher) Publish(ctx context.Context, l *Log) error\n```\nPublish stores one log and waits for the server to confirm it.\n\n```go\ntype NotificationClient interface {\n\tNotify(ctx context.Context, in *Message, opts ...grpc.CallOption) (*emptypb.Empty, error)\n}\n```\nNotificationClient is the client API for Notification service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream](https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream).\n\n```go\nfunc NewNotificationClient(cc grpc.ClientConnInterface) NotificationClient\n```\n\n```go\ntype NotificationServer interface {\n\tNotify(context.Context, *Message) (*emptypb.Empty, error)\n\t// contains filtered or unexported methods\n}\n```\nNotificationServer is the server API for Notification service. All implementations must embed UnimplementedNotificationServer for forward compatibility.\n\n```go\ntype NullValue = structpb.NullValue\n```\n\n```go\ntype OutputClient interface {\n\tEventOutput(ctx context.Context, in *Event, opts ...grpc.CallOption) (*emptypb.Empty, error)\n\tAlertOutput(ctx context.Context, in *Alert, opts ...grpc.CallOption) (*emptypb.Empty, error)\n}\n```\nOutputClient is the client API for Output service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream](https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream).\n\n```go\nfunc NewOutputClient(cc grpc.ClientConnInterface) OutputClient\n```\n\n```go\ntype OutputServer interface {\n\tEventOutput(context.Context, *Event) (*emptypb.Empty, error)\n\tAlertOutput(context.Context, *Alert) (*emptypb.Empty, error)\n\t// contains filtered or unexported methods\n}\n```\nOutputServer is the server API for Output service. All implementations must embed UnimplementedOutputServer for forward compatibility.\n\n```go\ntype ParsingClient interface {\n\tParseLog(ctx context.Context, in *Transform, opts ...grpc.CallOption) (*Draft, error)\n}\n```\nParsingClient is the client API for Parsing service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream](https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream).\n\n```go\nfunc NewParsingClient(cc grpc.ClientConnInterface) ParsingClient\n```\n\n```go\ntype ParsingServer interface {\n\tParseLog(context.Context, *Transform) (*Draft, error)\n\t// contains filtered or unexported methods\n}\n```\nParsingServer is the server API for Parsing service. All implementations must embed UnimplementedParsingServer for forward compatibility.\n\n```go\ntype Pattern struct {\n\tFieldName string `protobuf:\"bytes,1,opt,name=fieldName,proto3\" json:\"fieldName,omitempty\"`\n\tPattern   string `protobuf:\"bytes,2,opt,name=pattern,proto3\" json:\"pattern,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Pattern) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Pattern.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Pattern) GetFieldName() string\n```\n\n```go\nfunc (x *Pattern) GetPattern() string\n```\n\n```go\nfunc (*Pattern) ProtoMessage()\n```\n\n```go\nfunc (x *Pattern) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Pattern) Reset()\n```\n\n```go\nfunc (x *Pattern) String() string\n```\n\n```go\ntype Pipeline struct {\n\tDataTypes []string `protobuf:\"bytes,1,rep,name=dataTypes,proto3\" json:\"dataTypes,omitempty\"`\n\tSteps     []*Step  `protobuf:\"bytes,2,rep,name=steps,proto3\" json:\"steps,omitempty\"`\n\tOrder     int32    `protobuf:\"varint,3,opt,name=order,proto3\" json:\"order,omitempty\"`\n\tTenantId  string   `protobuf:\"bytes,4,opt,name=tenantId,proto3\" json:\"tenantId,omitempty\"`\n\tName      string   `protobuf:\"bytes,5,opt,name=name,proto3\" json:\"name,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc PipelinesFor(tenantId string) []*Pipeline\n```\nPipelinesFor returns the pipelines that apply to one tenant, already in the order that tenant wants them and with its disabled ones removed.\n\nResolving this once per configuration load rather than per event is the point: the parsing loop used to walk every pipeline and re-check ownership and the disabled list for each draft.\n\n```go\nfunc (*Pipeline) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Pipeline.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Pipeline) GetDataTypes() []string\n```\n\n```go\nfunc (x *Pipeline) GetName() string\n```\n\n```go\nfunc (x *Pipeline) GetOrder() int32\n```\n\n```go\nfunc (x *Pipeline) GetSteps() []*Step\n```\n\n```go\nfunc (x *Pipeline) GetTenantId() string\n```\n\n```go\nfunc (*Pipeline) ProtoMessage()\n```\n\n```go\nfunc (x *Pipeline) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Pipeline) Reset()\n```\n\n```go\nfunc (x *Pipeline) String() string\n```\n\n```go\ntype Pool[T any] struct {\n\t// contains filtered or unexported fields\n}\n```\nPool is a generic object pool\n\n```go\nfunc NewPool[T any](newFn func() T, resetFn func(obj T)) *Pool[T]\n```\nNewPool creates a new object pool\n\n```go\nfunc (p *Pool[T]) Get() T\n```\nGet retrieves an object from the pool or creates a new one if the pool is empty\n\n```go\nfunc (p *Pool[T]) Put(obj T) error\n```\nPut returns an object to the pool after resetting it\n\n```go\ntype Reformat struct {\n\tFields     []string `protobuf:\"bytes,1,rep,name=fields,proto3\" json:\"fields,omitempty\"`\n\tFunction   string   `protobuf:\"bytes,2,opt,name=function,proto3\" json:\"function,omitempty\"`\n\tFromFormat string   `protobuf:\"bytes,3,opt,name=fromFormat,proto3\" json:\"fromFormat,omitempty\"`\n\tToFormat   string   `protobuf:\"bytes,4,opt,name=toFormat,proto3\" json:\"toFormat,omitempty\"`\n\tWhere      string   `protobuf:\"bytes,5,opt,name=where,proto3\" json:\"where,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Reformat) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Reformat.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Reformat) GetFields() []string\n```\n\n```go\nfunc (x *Reformat) GetFromFormat() string\n```\n\n```go\nfunc (x *Reformat) GetFunction() string\n```\n\n```go\nfunc (x *Reformat) GetToFormat() string\n```\n\n```go\nfunc (x *Reformat) GetWhere() string\n```\n\n```go\nfunc (*Reformat) ProtoMessage()\n```\n\n```go\nfunc (x *Reformat) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Reformat) Reset()\n```\n\n```go\nfunc (x *Reformat) String() string\n```\n\n```go\ntype RegexpCache struct {\n\t// contains filtered or unexported fields\n}\n```\nRegexpCache provides a thread-safe cache for compiled regular expressions. Literal patterns (without \"{{\") bypass config/template lookup completely. Template patterns are cached by raw pattern string before text/template expansion and invalidated automatically when the configuration generation advances.\n\n```go\nfunc (c *RegexpCache) Get(pattern string) (*regexp.Regexp, error)\n```\nGet retrieves a compiled regular expression from the cache. If the pattern is not cached, it is compiled and added to the cache. Patterns containing \"{{ ... }}\" markers are expanded using global patterns from configuration and cached by raw pattern until config reloads.\n\n```go\ntype Rename struct {\n\tTo    string   `protobuf:\"bytes,1,opt,name=to,proto3\" json:\"to,omitempty\"`\n\tFrom  []string `protobuf:\"bytes,2,rep,name=from,proto3\" json:\"from,omitempty\"`\n\tWhere string   `protobuf:\"bytes,3,opt,name=where,proto3\" json:\"where,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Rename) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Rename.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Rename) GetFrom() []string\n```\n\n```go\nfunc (x *Rename) GetTo() string\n```\n\n```go\nfunc (x *Rename) GetWhere() string\n```\n\n```go\nfunc (*Rename) ProtoMessage()\n```\n\n```go\nfunc (x *Rename) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Rename) Reset()\n```\n\n```go\nfunc (x *Rename) String() string\n```\n\n```go\ntype Rule struct {\n\tName          string           `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tDescription   string           `protobuf:\"bytes,2,opt,name=description,proto3\" json:\"description,omitempty\"`\n\tCategory      string           `protobuf:\"bytes,3,opt,name=category,proto3\" json:\"category,omitempty\"`\n\tTechnique     string           `protobuf:\"bytes,4,opt,name=technique,proto3\" json:\"technique,omitempty\"`\n\tReferences    []string         `protobuf:\"bytes,5,rep,name=references,proto3\" json:\"references,omitempty\"`\n\tDataTypes     []string         `protobuf:\"bytes,6,rep,name=dataTypes,proto3\" json:\"dataTypes,omitempty\"`\n\tAdversary     string           `protobuf:\"bytes,7,opt,name=adversary,proto3\" json:\"adversary,omitempty\"`\n\tImpact        *Impact          `protobuf:\"bytes,8,opt,name=impact,proto3\" json:\"impact,omitempty\"`\n\tWhere         string           `protobuf:\"bytes,9,opt,name=where,proto3\" json:\"where,omitempty\"`\n\tAfterEvents   []*SearchRequest `protobuf:\"bytes,10,rep,name=afterEvents,proto3\" json:\"afterEvents,omitempty\"`\n\tDeduplicateBy []string         `protobuf:\"bytes,11,rep,name=deduplicateBy,proto3\" json:\"deduplicateBy,omitempty\"`\n\tGroupBy       []string         `protobuf:\"bytes,12,rep,name=groupBy,proto3\" json:\"groupBy,omitempty\"`\n\tCorrelation   []*SearchRequest `protobuf:\"bytes,13,rep,name=correlation,proto3\" json:\"correlation,omitempty\"`\n\tTenantId      string           `protobuf:\"bytes,14,opt,name=tenantId,proto3\" json:\"tenantId,omitempty\"`\n\t// id is the numeric identity the v11 line gives a rule; v12 identifies a\n\t// rule by its file name and leaves it unset.\n\tId uint64 `protobuf:\"varint,15,opt,name=id,proto3\" json:\"id,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Rule) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Rule.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Rule) GetAdversary() string\n```\n\n```go\nfunc (x *Rule) GetAfterEvents() []*SearchRequest\n```\n\n```go\nfunc (x *Rule) GetCategory() string\n```\n\n```go\nfunc (x *Rule) GetCorrelation() []*SearchRequest\n```\n\n```go\nfunc (x *Rule) GetDataTypes() []string\n```\n\n```go\nfunc (x *Rule) GetDeduplicateBy() []string\n```\n\n```go\nfunc (x *Rule) GetDescription() string\n```\n\n```go\nfunc (x *Rule) GetGroupBy() []string\n```\n\n```go\nfunc (x *Rule) GetId() uint64\n```\n\n```go\nfunc (x *Rule) GetImpact() *Impact\n```\n\n```go\nfunc (x *Rule) GetName() string\n```\n\n```go\nfunc (x *Rule) GetReferences() []string\n```\n\n```go\nfunc (x *Rule) GetTechnique() string\n```\n\n```go\nfunc (x *Rule) GetTenantId() string\n```\n\n```go\nfunc (x *Rule) GetWhere() string\n```\n\n```go\nfunc (r *Rule) Normalize()\n```\nNormalize ensures that the newest fields are populated even if old aliases were used This is now a method on the generated Rule struct from plugins.pb.go\n\n```go\nfunc (*Rule) ProtoMessage()\n```\n\n```go\nfunc (x *Rule) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Rule) Reset()\n```\n\n```go\nfunc (x *Rule) String() string\n```\n\n```go\ntype SearchRequest struct {\n\tDataType string           `protobuf:\"bytes,1,opt,name=dataType,proto3\" json:\"dataType,omitempty\"`\n\tWith     []*Expression    `protobuf:\"bytes,2,rep,name=with,proto3\" json:\"with,omitempty\"`\n\tOr       []*SearchRequest `protobuf:\"bytes,3,rep,name=or,proto3\" json:\"or,omitempty\"`\n\tWithin   string           `protobuf:\"bytes,4,opt,name=within,proto3\" json:\"within,omitempty\"`\n\tCount    uint64           `protobuf:\"varint,5,opt,name=count,proto3\" json:\"count,omitempty\"`\n\t// indexPattern targets an OpenSearch index pattern directly (v11); dataType\n\t// targets a store dataset (v12).\n\tIndexPattern string `protobuf:\"bytes,6,opt,name=indexPattern,proto3\" json:\"indexPattern,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (e *SearchRequest) CacheKey(scope store.Scope, previous *string) (string, error)\n```\nCacheKey identifies what ExecuteStore would search for: the request, the scope it starts from and the filters once the event's values are filled in.\n\n```go\nfunc (*SearchRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use SearchRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (e *SearchRequest) Execute(previous *string) (bool, []sdkos.Hit, error)\n```\nExecute runs the correlation search straight against OpenSearch, which is how the v11 line does it. It keeps the signature that line was built on; code that reads through a store.Store calls ExecuteStore instead.\n\n```go\nfunc (e *SearchRequest) ExecuteStore(ctx context.Context, st store.Store, scope store.Scope, previous *string) (bool, []json.RawMessage, error)\n```\nExecuteStore reports whether at least Count records match within Within, and if so returns up to sampleSize of them as evidence. Counting and sampling are two calls so that records are read only when the threshold is actually met.\n\n```go\nfunc (x *SearchRequest) GetCount() uint64\n```\n\n```go\nfunc (x *SearchRequest) GetDataType() string\n```\n\n```go\nfunc (x *SearchRequest) GetIndexPattern() string\n```\n\n```go\nfunc (x *SearchRequest) GetOr() []*SearchRequest\n```\n\n```go\nfunc (x *SearchRequest) GetWith() []*Expression\n```\n\n```go\nfunc (x *SearchRequest) GetWithin() string\n```\n\n```go\nfunc (*SearchRequest) ProtoMessage()\n```\n\n```go\nfunc (x *SearchRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *SearchRequest) Reset()\n```\n\n```go\nfunc (x *SearchRequest) String() string\n```\n\n```go\ntype Side struct {\n\n\t// Network traffic attributes\n\tBytesSent        float64 `protobuf:\"fixed64,1,opt,name=bytesSent,proto3\" json:\"bytesSent,omitempty\"`\n\tBytesReceived    float64 `protobuf:\"fixed64,2,opt,name=bytesReceived,proto3\" json:\"bytesReceived,omitempty\"`\n\tPackagesSent     uint64  `protobuf:\"varint,3,opt,name=packagesSent,proto3\" json:\"packagesSent,omitempty\"`\n\tPackagesReceived uint64  `protobuf:\"varint,4,opt,name=packagesReceived,proto3\" json:\"packagesReceived,omitempty\"`\n\t// Network identification attributes\n\tIp          string       `protobuf:\"bytes,5,opt,name=ip,proto3\" json:\"ip,omitempty\"`\n\tHost        string       `protobuf:\"bytes,6,opt,name=host,proto3\" json:\"host,omitempty\"`\n\tUser        string       `protobuf:\"bytes,7,opt,name=user,proto3\" json:\"user,omitempty\"`\n\tGroup       string       `protobuf:\"bytes,8,opt,name=group,proto3\" json:\"group,omitempty\"`\n\tPort        uint32       `protobuf:\"varint,9,opt,name=port,proto3\" json:\"port,omitempty\"`\n\tDomain      string       `protobuf:\"bytes,10,opt,name=domain,proto3\" json:\"domain,omitempty\"`\n\tMac         string       `protobuf:\"bytes,11,opt,name=mac,proto3\" json:\"mac,omitempty\"`\n\tGeolocation *Geolocation `protobuf:\"bytes,12,opt,name=geolocation,proto3\" json:\"geolocation,omitempty\"`\n\tUrl         string       `protobuf:\"bytes,13,opt,name=url,proto3\" json:\"url,omitempty\"`\n\tCidr        string       `protobuf:\"bytes,14,opt,name=cidr,proto3\" json:\"cidr,omitempty\"`\n\t// Certificate and fingerprint attributes\n\tCertificateFingerprint string `protobuf:\"bytes,15,opt,name=certificateFingerprint,proto3\" json:\"certificateFingerprint,omitempty\"`\n\tJa3Fingerprint         string `protobuf:\"bytes,16,opt,name=ja3Fingerprint,proto3\" json:\"ja3Fingerprint,omitempty\"`\n\tJarmFingerprint        string `protobuf:\"bytes,17,opt,name=jarmFingerprint,proto3\" json:\"jarmFingerprint,omitempty\"`\n\tSshBanner              string `protobuf:\"bytes,18,opt,name=sshBanner,proto3\" json:\"sshBanner,omitempty\"`\n\tSshFingerprint         string `protobuf:\"bytes,19,opt,name=sshFingerprint,proto3\" json:\"sshFingerprint,omitempty\"`\n\t// Web attributes\n\tCookie   string `protobuf:\"bytes,20,opt,name=cookie,proto3\" json:\"cookie,omitempty\"`\n\tJabberId string `protobuf:\"bytes,21,opt,name=jabberId,proto3\" json:\"jabberId,omitempty\"`\n\t// Email attributes\n\tEmail            string `protobuf:\"bytes,22,opt,name=email,proto3\" json:\"email,omitempty\"`\n\tDkim             string `protobuf:\"bytes,23,opt,name=dkim,proto3\" json:\"dkim,omitempty\"`\n\tDkimSignature    string `protobuf:\"bytes,24,opt,name=dkimSignature,proto3\" json:\"dkimSignature,omitempty\"`\n\tEmailAddress     string `protobuf:\"bytes,25,opt,name=emailAddress,proto3\" json:\"emailAddress,omitempty\"`\n\tEmailBody        string `protobuf:\"bytes,26,opt,name=emailBody,proto3\" json:\"emailBody,omitempty\"`\n\tEmailDisplayName string `protobuf:\"bytes,27,opt,name=emailDisplayName,proto3\" json:\"emailDisplayName,omitempty\"`\n\tEmailSubject     string `protobuf:\"bytes,28,opt,name=emailSubject,proto3\" json:\"emailSubject,omitempty\"`\n\tEmailThreadIndex string `protobuf:\"bytes,29,opt,name=emailThreadIndex,proto3\" json:\"emailThreadIndex,omitempty\"`\n\tEmailXMailer     string `protobuf:\"bytes,30,opt,name=emailXMailer,proto3\" json:\"emailXMailer,omitempty\"`\n\t// WHOIS attributes\n\tWhoisRegistrant string `protobuf:\"bytes,31,opt,name=whoisRegistrant,proto3\" json:\"whoisRegistrant,omitempty\"`\n\tWhoisRegistrar  string `protobuf:\"bytes,32,opt,name=whoisRegistrar,proto3\" json:\"whoisRegistrar,omitempty\"`\n\t// Process-related attributes\n\tProcess                   string `protobuf:\"bytes,33,opt,name=process,proto3\" json:\"process,omitempty\"`\n\tProcessState              string `protobuf:\"bytes,34,opt,name=processState,proto3\" json:\"processState,omitempty\"`\n\tCommand                   string `protobuf:\"bytes,35,opt,name=command,proto3\" json:\"command,omitempty\"`\n\tWindowsScheduledTask      string `protobuf:\"bytes,36,opt,name=windowsScheduledTask,proto3\" json:\"windowsScheduledTask,omitempty\"`\n\tWindowsServiceDisplayName string `protobuf:\"bytes,37,opt,name=windowsServiceDisplayName,proto3\" json:\"windowsServiceDisplayName,omitempty\"`\n\tWindowsServiceName        string `protobuf:\"bytes,38,opt,name=windowsServiceName,proto3\" json:\"windowsServiceName,omitempty\"`\n\t// File-related attributes\n\tFile        string `protobuf:\"bytes,39,opt,name=file,proto3\" json:\"file,omitempty\"`\n\tPath        string `protobuf:\"bytes,40,opt,name=path,proto3\" json:\"path,omitempty\"`\n\tFilename    string `protobuf:\"bytes,41,opt,name=filename,proto3\" json:\"filename,omitempty\"`\n\tSizeInBytes string `protobuf:\"bytes,42,opt,name=sizeInBytes,proto3\" json:\"sizeInBytes,omitempty\"`\n\tMimeType    string `protobuf:\"bytes,43,opt,name=mimeType,proto3\" json:\"mimeType,omitempty\"`\n\t// Hash-related attributes\n\tHash         string `protobuf:\"bytes,44,opt,name=hash,proto3\" json:\"hash,omitempty\"`\n\tAuthentihash string `protobuf:\"bytes,45,opt,name=authentihash,proto3\" json:\"authentihash,omitempty\"`\n\tCdhash       string `protobuf:\"bytes,46,opt,name=cdhash,proto3\" json:\"cdhash,omitempty\"`\n\tMd5          string `protobuf:\"bytes,47,opt,name=md5,proto3\" json:\"md5,omitempty\"`\n\tSha1         string `protobuf:\"bytes,48,opt,name=sha1,proto3\" json:\"sha1,omitempty\"`\n\tSha224       string `protobuf:\"bytes,49,opt,name=sha224,proto3\" json:\"sha224,omitempty\"`\n\tSha256       string `protobuf:\"bytes,50,opt,name=sha256,proto3\" json:\"sha256,omitempty\"`\n\tSha384       string `protobuf:\"bytes,51,opt,name=sha384,proto3\" json:\"sha384,omitempty\"`\n\tSha3224      string `protobuf:\"bytes,52,opt,name=sha3224,proto3\" json:\"sha3224,omitempty\"`\n\tSha3256      string `protobuf:\"bytes,53,opt,name=sha3256,proto3\" json:\"sha3256,omitempty\"`\n\tSha3384      string `protobuf:\"bytes,54,opt,name=sha3384,proto3\" json:\"sha3384,omitempty\"`\n\tSha3512      string `protobuf:\"bytes,55,opt,name=sha3512,proto3\" json:\"sha3512,omitempty\"`\n\tSha512       string `protobuf:\"bytes,56,opt,name=sha512,proto3\" json:\"sha512,omitempty\"`\n\tSha512224    string `protobuf:\"bytes,57,opt,name=sha512224,proto3\" json:\"sha512224,omitempty\"`\n\tSha512256    string `protobuf:\"bytes,58,opt,name=sha512256,proto3\" json:\"sha512256,omitempty\"`\n\tHex          string `protobuf:\"bytes,59,opt,name=hex,proto3\" json:\"hex,omitempty\"`\n\tBase64       string `protobuf:\"bytes,60,opt,name=base64,proto3\" json:\"base64,omitempty\"`\n\t// System-related attributes\n\tOperatingSystem string `protobuf:\"bytes,61,opt,name=operatingSystem,proto3\" json:\"operatingSystem,omitempty\"`\n\tChromeExtension string `protobuf:\"bytes,62,opt,name=chromeExtension,proto3\" json:\"chromeExtension,omitempty\"`\n\tMobileAppId     string `protobuf:\"bytes,63,opt,name=mobileAppId,proto3\" json:\"mobileAppId,omitempty\"`\n\t// Vulnerability-related attributes\n\tCpe string `protobuf:\"bytes,64,opt,name=cpe,proto3\" json:\"cpe,omitempty\"`\n\tCve string `protobuf:\"bytes,65,opt,name=cve,proto3\" json:\"cve,omitempty\"`\n\t// Malware-related attributes\n\tMalware       string `protobuf:\"bytes,66,opt,name=malware,proto3\" json:\"malware,omitempty\"`\n\tMalwareFamily string `protobuf:\"bytes,67,opt,name=malwareFamily,proto3\" json:\"malwareFamily,omitempty\"`\n\tMalwareType   string `protobuf:\"bytes,68,opt,name=malwareType,proto3\" json:\"malwareType,omitempty\"`\n\t// Key-related attributes\n\tPgpPrivateKey string `protobuf:\"bytes,69,opt,name=pgpPrivateKey,proto3\" json:\"pgpPrivateKey,omitempty\"`\n\tPgpPublicKey  string `protobuf:\"bytes,70,opt,name=pgpPublicKey,proto3\" json:\"pgpPublicKey,omitempty\"`\n\t// Resources attributes\n\tConnections    uint64      `protobuf:\"varint,71,opt,name=connections,proto3\" json:\"connections,omitempty\"`\n\tUsedCpuPercent uint32      `protobuf:\"varint,72,opt,name=usedCpuPercent,proto3\" json:\"usedCpuPercent,omitempty\"`\n\tUsedMemPercent uint32      `protobuf:\"varint,73,opt,name=usedMemPercent,proto3\" json:\"usedMemPercent,omitempty\"`\n\tTotalCpuUnits  uint32      `protobuf:\"varint,74,opt,name=totalCpuUnits,proto3\" json:\"totalCpuUnits,omitempty\"`\n\tTotalMem       uint64      `protobuf:\"varint,75,opt,name=totalMem,proto3\" json:\"totalMem,omitempty\"`\n\tDisks          []*DiskInfo `protobuf:\"bytes,76,rep,name=disks,proto3\" json:\"disks,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Side) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Side.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Side) GetAuthentihash() string\n```\n\n```go\nfunc (x *Side) GetBase64() string\n```\n\n```go\nfunc (x *Side) GetBytesReceived() float64\n```\n\n```go\nfunc (x *Side) GetBytesSent() float64\n```\n\n```go\nfunc (x *Side) GetCdhash() string\n```\n\n```go\nfunc (x *Side) GetCertificateFingerprint() string\n```\n\n```go\nfunc (x *Side) GetChromeExtension() string\n```\n\n```go\nfunc (x *Side) GetCidr() string\n```\n\n```go\nfunc (x *Side) GetCommand() string\n```\n\n```go\nfunc (x *Side) GetConnections() uint64\n```\n\n```go\nfunc (x *Side) GetCookie() string\n```\n\n```go\nfunc (x *Side) GetCpe() string\n```\n\n```go\nfunc (x *Side) GetCve() string\n```\n\n```go\nfunc (x *Side) GetDisks() []*DiskInfo\n```\n\n```go\nfunc (x *Side) GetDkim() string\n```\n\n```go\nfunc (x *Side) GetDkimSignature() string\n```\n\n```go\nfunc (x *Side) GetDomain() string\n```\n\n```go\nfunc (x *Side) GetEmail() string\n```\n\n```go\nfunc (x *Side) GetEmailAddress() string\n```\n\n```go\nfunc (x *Side) GetEmailBody() string\n```\n\n```go\nfunc (x *Side) GetEmailDisplayName() string\n```\n\n```go\nfunc (x *Side) GetEmailSubject() string\n```\n\n```go\nfunc (x *Side) GetEmailThreadIndex() string\n```\n\n```go\nfunc (x *Side) GetEmailXMailer() string\n```\n\n```go\nfunc (x *Side) GetFile() string\n```\n\n```go\nfunc (x *Side) GetFilename() string\n```\n\n```go\nfunc (x *Side) GetGeolocation() *Geolocation\n```\n\n```go\nfunc (x *Side) GetGroup() string\n```\n\n```go\nfunc (x *Side) GetHash() string\n```\n\n```go\nfunc (x *Side) GetHex() string\n```\n\n```go\nfunc (x *Side) GetHost() string\n```\n\n```go\nfunc (x *Side) GetIp() string\n```\n\n```go\nfunc (x *Side) GetJa3Fingerprint() string\n```\n\n```go\nfunc (x *Side) GetJabberId() string\n```\n\n```go\nfunc (x *Side) GetJarmFingerprint() string\n```\n\n```go\nfunc (x *Side) GetMac() string\n```\n\n```go\nfunc (x *Side) GetMalware() string\n```\n\n```go\nfunc (x *Side) GetMalwareFamily() string\n```\n\n```go\nfunc (x *Side) GetMalwareType() string\n```\n\n```go\nfunc (x *Side) GetMd5() string\n```\n\n```go\nfunc (x *Side) GetMimeType() string\n```\n\n```go\nfunc (x *Side) GetMobileAppId() string\n```\n\n```go\nfunc (x *Side) GetOperatingSystem() string\n```\n\n```go\nfunc (x *Side) GetPackagesReceived() uint64\n```\n\n```go\nfunc (x *Side) GetPackagesSent() uint64\n```\n\n```go\nfunc (x *Side) GetPath() string\n```\n\n```go\nfunc (x *Side) GetPgpPrivateKey() string\n```\n\n```go\nfunc (x *Side) GetPgpPublicKey() string\n```\n\n```go\nfunc (x *Side) GetPort() uint32\n```\n\n```go\nfunc (x *Side) GetProcess() string\n```\n\n```go\nfunc (x *Side) GetProcessState() string\n```\n\n```go\nfunc (x *Side) GetSha1() string\n```\n\n```go\nfunc (x *Side) GetSha224() string\n```\n\n```go\nfunc (x *Side) GetSha256() string\n```\n\n```go\nfunc (x *Side) GetSha3224() string\n```\n\n```go\nfunc (x *Side) GetSha3256() string\n```\n\n```go\nfunc (x *Side) GetSha3384() string\n```\n\n```go\nfunc (x *Side) GetSha3512() string\n```\n\n```go\nfunc (x *Side) GetSha384() string\n```\n\n```go\nfunc (x *Side) GetSha512() string\n```\n\n```go\nfunc (x *Side) GetSha512224() string\n```\n\n```go\nfunc (x *Side) GetSha512256() string\n```\n\n```go\nfunc (x *Side) GetSizeInBytes() string\n```\n\n```go\nfunc (x *Side) GetSshBanner() string\n```\n\n```go\nfunc (x *Side) GetSshFingerprint() string\n```\n\n```go\nfunc (x *Side) GetTotalCpuUnits() uint32\n```\n\n```go\nfunc (x *Side) GetTotalMem() uint64\n```\n\n```go\nfunc (x *Side) GetUrl() string\n```\n\n```go\nfunc (x *Side) GetUsedCpuPercent() uint32\n```\n\n```go\nfunc (x *Side) GetUsedMemPercent() uint32\n```\n\n```go\nfunc (x *Side) GetUser() string\n```\n\n```go\nfunc (x *Side) GetWhoisRegistrant() string\n```\n\n```go\nfunc (x *Side) GetWhoisRegistrar() string\n```\n\n```go\nfunc (x *Side) GetWindowsScheduledTask() string\n```\n\n```go\nfunc (x *Side) GetWindowsServiceDisplayName() string\n```\n\n```go\nfunc (x *Side) GetWindowsServiceName() string\n```\n\n```go\nfunc (*Side) ProtoMessage()\n```\n\n```go\nfunc (x *Side) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Side) Reset()\n```\n\n```go\nfunc (x *Side) String() string\n```\n\n```go\ntype SocketType string\n```\n\n```go\nconst (\n\t// NotificationSocket identifies Notification plugins sockets: \u003cname\u003e_notification.sock\n\tNotificationSocket SocketType = \"notification\"\n\t// AnalysisSocket identifies Analysis plugins sockets: \u003cname\u003e_analysis.sock\n\tAnalysisSocket SocketType = \"analysis\"\n\t// CorrelationSocket identifies Correlation plugins sockets: \u003cname\u003e_correlation.sock\n\tCorrelationSocket SocketType = \"correlation\"\n)\n```\n\n```go\nfunc (t *SocketType) String() string\n```\nString returns the string representation of the SocketType.\n\n```go\ntype Step struct {\n\tKv       *Kv       `protobuf:\"bytes,1,opt,name=kv,proto3\" json:\"kv,omitempty\"`\n\tGrok     *Grok     `protobuf:\"bytes,2,opt,name=grok,proto3\" json:\"grok,omitempty\"`\n\tTrim     *Trim     `protobuf:\"bytes,3,opt,name=trim,proto3\" json:\"trim,omitempty\"`\n\tJson     *Json     `protobuf:\"bytes,4,opt,name=json,proto3\" json:\"json,omitempty\"`\n\tCsv      *Csv      `protobuf:\"bytes,5,opt,name=csv,proto3\" json:\"csv,omitempty\"`\n\tRename   *Rename   `protobuf:\"bytes,6,opt,name=rename,proto3\" json:\"rename,omitempty\"`\n\tCast     *Cast     `protobuf:\"bytes,7,opt,name=cast,proto3\" json:\"cast,omitempty\"`\n\tReformat *Reformat `protobuf:\"bytes,8,opt,name=reformat,proto3\" json:\"reformat,omitempty\"`\n\tDelete   *Delete   `protobuf:\"bytes,9,opt,name=delete,proto3\" json:\"delete,omitempty\"`\n\tDrop     *Drop     `protobuf:\"bytes,10,opt,name=drop,proto3\" json:\"drop,omitempty\"`\n\tAdd      *Add      `protobuf:\"bytes,11,opt,name=add,proto3\" json:\"add,omitempty\"`\n\tDynamic  *Dynamic  `protobuf:\"bytes,12,opt,name=dynamic,proto3\" json:\"dynamic,omitempty\"`\n\tXml      *Xml      `protobuf:\"bytes,13,opt,name=xml,proto3\" json:\"xml,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Step) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Step.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Step) GetAdd() *Add\n```\n\n```go\nfunc (x *Step) GetCast() *Cast\n```\n\n```go\nfunc (x *Step) GetCsv() *Csv\n```\n\n```go\nfunc (x *Step) GetDelete() *Delete\n```\n\n```go\nfunc (x *Step) GetDrop() *Drop\n```\n\n```go\nfunc (x *Step) GetDynamic() *Dynamic\n```\n\n```go\nfunc (x *Step) GetGrok() *Grok\n```\n\n```go\nfunc (x *Step) GetJson() *Json\n```\n\n```go\nfunc (x *Step) GetKv() *Kv\n```\n\n```go\nfunc (x *Step) GetReformat() *Reformat\n```\n\n```go\nfunc (x *Step) GetRename() *Rename\n```\n\n```go\nfunc (x *Step) GetTrim() *Trim\n```\n\n```go\nfunc (x *Step) GetXml() *Xml\n```\n\n```go\nfunc (*Step) ProtoMessage()\n```\n\n```go\nfunc (x *Step) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Step) Reset()\n```\n\n```go\nfunc (x *Step) String() string\n```\n\n```go\ntype Struct = structpb.Struct\n```\n\n```go\ntype Tenant struct {\n\tName              string   `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tId                string   `protobuf:\"bytes,2,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tAssets            []*Asset `protobuf:\"bytes,3,rep,name=assets,proto3\" json:\"assets,omitempty\"`\n\tDisabledRules     []uint64 `protobuf:\"varint,4,rep,packed,name=disabledRules,proto3\" json:\"disabledRules,omitempty\"`\n\tDisabledPipelines []string `protobuf:\"bytes,5,rep,name=disabledPipelines,proto3\" json:\"disabledPipelines,omitempty\"`\n\tPipelineOrder     []string `protobuf:\"bytes,6,rep,name=pipelineOrder,proto3\" json:\"pipelineOrder,omitempty\"`\n\tDisabledRuleNames []string `protobuf:\"bytes,7,rep,name=disabledRuleNames,proto3\" json:\"disabledRuleNames,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Tenant) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Tenant.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Tenant) GetAssets() []*Asset\n```\n\n```go\nfunc (x *Tenant) GetDisabledPipelines() []string\n```\n\n```go\nfunc (x *Tenant) GetDisabledRuleNames() []string\n```\n\n```go\nfunc (x *Tenant) GetDisabledRules() []uint64\n```\n\n```go\nfunc (x *Tenant) GetId() string\n```\n\n```go\nfunc (x *Tenant) GetName() string\n```\n\n```go\nfunc (x *Tenant) GetPipelineOrder() []string\n```\n\n```go\nfunc (*Tenant) ProtoMessage()\n```\n\n```go\nfunc (x *Tenant) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Tenant) Reset()\n```\n\n```go\nfunc (x *Tenant) String() string\n```\n\n```go\ntype Topic string\n```\nTopic represents a notification topic identifier.\n\n```go\nconst (\n\t// TopicEnqueueSuccess identifies notifications for successful event enqueuing.\n\tTopicEnqueueSuccess Topic = \"enqueue_success\"\n\t// TopicParsingDropped identifies notifications for events dropped during parsing.\n\tTopicParsingDropped Topic = \"parsing_dropped\"\n\t// TopicAnalysisDropped identifies notifications for events dropped during analysis.\n\tTopicAnalysisDropped Topic = \"analysis_dropped\"\n\t// TopicCorrelationDropped identifies notifications for events dropped during correlation.\n\tTopicCorrelationDropped Topic = \"correlation_dropped\"\n)\n```\n\n```go\ntype Transform struct {\n\tDraft *Draft `protobuf:\"bytes,1,opt,name=draft,proto3\" json:\"draft,omitempty\"`\n\tStep  *Step  `protobuf:\"bytes,2,opt,name=step,proto3\" json:\"step,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Transform) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Transform.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Transform) GetDraft() *Draft\n```\n\n```go\nfunc (x *Transform) GetStep() *Step\n```\n\n```go\nfunc (*Transform) ProtoMessage()\n```\n\n```go\nfunc (x *Transform) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Transform) Reset()\n```\n\n```go\nfunc (x *Transform) String() string\n```\n\n```go\ntype Trim struct {\n\tFunction  string   `protobuf:\"bytes,1,opt,name=function,proto3\" json:\"function,omitempty\"`\n\tSubstring string   `protobuf:\"bytes,2,opt,name=substring,proto3\" json:\"substring,omitempty\"`\n\tFields    []string `protobuf:\"bytes,3,rep,name=fields,proto3\" json:\"fields,omitempty\"`\n\tWhere     string   `protobuf:\"bytes,4,opt,name=where,proto3\" json:\"where,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Trim) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Trim.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Trim) GetFields() []string\n```\n\n```go\nfunc (x *Trim) GetFunction() string\n```\n\n```go\nfunc (x *Trim) GetSubstring() string\n```\n\n```go\nfunc (x *Trim) GetWhere() string\n```\n\n```go\nfunc (*Trim) ProtoMessage()\n```\n\n```go\nfunc (x *Trim) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Trim) Reset()\n```\n\n```go\nfunc (x *Trim) String() string\n```\n\n```go\ntype UnimplementedAnalysisServer struct{}\n```\nUnimplementedAnalysisServer must be embedded to have forward compatible implementations.\n\nNOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.\n\n```go\nfunc (UnimplementedAnalysisServer) Analyze(*Event, grpc.ServerStreamingServer[Alert]) error\n```\n\n```go\ntype UnimplementedCorrelationServer struct{}\n```\nUnimplementedCorrelationServer must be embedded to have forward compatible implementations.\n\nNOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.\n\n```go\nfunc (UnimplementedCorrelationServer) Correlate(context.Context, *Alert) (*emptypb.Empty, error)\n```\n\n```go\ntype UnimplementedEngineServer struct{}\n```\nUnimplementedEngineServer must be embedded to have forward compatible implementations.\n\nNOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.\n\n```go\nfunc (UnimplementedEngineServer) Input(grpc.BidiStreamingServer[Log, Ack]) error\n```\n\n```go\nfunc (UnimplementedEngineServer) Notify(grpc.BidiStreamingServer[Message, Ack]) error\n```\n\n```go\ntype UnimplementedIntegrationServer struct{}\n```\nUnimplementedIntegrationServer must be embedded to have forward compatible implementations.\n\nNOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.\n\n```go\nfunc (UnimplementedIntegrationServer) ProcessLog(grpc.BidiStreamingServer[Log, Ack]) error\n```\n\n```go\ntype UnimplementedNotificationServer struct{}\n```\nUnimplementedNotificationServer must be embedded to have forward compatible implementations.\n\nNOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.\n\n```go\nfunc (UnimplementedNotificationServer) Notify(context.Context, *Message) (*emptypb.Empty, error)\n```\n\n```go\ntype UnimplementedOutputServer struct{}\n```\nUnimplementedOutputServer must be embedded to have forward compatible implementations.\n\nNOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.\n\n```go\nfunc (UnimplementedOutputServer) AlertOutput(context.Context, *Alert) (*emptypb.Empty, error)\n```\n\n```go\nfunc (UnimplementedOutputServer) EventOutput(context.Context, *Event) (*emptypb.Empty, error)\n```\n\n```go\ntype UnimplementedParsingServer struct{}\n```\nUnimplementedParsingServer must be embedded to have forward compatible implementations.\n\nNOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.\n\n```go\nfunc (UnimplementedParsingServer) ParseLog(context.Context, *Transform) (*Draft, error)\n```\n\n```go\ntype UnsafeAnalysisServer interface {\n\t// contains filtered or unexported methods\n}\n```\nUnsafeAnalysisServer 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.\n\n```go\ntype UnsafeCorrelationServer interface {\n\t// contains filtered or unexported methods\n}\n```\nUnsafeCorrelationServer 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.\n\n```go\ntype UnsafeEngineServer interface {\n\t// contains filtered or unexported methods\n}\n```\nUnsafeEngineServer 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.\n\n```go\ntype UnsafeIntegrationServer interface {\n\t// contains filtered or unexported methods\n}\n```\nUnsafeIntegrationServer 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.\n\n```go\ntype UnsafeNotificationServer interface {\n\t// contains filtered or unexported methods\n}\n```\nUnsafeNotificationServer 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.\n\n```go\ntype UnsafeOutputServer interface {\n\t// contains filtered or unexported methods\n}\n```\nUnsafeOutputServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OutputServer will result in compilation errors.\n\n```go\ntype UnsafeParsingServer interface {\n\t// contains filtered or unexported methods\n}\n```\nUnsafeParsingServer 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.\n\n```go\ntype Value = structpb.Value\n```\n\n```go\ntype Value_BoolValue = structpb.Value_BoolValue\n```\n\n```go\ntype Value_ListValue = structpb.Value_ListValue\n```\n\n```go\ntype Value_NullValue = structpb.Value_NullValue\n```\n\n```go\ntype Value_NumberValue = structpb.Value_NumberValue\n```\n\n```go\ntype Value_StringValue = structpb.Value_StringValue\n```\n\n```go\ntype Value_StructValue = structpb.Value_StructValue\n```\n\n```go\ntype Variable struct {\n\tGet    string `protobuf:\"bytes,1,opt,name=get,proto3\" json:\"get,omitempty\"`\n\tAs     string `protobuf:\"bytes,2,opt,name=as,proto3\" json:\"as,omitempty\"`\n\tOfType string `protobuf:\"bytes,3,opt,name=ofType,proto3\" json:\"ofType,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Variable) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Variable.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Variable) GetAs() string\n```\n\n```go\nfunc (x *Variable) GetGet() string\n```\n\n```go\nfunc (x *Variable) GetOfType() string\n```\n\n```go\nfunc (*Variable) ProtoMessage()\n```\n\n```go\nfunc (x *Variable) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Variable) Reset()\n```\n\n```go\nfunc (x *Variable) String() string\n```\n\n```go\ntype Xml struct {\n\tSource string `protobuf:\"bytes,1,opt,name=source,proto3\" json:\"source,omitempty\"`\n\tWhere  string `protobuf:\"bytes,2,opt,name=where,proto3\" json:\"where,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Xml) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Xml.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Xml) GetSource() string\n```\n\n```go\nfunc (x *Xml) GetWhere() string\n```\n\n```go\nfunc (*Xml) ProtoMessage()\n```\n\n```go\nfunc (x *Xml) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Xml) Reset()\n```\n\n```go\nfunc (x *Xml) String() string\n```\n\n","path":"github.com/utmstack/go-sdk/v2/plugins","name":"plugins","synopsis":"","isRedistributable":true}
