Opward merge
This commit is contained in:
commit
140834be88
@ -1,6 +1,12 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [v4.9.0]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Update to [Wazuh v4.9.0](https://github.com/wazuh/wazuh/blob/v4.9.0/CHANGELOG.md#v490)
|
||||||
|
|
||||||
## [v4.8.1]
|
## [v4.8.1]
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@ -16,6 +16,7 @@ These playbooks install and configure Wazuh agent, manager and indexer and dashb
|
|||||||
|
|
||||||
| Wazuh version | Elastic | ODFE |
|
| Wazuh version | Elastic | ODFE |
|
||||||
|---------------|---------|--------|
|
|---------------|---------|--------|
|
||||||
|
| v4.9.0 | | |
|
||||||
| v4.8.1 | | |
|
| v4.8.1 | | |
|
||||||
| v4.8.0 | | |
|
| v4.8.0 | | |
|
||||||
| v4.7.5 | | |
|
| v4.7.5 | | |
|
||||||
|
|||||||
4
VERSION
4
VERSION
@ -1,2 +1,2 @@
|
|||||||
WAZUH-ANSIBLE_VERSION="v4.8.1"
|
WAZUH-ANSIBLE_VERSION="v4.9.0"
|
||||||
REVISION="40815"
|
REVISION="40901"
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
filebeat_version: 7.10.2
|
filebeat_version: 7.10.2
|
||||||
|
|
||||||
wazuh_template_branch: v4.8.1
|
wazuh_template_branch: v4.9.0
|
||||||
|
|
||||||
filebeat_node_name: node-1
|
filebeat_node_name: node-1
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
wazuh_agent_version: 4.8.1
|
wazuh_agent_version: 4.9.0
|
||||||
|
|
||||||
# Custom packages installation
|
# Custom packages installation
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
wazuh_manager_version: 4.8.1
|
wazuh_manager_version: 4.9.0
|
||||||
|
|
||||||
wazuh_manager_fqdn: "wazuh-server"
|
wazuh_manager_fqdn: "wazuh-server"
|
||||||
wazuh_manager_package_state: present
|
wazuh_manager_package_state: present
|
||||||
|
|||||||
@ -116,7 +116,7 @@
|
|||||||
dest="{{ wazuh_dir }}/etc/rules/local_rules.xml"
|
dest="{{ wazuh_dir }}/etc/rules/local_rules.xml"
|
||||||
owner=wazuh
|
owner=wazuh
|
||||||
group=wazuh
|
group=wazuh
|
||||||
mode=0640
|
mode=0660
|
||||||
notify: restart wazuh-manager
|
notify: restart wazuh-manager
|
||||||
tags:
|
tags:
|
||||||
- init
|
- init
|
||||||
@ -128,7 +128,7 @@
|
|||||||
dest="{{ wazuh_dir }}/etc/rules/"
|
dest="{{ wazuh_dir }}/etc/rules/"
|
||||||
owner=wazuh
|
owner=wazuh
|
||||||
group=wazuh
|
group=wazuh
|
||||||
mode=0640
|
mode=0660
|
||||||
notify: restart wazuh-manager
|
notify: restart wazuh-manager
|
||||||
tags:
|
tags:
|
||||||
- init
|
- init
|
||||||
@ -140,7 +140,7 @@
|
|||||||
dest="{{ wazuh_dir }}/etc/decoders/local_decoder.xml"
|
dest="{{ wazuh_dir }}/etc/decoders/local_decoder.xml"
|
||||||
owner=wazuh
|
owner=wazuh
|
||||||
group=wazuh
|
group=wazuh
|
||||||
mode=0640
|
mode=0660
|
||||||
notify: restart wazuh-manager
|
notify: restart wazuh-manager
|
||||||
tags:
|
tags:
|
||||||
- init
|
- init
|
||||||
@ -152,7 +152,7 @@
|
|||||||
dest="{{ wazuh_dir }}/etc/decoders/"
|
dest="{{ wazuh_dir }}/etc/decoders/"
|
||||||
owner=wazuh
|
owner=wazuh
|
||||||
group=wazuh
|
group=wazuh
|
||||||
mode=0640
|
mode=0660
|
||||||
notify: restart wazuh-manager
|
notify: restart wazuh-manager
|
||||||
tags:
|
tags:
|
||||||
- init
|
- init
|
||||||
@ -165,7 +165,7 @@
|
|||||||
dest: "{{ wazuh_dir }}/etc/shared/default/agent.conf"
|
dest: "{{ wazuh_dir }}/etc/shared/default/agent.conf"
|
||||||
owner: wazuh
|
owner: wazuh
|
||||||
group: wazuh
|
group: wazuh
|
||||||
mode: 0640
|
mode: 0660
|
||||||
validate: "{{ wazuh_dir }}/bin/verify-agent-conf -f %s"
|
validate: "{{ wazuh_dir }}/bin/verify-agent-conf -f %s"
|
||||||
notify: restart wazuh-manager
|
notify: restart wazuh-manager
|
||||||
tags:
|
tags:
|
||||||
@ -310,6 +310,11 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- "{{ wazuh_api_users }}"
|
- "{{ wazuh_api_users }}"
|
||||||
|
|
||||||
|
- name: Delete create_user script
|
||||||
|
file:
|
||||||
|
path: "{{ wazuh_dir }}/framework/scripts/create_user.py"
|
||||||
|
state: absent
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
- config_api_users
|
- config_api_users
|
||||||
when:
|
when:
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
wazuh_version: 4.8.1
|
wazuh_version: 4.9.0
|
||||||
|
|||||||
@ -14,7 +14,7 @@ wazuh_macos_arm_package_name: "wazuh-agent-{{ wazuh_agent_version }}-1.arm64.pkg
|
|||||||
wazuh_macos_intel_package_url: "https://packages.wazuh.com/4.x/macos/{{ wazuh_macos_intel_package_name }}"
|
wazuh_macos_intel_package_url: "https://packages.wazuh.com/4.x/macos/{{ wazuh_macos_intel_package_name }}"
|
||||||
wazuh_macos_arm_package_url: "https://packages.wazuh.com/4.x/macos/{{ wazuh_macos_arm_package_name }}"
|
wazuh_macos_arm_package_url: "https://packages.wazuh.com/4.x/macos/{{ wazuh_macos_arm_package_name }}"
|
||||||
|
|
||||||
certs_gen_tool_version: 4.8
|
certs_gen_tool_version: 4.9
|
||||||
|
|
||||||
# Url of certificates generator tool
|
# Url of certificates generator tool
|
||||||
certs_gen_tool_url: "https://packages.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"
|
certs_gen_tool_url: "https://packages.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"
|
||||||
|
|||||||
@ -14,7 +14,7 @@ wazuh_macos_arm_package_name: "wazuh-agent-{{ wazuh_agent_version }}-1.arm64.pkg
|
|||||||
wazuh_macos_intel_package_url: "https://packages-dev.wazuh.com/pre-release/{{ wazuh_macos_intel_package_name }}"
|
wazuh_macos_intel_package_url: "https://packages-dev.wazuh.com/pre-release/{{ wazuh_macos_intel_package_name }}"
|
||||||
wazuh_macos_arm_package_url: "https://packages-dev.wazuh.com/pre-release/macos/{{ wazuh_macos_arm_package_name }}"
|
wazuh_macos_arm_package_url: "https://packages-dev.wazuh.com/pre-release/macos/{{ wazuh_macos_arm_package_name }}"
|
||||||
|
|
||||||
certs_gen_tool_version: 4.8
|
certs_gen_tool_version: 4.9
|
||||||
|
|
||||||
# Url of certificates generator tool
|
# Url of certificates generator tool
|
||||||
certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"
|
certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"
|
||||||
|
|||||||
@ -15,7 +15,7 @@ wazuh_macos_arm_package_name: "wazuh-agent-{{ wazuh_agent_version }}-1.arm64.pkg
|
|||||||
wazuh_macos_intel_package_url: "https://packages-dev.wazuh.com/staging/macos/{{ wazuh_macos_intel_package_name }}"
|
wazuh_macos_intel_package_url: "https://packages-dev.wazuh.com/staging/macos/{{ wazuh_macos_intel_package_name }}"
|
||||||
wazuh_macos_arm_package_url: "https://packages-dev.wazuh.com/staging/macos/{{ wazuh_macos_arm_package_name }}"
|
wazuh_macos_arm_package_url: "https://packages-dev.wazuh.com/staging/macos/{{ wazuh_macos_arm_package_name }}"
|
||||||
|
|
||||||
certs_gen_tool_version: 4.8
|
certs_gen_tool_version: 4.9
|
||||||
|
|
||||||
# Url of certificates generator tool
|
# Url of certificates generator tool
|
||||||
certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"
|
certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"
|
||||||
|
|||||||
@ -8,12 +8,12 @@ dashboard_node_name: node-1
|
|||||||
dashboard_server_host: "0.0.0.0"
|
dashboard_server_host: "0.0.0.0"
|
||||||
dashboard_server_port: "443"
|
dashboard_server_port: "443"
|
||||||
dashboard_server_name: "dashboard"
|
dashboard_server_name: "dashboard"
|
||||||
wazuh_version: 4.8.1
|
wazuh_version: 4.9.0
|
||||||
indexer_cluster_nodes:
|
indexer_cluster_nodes:
|
||||||
- 127.0.0.1
|
- 127.0.0.1
|
||||||
|
|
||||||
# The Wazuh dashboard package repository
|
# The Wazuh dashboard package repository
|
||||||
dashboard_version: "4.8.1"
|
dashboard_version: "4.9.0"
|
||||||
|
|
||||||
# API credentials
|
# API credentials
|
||||||
wazuh_api_credentials:
|
wazuh_api_credentials:
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
dashboard_version: 4.8.1
|
dashboard_version: 4.9.0
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
# Cluster Settings
|
# Cluster Settings
|
||||||
indexer_version: 4.8.1
|
indexer_version: 4.9.0
|
||||||
|
|
||||||
single_node: false
|
single_node: false
|
||||||
indexer_node_name: node-1
|
indexer_node_name: node-1
|
||||||
|
|||||||
@ -94,7 +94,7 @@
|
|||||||
register: result
|
register: result
|
||||||
until: result.rc == 0
|
until: result.rc == 0
|
||||||
|
|
||||||
run_once: true
|
when: inventory_hostname == ansible_play_hosts[0]
|
||||||
|
|
||||||
- name: Create custom user
|
- name: Create custom user
|
||||||
uri:
|
uri:
|
||||||
@ -114,5 +114,6 @@
|
|||||||
timeout: 4
|
timeout: 4
|
||||||
when:
|
when:
|
||||||
- indexer_custom_user is defined and indexer_custom_user
|
- indexer_custom_user is defined and indexer_custom_user
|
||||||
|
- inventory_hostname == ansible_play_hosts[0]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user