preprocessor

package
v0.7.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AaLogRecord added in v0.7.0

type AaLogRecord struct {
	Resource      string
	ActiveHat     string
	AaMode        string
	Time          int64
	Operation     string
	Profile       string
	Name          string
	Name2         string
	Attr          string
	Parent        uint64
	Pid           uint64
	Task          uint64
	Info          string
	ErrorCode     int32
	DeniedMask    string
	RequestedMask string
	MagicToken    uint64
	Family        string
	Protocol      string
	SockType      string
	Fsuid         uint64
	Ouid          uint64
	Signal        string
	Peer          string
	PeerProfile   string
	Bus           string
	Path          string
	Interface     string
	Member        string
}

type DataPreprocessor

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

func NewDataPreprocessor

func NewDataPreprocessor(
	nodeName string,
	namespace string,
	directory string,
	name string,
	enforcer string,
	targetPIDs map[uint32]struct{},
	targetMnts map[uint32]struct{},
	mlIP string,
	mlPort int,
	debug bool,
	inContainer bool,
	log logr.Logger) *DataPreprocessor

func (*DataPreprocessor) Process

func (p *DataPreprocessor) Process() []byte

Preprocess the audit records with the pid list of target container

Jump to

Keyboard shortcuts

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