scriptfilter

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	config.InternalConfig

	Command       string          `toml:"command"`
	Timeout       config.Duration `toml:"timeout"`
	FilterInclude []string        `toml:"filter_include"`
	FilterExclude []string        `toml:"filter_exclude"`
	MaxLines      int             `toml:"max_lines"`
	Match         MatchCheck      `toml:"match"`
	// contains filtered or unexported fields
}

func (*Instance) Gather

func (ins *Instance) Gather(q *safe.Queue[*types.Event])

func (*Instance) Init

func (ins *Instance) Init() error

type MatchCheck

type MatchCheck struct {
	Severity string `toml:"severity"`
}

type SFilterPlugin

type SFilterPlugin struct {
	config.InternalConfig
	Instances []*Instance `toml:"instances"`
}

func (*SFilterPlugin) GetInstances

func (p *SFilterPlugin) GetInstances() []plugins.Instance

Jump to

Keyboard shortcuts

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