diff --git a/pkg/engine/ahocorasickcore_test.go b/pkg/engine/ahocorasickcore_test.go index 3bf56a754de5..e9743fef0659 100644 --- a/pkg/engine/ahocorasickcore_test.go +++ b/pkg/engine/ahocorasickcore_test.go @@ -20,6 +20,10 @@ func (d testDetectorV1) FromData(ctx context.Context, verify bool, data []byte) return make([]detectors.Result, 0), nil } +func (d testDetectorV1) Info() detectors.Info { + return detectors.Info{} +} + func (d testDetectorV1) Keywords() []string { return []string{"a", "b"} } @@ -39,6 +43,10 @@ func (d testDetectorV2) FromData(ctx context.Context, verify bool, data []byte) return make([]detectors.Result, 0), nil } +func (d testDetectorV2) Info() detectors.Info { + return detectors.Info{} +} + func (d testDetectorV2) Keywords() []string { return []string{"a"} }