Versions in this module Expand all Collapse all v0 v0.0.1 Mar 17, 2024 Changes in this version + const ALL_EVENT_ORIGINS + const ALL_EVENT_TYPES + const EVENT_CONTAINER_ORIGIN + const EVENT_HOST_ORIGIN + type Config struct + DataSources []detect.DataSource + Enabled bool + ShouldDispatchEvent func(eventIdInt32 int32) bool + SigNameToEventID map[string]int32 + SignatureBufferSize uint + Signatures []detect.Signature + type Engine struct + func NewEngine(config Config, sources EventSources, output chan *detect.Finding) (*Engine, error) + func (engine *Engine) GetDataSource(namespace string, id string) (detect.DataSource, bool) + func (engine *Engine) GetSelectedEvents() []detect.SignatureEventSelector + func (engine *Engine) Init() error + func (engine *Engine) LoadSignature(signature detect.Signature) (string, error) + func (engine *Engine) RegisterDataSource(dataSource detect.DataSource) error + func (engine *Engine) Start(ctx context.Context) + func (engine *Engine) Stats() *metrics.Stats + func (engine *Engine) UnloadSignature(signatureId string) error + type EventSources struct + Tracee chan protocol.Event