Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { WorkerCount int EventEnrichers []EventEnricher }
type ContainerForCgroupGetter ¶
type ContainerForCgroupGetter func(cgroup uint64) (*containers.Container, bool, error)
type EnrichRequest ¶
type EnrichRequest struct { Event *castpb.Event EventContext *types.EventContext Args types.Args Container *containers.Container }
type EventEnricher ¶
type EventEnricher interface { // Enrich will add additional data to the provided Event. Enrich(context.Context, *EnrichRequest) // EventsTypes returns a slice of event types, this enricher reacts to. EventTypes() []castpb.EventType }
func EnrichWithFileHash ¶
func EnrichWithFileHash(log *logging.Logger, mountNamespacePIDStore *types.PIDsPerNamespace, procFS proc.ProcFS) EventEnricher
type PIDsInNamespaceGetter ¶
Click to show internal directories.
Click to hide internal directories.