Documentation ¶
Index ¶
- func Dial() (*grpc.ClientConn, context.CancelFunc, error)
- type Enricher
- func (e *Enricher) Avcs(ctx context.Context, r *api.AvcRequest) (*api.AvcResponse, error)
- func (e *Enricher) ResetAvcs(ctx context.Context, r *api.AvcRequest) (*api.EmptyResponse, error)
- func (e *Enricher) ResetSyscalls(ctx context.Context, r *api.SyscallsRequest) (*api.EmptyResponse, error)
- func (e *Enricher) Run() error
- func (e *Enricher) Syscalls(ctx context.Context, r *api.SyscallsRequest) (*api.SyscallsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶ added in v0.4.0
func Dial() (*grpc.ClientConn, context.CancelFunc, error)
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 (*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
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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.