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 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 ¶
type SensitiveValueRedactor ¶ added in v1.9.0
type SensitiveValueRedactor struct {
// contains filtered or unexported fields
}
func NewSensitiveValueRedactor ¶ added in v1.9.0
func NewSensitiveValueRedactor(sensitiveValueRegex *regexp.Regexp) *SensitiveValueRedactor
NewSensitiveValueRedactor creates a new SensitiveValueRedactor.
func (*SensitiveValueRedactor) Enrich ¶ added in v1.9.0
func (r *SensitiveValueRedactor) Enrich(ctx context.Context, req *EnrichRequest)
Enrich will add additional data to the provided Event.
func (*SensitiveValueRedactor) EventTypes ¶ added in v1.9.0
func (r *SensitiveValueRedactor) EventTypes() []castpb.EventType
EventsTypes returns a slice of event types, this enricher reacts to.
Click to show internal directories.
Click to hide internal directories.