Adding variable to parametrize elastic template URL
This commit is contained in:
parent
600dd40896
commit
d82d1b51d1
@ -1,6 +1,8 @@
|
||||
---
|
||||
filebeat_version: 7.7.0
|
||||
|
||||
wazuh_template_branch: v3.13.0
|
||||
|
||||
filebeat_create_config: true
|
||||
|
||||
filebeat_output_elasticsearch_enabled: false
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
- name: Fetch latest Wazuh alerts template
|
||||
get_url:
|
||||
url: https://raw.githubusercontent.com/wazuh/wazuh/master/extensions/elasticsearch/7.x/wazuh-template.json
|
||||
url: https://raw.githubusercontent.com/wazuh/wazuh/{{ wazuh_template_branch }}/extensions/elasticsearch/7.x/wazuh-template.json
|
||||
dest: "/etc/filebeat/wazuh-template.json"
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
---
|
||||
filebeat_version: 7.7.0
|
||||
|
||||
wazuh_template_branch: v3.13.0
|
||||
|
||||
filebeat_create_config: true
|
||||
|
||||
filebeat_prospectors:
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
- name: Fetch latest Wazuh alerts template
|
||||
get_url:
|
||||
url: https://raw.githubusercontent.com/wazuh/wazuh/master/extensions/elasticsearch/7.x/wazuh-template.json
|
||||
url: https://raw.githubusercontent.com/wazuh/wazuh/{{ wazuh_template_branch }}/extensions/elasticsearch/7.x/wazuh-template.json
|
||||
dest: "/etc/filebeat/wazuh-template.json"
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
Loading…
Reference in New Issue
Block a user