behavior

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package behavior is used to process the behavior data of targets

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BehaviorModeller

type BehaviorModeller struct {
	TaskStartCh chan varmortypes.ContainerInfo

	ModellerStopCh chan bool
	// contains filtered or unexported fields
}

func NewBehaviorModeller

func NewBehaviorModeller(
	auditor *varmorauditor.Auditor,
	ptracer *varmorptracer.ProcessTracer,
	monitor *varmormonitor.RuntimeMonitor,
	nodeName string,
	namespace string,
	name string,
	enforcer string,
	startTime time.Time,
	duration time.Duration,
	stopCh <-chan struct{},
	svcAddresses map[string]string,
	debug bool,
	inContainer bool,
	log logr.Logger) *BehaviorModeller

func (*BehaviorModeller) IsModeling

func (modeller *BehaviorModeller) IsModeling() bool

func (*BehaviorModeller) PreprocessAndSendBehaviorData

func (modeller *BehaviorModeller) PreprocessAndSendBehaviorData()

func (*BehaviorModeller) Run

func (modeller *BehaviorModeller) Run()

func (*BehaviorModeller) UpdateDuration

func (modeller *BehaviorModeller) UpdateDuration(duration time.Duration)

Directories

Path Synopsis
Package preprocessor processes the audit events of AppArmor and Seccomp
Package preprocessor processes the audit events of AppArmor and Seccomp
Package recorder records the events of AppArmor and Seccomp, and the events from processtracer
Package recorder records the events of AppArmor and Seccomp, and the events from processtracer

Jump to

Keyboard shortcuts

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