Eunomia
0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
|
Go to the documentation of this file.
7 #ifndef EUNOMIA_CONFIG_H
8 #define EUNOMIA_CONFIG_H
34 std::vector<std::string>
args;
42 std::vector<std::string>
args;
78 {
"process", {}, {} },
80 {
"tcpconnect", {}, {} },
103 std::string
fmt =
"plain_text";
std::string rule_name
Definition: config.h:50
bool enable_sec_rule_detect
enable sec rule analyzer and detect
Definition: config.h:115
std::string name
Definition: config.h:33
int exit_after
auto exit mode
Definition: config.h:93
std::vector< std::string > args
Definition: config.h:34
std::string trigger
Definition: config.h:19
std::string name
Definition: config.h:40
static eunomia_config_data from_json_file(const std::string &file_path)
parse config from json files
Definition: config.cpp:90
std::vector< std::string > allow_syscall
the syscalls name which is allowed
Definition: config.h:63
std::string rule_name
Definition: config.h:17
std::vector< tracker_config_data > enabled_trackers
config for all enabled tracker
Definition: config.h:77
std::string tracing_selected
tracing config
Definition: config.h:88
static eunomia_config_data from_toml_file(const std::string &file_path)
parse config from toml files
Definition: config.cpp:71
static seccomp_config_data from_json_str(const std::string &json_str)
static tracker_config_data from_json_str(const std::string &json_str)
Definition: config.cpp:98
std::string run_selected
global run mode
Definition: config.h:74
std::string type
Definition: config.h:18
std::vector< std::string > allow_syscall
the syscalls name which is allowed
Definition: config.h:27
int server_port
eunomia_http_server_port
Definition: config.h:135
bool disable_other_configs
use the config data from enabled_trackers,
Definition: config.h:85
std::vector< std::string > args
Definition: config.h:42
security rule config
Definition: config.h:48
std::string container_id
Definition: config.h:61
std::vector< handler_config_data > export_handlers
Definition: config.h:41
std::string trigger
Definition: config.h:52
std::string prometheus_listening_address
Definition: config.h:112
bool enable_container_manager
enable container tracing
Definition: config.h:109
std::string type
Definition: config.h:51
std::string err_msg
Definition: config.h:20
config for eunomia
Definition: config.h:71
void load_config_options_to_trackers()
load config options to enable_trackers
Definition: config.cpp:134
seccomp config
Definition: config.h:24
handler config data
Definition: config.h:31
std::string fmt
export format
Definition: config.h:103
static rule_config_data from_json_str(const std::string &json_str)
Definition: config.cpp:112
std::string err_msg
Definition: config.h:53
std::vector< seccomp_config_data > seccomp_data
seccomp enabled syscalls
Definition: config.h:122
std::set< std::string > enabled_export_types
export config
Definition: config.h:98
std::vector< rule_config_data > security_rules
security rule config
Definition: config.h:119
std::string tracing_target_id
tracing targets
Definition: config.h:90
sec rules config
Definition: config.h:15
tracker config data
Definition: config.h:38
seccomp config data
Definition: config.h:59
bool enable_seccomp_module
run container under seccomp
Definition: config.h:124