mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-29 08:07:24 +00:00
Remove priority_level from yaml file
It is not currently used for anything, will revert when that time comes.
This commit is contained in:
parent
f2e9504bb1
commit
8ad7679f7f
@ -1,10 +1,5 @@
|
||||
rules_file: /etc/digwatch_rules.conf
|
||||
|
||||
# Priority level
|
||||
# Any rule with priority lower than this level will be discarded
|
||||
# WARNING currently has no effect!
|
||||
priority_level: warning
|
||||
|
||||
syslog_output:
|
||||
enabled: false
|
||||
|
||||
|
@ -19,7 +19,6 @@ void digwatch_configuration::init(string conf_filename)
|
||||
m_config = new yaml_configuration(m_config_file);
|
||||
|
||||
m_rules_filename = m_config->get_scalar<string>("rules_file", "/etc/digwatch_rules.conf");
|
||||
m_priority_level = m_config->get_scalar<string>("priority_level", "warning");
|
||||
|
||||
output_config file_output;
|
||||
file_output.name = "file";
|
||||
|
@ -95,7 +95,6 @@ class digwatch_configuration
|
||||
void init(std::string conf_filename);
|
||||
void init();
|
||||
std::string m_rules_filename;
|
||||
std::string m_priority_level;
|
||||
std::vector<output_config> m_outputs;
|
||||
private:
|
||||
yaml_configuration* m_config;
|
||||
|
Loading…
Reference in New Issue
Block a user