From d9034623ab75e101a67af46c828ff0021efc53be Mon Sep 17 00:00:00 2001 From: gui774ume Date: Thu, 21 Dec 2023 15:03:30 +0100 Subject: [PATCH] [CWS] Fix anomaly detection configuration parameter --- pkg/security/config/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/security/config/config.go b/pkg/security/config/config.go index 3a723c84a1ad7..4f0fc18413ab4 100644 --- a/pkg/security/config/config.go +++ b/pkg/security/config/config.go @@ -336,6 +336,7 @@ func NewRuntimeSecurityConfig() (*RuntimeSecurityConfig, error) { AnomalyDetectionRateLimiterNumEventsAllowed: coreconfig.SystemProbe.GetInt("runtime_security_config.security_profile.anomaly_detection.rate_limiter.num_events_allowed"), AnomalyDetectionTagRulesEnabled: coreconfig.SystemProbe.GetBool("runtime_security_config.security_profile.anomaly_detection.tag_rules.enabled"), AnomalyDetectionSilentRuleEventsEnabled: coreconfig.SystemProbe.GetBool("runtime_security_config.security_profile.anomaly_detection.silent_rule_events.enabled"), + AnomalyDetectionEnabled: coreconfig.SystemProbe.GetBool("runtime_security_config.security_profile.anomaly_detection.enabled"), // User Sessions UserSessionsCacheSize: coreconfig.SystemProbe.GetInt("runtime_security_config.user_sessions.cache_size"),