recorder

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: 9 Imported by: 0

Documentation

Overview

Package recorder records the events of AppArmor and Seccomp, and the events from processtracer

Package recorder records the events of AppArmor, Seccomp, BPF profiles and process creation events.

Package recorder records the events of AppArmor, BPF and Seccomp from the auditor, and the events from processtracer

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
}

AuditRecorder saves security audit events of an AppArmor & Seccomp profile into a local file.

func NewAuditRecorder

func NewAuditRecorder(directory string, 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 creates the record file to save the AppArmor and Seccomp audit event from the auditor

func (*AuditRecorder) Run

func (r *AuditRecorder) Run()

type BpfRecorder

type BpfRecorder struct {
	BpfEventCh chan varmorauditor.BpfEvent
	// contains filtered or unexported fields
}

BpfRecorder caches security audit events of a BPF profile into a local file.

func NewBpfRecorder

func NewBpfRecorder(directory string, 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 the process creation events for the Seccomp enforcer

func (*BpfRecorder) Run

func (r *BpfRecorder) Run()

type ProcessRecorder added in v0.6.0

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

ProcessRecorder caches process creation events into a local file from the processtracer

func NewProcessRecorder added in v0.6.0

func NewProcessRecorder(directory string, 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 creates the record file to save the process creation events for the Seccomp enforcer

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