action

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 32 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMatchedCondition = errors.New("matched exit criteria")
)

Functions

func CachedRules added in v1.5.0

func CachedRules(ctx context.Context, fss []fs.FS) (*yara.Rules, error)

func Scan

Scan YARA scans a data source, applying output filters if necessary.

Types

type ProcessInfo added in v1.2.0

type ProcessInfo struct {
	PID            int32
	PPID           int32
	Name           string
	ScanPath       string
	AdvertisedPath string
	CmdLine        []string
}

func ActiveProcesses added in v1.2.0

func ActiveProcesses(ctx context.Context) ([]*ProcessInfo, error)

ActiveProcesses is an exported function that a list of active processes.

Jump to

Keyboard shortcuts

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