mirror of
https://github.com/falcosecurity/falco.git
synced 2026-01-30 06:00:00 +00:00
update: grpc server disabled by default
Co-authored-by: Lorenzo Fontana <lo@linux.com> Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
committed by
Leo Di Donato
parent
6800fe2ec6
commit
f7c19517de
@@ -169,7 +169,7 @@ http_output:
|
||||
url: http://some.url
|
||||
|
||||
grpc:
|
||||
enabled: true
|
||||
enabled: false
|
||||
bind_address: "0.0.0.0:5060"
|
||||
threadiness: 8
|
||||
private_key: ""
|
||||
|
||||
@@ -159,9 +159,8 @@ void falco_configuration::init(string conf_filename, list<string> &cmdline_optio
|
||||
falco_outputs::output_config grpc_output;
|
||||
grpc_output.name = "grpc";
|
||||
// gRPC output is enabled only if gRPC server is enabled too
|
||||
if(m_config->get_scalar<bool>("grpc_output", "enabled", false) && m_grpc_enabled)
|
||||
if(m_config->get_scalar<bool>("grpc_output", "enabled", true) && m_grpc_enabled)
|
||||
{
|
||||
// todo >
|
||||
m_outputs.push_back(grpc_output);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user