From b403c11e9f9ac1cec418bb2d046581d2a671c2c4 Mon Sep 17 00:00:00 2001 From: YoannGh Date: Fri, 11 Oct 2024 13:44:06 +0200 Subject: [PATCH] fix MacOS build --- pkg/security/probe/probe_others.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/security/probe/probe_others.go b/pkg/security/probe/probe_others.go index 5e12a021aa871..6112ab5b188c5 100644 --- a/pkg/security/probe/probe_others.go +++ b/pkg/security/probe/probe_others.go @@ -67,6 +67,10 @@ func (p *Probe) ApplyRuleSet(_ *rules.RuleSet) (*kfilters.ApplyRuleSetReport, er return nil, nil } +// OnNewRuleSetLoaded resets statistics and states once a new rule set is loaded +func (p *Probe) OnNewRuleSetLoaded(_ *rules.RuleSet) { +} + // OnNewDiscarder is called when a new discarder is found. We currently don't generate discarders on Windows. func (p *Probe) OnNewDiscarder(_ *rules.RuleSet, _ *model.Event, _ eval.Field, _ eval.EventType) { }