github.com/DataDog/datadog-agent/pkg/security/secl@v0.55.0-devel.0.20240517055856-10c4965fea94/rules/collected_events_regular.go (about) 1 // Unless explicitly stated otherwise all files in this repository are licensed 2 // under the Apache License Version 2.0. 3 // This product includes software developed at Datadog (https://www.datadoghq.com/). 4 // Copyright 2016-present Datadog, Inc. 5 6 //go:build !functionaltests 7 8 // Package rules holds rules related files 9 package rules 10 11 import "github.com/DataDog/datadog-agent/pkg/security/secl/compiler/eval" 12 13 // EventCollector defines an event collector 14 type EventCollector struct { 15 } 16 17 // CollectEvent collects event 18 func (ec *EventCollector) CollectEvent(_ *RuleSet, _ eval.Event, _ bool) { 19 // no-op 20 } 21 22 // Stop stops the event collector 23 func (ec *EventCollector) Stop() []CollectedEvent { 24 return nil 25 }