recorder

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 6 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 BpfRecorder

type BpfRecorder struct {
	BpfEventCh chan varmortypes.BpfTraceEvent
	// contains filtered or unexported fields
}

func NewBpfRecorder

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

func (*BpfRecorder) CleanUp

func (r *BpfRecorder) CleanUp()

func (*BpfRecorder) Close

func (r *BpfRecorder) Close()

func (*BpfRecorder) Init

func (r *BpfRecorder) Init() error

Init create the record file to save AppArmor audit event

func (*BpfRecorder) Run

func (r *BpfRecorder) Run()

Jump to

Keyboard shortcuts

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