correlation

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WindowManager

type WindowManager struct {
	// contains filtered or unexported fields
}

WindowManager manages correlation windows

func NewWindowManager

func NewWindowManager(db *state.DB, maxEvents int, gcInterval time.Duration) *WindowManager

NewWindowManager creates a new correlation window manager

func (*WindowManager) Process

func (wm *WindowManager) Process(msg *santapb.SantaMessage, correlationRules []*rules.CompiledCorrelation) ([]*WindowMatch, error)

Process evaluates an event against correlation rules.

type WindowMatch

type WindowMatch struct {
	RuleID      string
	Title       string
	Severity    string
	Tags        []string
	Description string
	Count       int
	Events      []map[string]any
	GroupKey    string
	Rule        *rules.CorrelationRule // Keep reference to rule for signal generation
}

WindowMatch represents a correlation window that exceeded threshold

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL