converter

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: EUPL-1.2 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Converter

type Converter interface {
	Convert(e *event.Event) []*sigma.Rule
}

func New

func New(l zerolog.Logger) Converter

type EventScope added in v1.1.0

type EventScope struct {
	Search     search.Search
	Detections []sigma.Detection
}

type Mapping added in v1.1.0

type Mapping struct {
	// A search is propagated to the parent
	Search search.Search
	// Selections are kept as independent but the condition is then propagated to the parent
	Selections search.Selections
}

Mapping represents the different possible field.Field mappings.

type ObjectScope added in v1.1.0

type ObjectScope struct {
	Search    search.Search
	Detection sigma.Detection
}

Jump to

Keyboard shortcuts

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