Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable active-response section #155

Merged
merged 4 commits into from
Apr 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion roles/wazuh/ansible-wazuh-agent/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ wazuh_agent_config:
log_path_win: 'C:\ProgramData\osquery\log\osqueryd.results.log'
config_path: '/etc/osquery/osquery.conf'
config_path_win: 'C:\ProgramData\osquery\osquery.conf'
ad_labels: 'yes'
add_labels: 'yes'
syscollector:
disable: 'no'
interval: '1h'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,6 @@
</command>
{% endfor %}

<!--
<active-response>
active-response options here
</active-response>
-->

<ruleset>
<!-- Default ruleset -->
<decoder_dir>ruleset/decoders</decoder_dir>
Expand Down Expand Up @@ -394,7 +388,7 @@
{% endif %}


<!-- Active Response Config

{% if wazuh_manager_config.active_responses is defined %}
{% for response in wazuh_manager_config.active_responses %}
<active-response>
Expand All @@ -410,7 +404,6 @@
</active-response>
{% endfor %}
{% endif %}
-->

<!-- Files to monitor (localfiles) -->
{% for localfile in wazuh_manager_config.localfiles.common %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{% if wazuh_agent_configs is defined %}
{% for agent_config in wazuh_agent_configs %}
<agent_config {{ agent_config.type }}="{{ agent_config.type_value }}">
{% if agent_config.syscheck is defined %}
<syscheck>
<auto_ignore>{{ agent_config.syscheck.auto_ignore }}</auto_ignore>
<alert_new_files>{{ agent_config.syscheck.alert_new_files }}</alert_new_files>
Expand Down Expand Up @@ -40,6 +41,7 @@
{% endfor %}
{% endif %}
</syscheck>
{% endif %}

{% for localfile in agent_config.localfiles %}
<localfile>
Expand Down