From 4faeb7f825c175ac96600c1ba0b58085b2765bd0 Mon Sep 17 00:00:00 2001 From: Eswar Rajan <89014588+seswarrajan@users.noreply.github.com> Date: Thu, 7 Apr 2022 10:26:40 +0530 Subject: [PATCH] KubeArmor fails to send alerts/logs for Host on specific scenario (#664) Signed-off-by: Eswar Rajan Subramanian --- KubeArmor/monitor/systemMonitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KubeArmor/monitor/systemMonitor.go b/KubeArmor/monitor/systemMonitor.go index 4ef63c9376..34988aad84 100644 --- a/KubeArmor/monitor/systemMonitor.go +++ b/KubeArmor/monitor/systemMonitor.go @@ -834,7 +834,7 @@ func (mon *SystemMonitor) TraceHostSyscall() { // push the context to the channel for logging mon.HostContextChan <- ContextCombined{ContainerID: "", ContextSys: ctx, ContextArgs: args} - case <-mon.SyscallLostChannel: + case <-mon.HostSyscallLostChannel: continue } }