enricher

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial added in v0.4.0

Dial can be used to connect to the default GRPC server by creating a new client.

Types

type Enricher added in v0.4.0

type Enricher struct {
	apienricher.UnimplementedEnricherServer
	// contains filtered or unexported fields
}

Enricher is the main structure of this package.

func New added in v0.4.0

func New(logger logr.Logger, labelDenials bool, impls ...impl) (*Enricher, error)

New returns a new Enricher instance.

func (*Enricher) Avcs added in v0.4.0

func (e *Enricher) Avcs(
	ctx context.Context, r *api.AvcRequest,
) (*api.AvcResponse, error)

Avcs returns the AVC messages for a provided profile.

func (*Enricher) ResetAvcs added in v0.4.0

func (e *Enricher) ResetAvcs(
	ctx context.Context, r *api.AvcRequest,
) (*api.EmptyResponse, error)

ResetAvcs removes the avcs for a provided profile.

func (*Enricher) ResetSyscalls added in v0.4.0

func (e *Enricher) ResetSyscalls(
	ctx context.Context, r *api.SyscallsRequest,
) (*api.EmptyResponse, error)

ResetSyscalls removes the syscalls for a provided profile.

func (*Enricher) Run added in v0.4.0

func (e *Enricher) Run() error

Run the log-enricher to scrap audit logs and enrich them with Kubernetes data (namespace, pod and container).

func (*Enricher) Syscalls added in v0.4.0

func (e *Enricher) Syscalls(
	ctx context.Context, r *api.SyscallsRequest,
) (*api.SyscallsResponse, error)

Syscalls returns the syscalls for a provided profile.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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