Merge pull request #155 from kravietz/active_response
Enable active-response section
This commit is contained in:
commit
812eecb3ab
@ -223,7 +223,7 @@ wazuh_agent_config:
|
|||||||
log_path_win: 'C:\ProgramData\osquery\log\osqueryd.results.log'
|
log_path_win: 'C:\ProgramData\osquery\log\osqueryd.results.log'
|
||||||
config_path: '/etc/osquery/osquery.conf'
|
config_path: '/etc/osquery/osquery.conf'
|
||||||
config_path_win: 'C:\ProgramData\osquery\osquery.conf'
|
config_path_win: 'C:\ProgramData\osquery\osquery.conf'
|
||||||
ad_labels: 'yes'
|
add_labels: 'yes'
|
||||||
syscollector:
|
syscollector:
|
||||||
disable: 'no'
|
disable: 'no'
|
||||||
interval: '1h'
|
interval: '1h'
|
||||||
|
|||||||
@ -304,12 +304,6 @@
|
|||||||
</command>
|
</command>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<!--
|
|
||||||
<active-response>
|
|
||||||
active-response options here
|
|
||||||
</active-response>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<ruleset>
|
<ruleset>
|
||||||
<!-- Default ruleset -->
|
<!-- Default ruleset -->
|
||||||
<decoder_dir>ruleset/decoders</decoder_dir>
|
<decoder_dir>ruleset/decoders</decoder_dir>
|
||||||
@ -394,7 +388,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
<!-- Active Response Config
|
|
||||||
{% if wazuh_manager_config.active_responses is defined %}
|
{% if wazuh_manager_config.active_responses is defined %}
|
||||||
{% for response in wazuh_manager_config.active_responses %}
|
{% for response in wazuh_manager_config.active_responses %}
|
||||||
<active-response>
|
<active-response>
|
||||||
@ -410,7 +404,6 @@
|
|||||||
</active-response>
|
</active-response>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Files to monitor (localfiles) -->
|
<!-- Files to monitor (localfiles) -->
|
||||||
{% for localfile in wazuh_manager_config.localfiles.common %}
|
{% for localfile in wazuh_manager_config.localfiles.common %}
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
{% if wazuh_agent_configs is defined %}
|
{% if wazuh_agent_configs is defined %}
|
||||||
{% for agent_config in wazuh_agent_configs %}
|
{% for agent_config in wazuh_agent_configs %}
|
||||||
<agent_config {{ agent_config.type }}="{{ agent_config.type_value }}">
|
<agent_config {{ agent_config.type }}="{{ agent_config.type_value }}">
|
||||||
|
{% if agent_config.syscheck is defined %}
|
||||||
<syscheck>
|
<syscheck>
|
||||||
<auto_ignore>{{ agent_config.syscheck.auto_ignore }}</auto_ignore>
|
<auto_ignore>{{ agent_config.syscheck.auto_ignore }}</auto_ignore>
|
||||||
<alert_new_files>{{ agent_config.syscheck.alert_new_files }}</alert_new_files>
|
<alert_new_files>{{ agent_config.syscheck.alert_new_files }}</alert_new_files>
|
||||||
@ -40,6 +41,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</syscheck>
|
</syscheck>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% for localfile in agent_config.localfiles %}
|
{% for localfile in agent_config.localfiles %}
|
||||||
<localfile>
|
<localfile>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user