mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-07 11:49:07 +00:00
chore(test,userspace/falco): fixed tests after libs bump.
Moreover, try to create grpc socket folder path only if grpc is actually enabled. Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
parent
ec7ddbbaf8
commit
e68151eb07
@ -724,7 +724,7 @@ trace_files: !mux
|
|||||||
- "Write below etc": 1
|
- "Write below etc": 1
|
||||||
- "System procs network activity": 1
|
- "System procs network activity": 1
|
||||||
- "Mkdir binary dirs": 1
|
- "Mkdir binary dirs": 1
|
||||||
- "System user interactive": 1
|
- "System user interactive": 0
|
||||||
- "DB program spawned process": 1
|
- "DB program spawned process": 1
|
||||||
- "Non sudo setuid": 1
|
- "Non sudo setuid": 1
|
||||||
- "Create files below dev": 1
|
- "Create files below dev": 1
|
||||||
|
@ -67,7 +67,7 @@ application::run_result application::create_requested_paths()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!m_state->config->m_grpc_bind_address.empty())
|
if (m_state->config->m_grpc_enabled && !m_state->config->m_grpc_bind_address.empty())
|
||||||
{
|
{
|
||||||
if(falco::utils::network::is_unix_scheme(m_state->config->m_grpc_bind_address))
|
if(falco::utils::network::is_unix_scheme(m_state->config->m_grpc_bind_address))
|
||||||
{
|
{
|
||||||
@ -108,4 +108,4 @@ int application::create_dir(const std::string &path)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user