recorder

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditRecorder

type AuditRecorder struct {
	AuditEventCh chan string
	// contains filtered or unexported fields
}

func NewAuditRecorder

func NewAuditRecorder(profileName string, stopCh <-chan struct{}, debug bool, log logr.Logger) *AuditRecorder

func (*AuditRecorder) CleanUp

func (r *AuditRecorder) CleanUp()

func (*AuditRecorder) Close

func (r *AuditRecorder) Close()

func (*AuditRecorder) Init

func (r *AuditRecorder) Init() error

Init create the record file to save AppArmor audit event

func (*AuditRecorder) Run

func (r *AuditRecorder) Run()

type ProcessRecorder added in v0.6.0

type ProcessRecorder struct {
	ProcessEventCh chan varmortracer.BpfProcessEvent
	// contains filtered or unexported fields
}

func NewProcessRecorder added in v0.6.0

func NewProcessRecorder(profileName string, stopCh <-chan struct{}, debug bool, log logr.Logger) *ProcessRecorder

func (*ProcessRecorder) CleanUp added in v0.6.0

func (r *ProcessRecorder) CleanUp()

func (*ProcessRecorder) Close added in v0.6.0

func (r *ProcessRecorder) Close()

func (*ProcessRecorder) Init added in v0.6.0

func (r *ProcessRecorder) Init() error

Init create the record file to save the process creation events

func (*ProcessRecorder) Run added in v0.6.0

func (r *ProcessRecorder) Run()

Jump to

Keyboard shortcuts

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