Skip to content

Commit 5f8c092

Browse files
authored
[CWS-5648] disable sysctl events and snapshot when only PEDS is enabled (#44252)
### What does this PR do? When running in PEDS mode, we should disable sysctl events. This PR does exactly that. ### Motivation ### Describe how you validated your changes ### Additional Notes Co-authored-by: paul.cacheux <[email protected]>
1 parent 0d01ac5 commit 5f8c092

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/security/module/cws_linux.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ func DisableRuntimeSecurity(config *config.Config) {
2424
config.Probe.NetworkEnabled = false
2525
config.RuntimeSecurity.ActivityDumpEnabled = false
2626
config.RuntimeSecurity.SecurityProfileEnabled = false
27+
config.RuntimeSecurity.SysCtlEnabled = false
2728
}
2829

2930
// platform specific init function

0 commit comments

Comments
 (0)