mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-28 15:47:25 +00:00
new(falco): do not alert on syscall frequency when gvisor is enabled
Signed-off-by: Luca Guerra <luca@guerra.sh>
This commit is contained in:
parent
927c1c4126
commit
0ba492c280
@ -101,7 +101,8 @@ application::run_result application::do_inspect(syscall_evt_drop_mgr &sdropmgr,
|
|||||||
{
|
{
|
||||||
timeouts_since_last_success_or_msg++;
|
timeouts_since_last_success_or_msg++;
|
||||||
if(timeouts_since_last_success_or_msg > m_state->config->m_syscall_evt_timeout_max_consecutives
|
if(timeouts_since_last_success_or_msg > m_state->config->m_syscall_evt_timeout_max_consecutives
|
||||||
&& is_syscall_source_enabled())
|
&& is_syscall_source_enabled()
|
||||||
|
&& !is_gvisor_enabled())
|
||||||
{
|
{
|
||||||
std::string rule = "Falco internal: timeouts notification";
|
std::string rule = "Falco internal: timeouts notification";
|
||||||
std::string msg = rule + ". " + std::to_string(m_state->config->m_syscall_evt_timeout_max_consecutives) + " consecutive timeouts without event.";
|
std::string msg = rule + ". " + std::to_string(m_state->config->m_syscall_evt_timeout_max_consecutives) + " consecutive timeouts without event.";
|
||||||
|
Loading…
Reference in New Issue
Block a user