Merge 4.3.6 into master (conflicts)

This commit is contained in:
Gonzalo Acuña 2022-07-22 12:32:37 -03:00
commit a1b7fa0562
No known key found for this signature in database
GPG Key ID: 646BA79A313A2270
18 changed files with 63 additions and 27 deletions

12
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
target-branch: "4.5"

View File

@ -1,6 +1,18 @@
# 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.5.0]
### Added
- Update to [Wazuh v4.5.0](https://github.com/wazuh/wazuh/blob/v4.5.0/CHANGELOG.md#v450)
## [v4.4.0]
### Added
- Update to [Wazuh v4.4.0](https://github.com/wazuh/wazuh/blob/v4.4.0/CHANGELOG.md#v440)
## [v4.3.6] ## [v4.3.6]
### Added ### Added
@ -43,6 +55,12 @@ All notable changes to this project will be documented in this file.
- Update to [Wazuh v4.3.0](https://github.com/wazuh/wazuh/blob/v4.3.0/CHANGELOG.md#v430) - Update to [Wazuh v4.3.0](https://github.com/wazuh/wazuh/blob/v4.3.0/CHANGELOG.md#v430)
## [v4.2.6]
### Added
- Update to [Wazuh v4.2.6](https://github.com/wazuh/wazuh/blob/v4.2.6/CHANGELOG.md#v426)
## [v4.2.5] ## [v4.2.5]
### Added ### Added

View File

@ -15,6 +15,8 @@ These playbooks install and configure Wazuh agent, manager and indexer and dashb
| Wazuh version | Elastic | ODFE | | Wazuh version | Elastic | ODFE |
|---------------|---------|--------| |---------------|---------|--------|
| v4.5.0 | | |
| v4.4.0 | | |
| v4.3.6 | | | | v4.3.6 | | |
| v4.3.5 | | | | v4.3.5 | | |
| v4.3.4 | | | | v4.3.4 | | |
@ -22,6 +24,7 @@ These playbooks install and configure Wazuh agent, manager and indexer and dashb
| v4.3.2 | | | | v4.3.2 | | |
| v4.3.1 | | | | v4.3.1 | | |
| v4.3.0 | | | | v4.3.0 | | |
| v4.2.6 | 7.10.2 | 1.13.2 |
| v4.2.5 | 7.10.2 | 1.13.2 | | v4.2.5 | 7.10.2 | 1.13.2 |
| v4.2.4 | 7.10.2 | 1.13.2 | | v4.2.4 | 7.10.2 | 1.13.2 |
| v4.2.3 | 7.10.2 | 1.13.2 | | v4.2.3 | 7.10.2 | 1.13.2 |

View File

@ -1,2 +1,2 @@
WAZUH-ANSIBLE_VERSION="v4.3.6" WAZUH-ANSIBLE_VERSION="v4.5.0"
REVISION="40318" REVISION="40500"

View File

@ -8,7 +8,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
def get_wazuh_version(): def get_wazuh_version():
"""This return the version of Wazuh.""" """This return the version of Wazuh."""
return "4.3.6" return "4.5.0"

View File

@ -30,10 +30,10 @@ indexer_node_name: '{{ ansible_facts.hostname }}'
dashboard_node_name: '{{ ansible_facts.hostname }}' dashboard_node_name: '{{ ansible_facts.hostname }}'
filebeat_node_name: '{{ ansible_facts.hostname }}' filebeat_node_name: '{{ ansible_facts.hostname }}'
indexer_version: 4.3.6 indexer_version: 4.5.0
filebeat_version: 7.10.2 filebeat_version: 7.10.2
wazuh_version: 4.3.6 wazuh_version: 4.5.0
# Debian packages need the ${VERSION}-1 # Debian packages need the ${VERSION}
wazuh_manager_version: 4.3.6 wazuh_manager_version: 4.5.0
wazuh_agent_version: 4.3.6 wazuh_agent_version: 4.5.0

View File

@ -8,7 +8,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
def get_wazuh_version(): def get_wazuh_version():
"""This return the version of Wazuh.""" """This return the version of Wazuh."""
return "4.3.6" return "4.5.0"
def test_wazuh_packages_are_installed(host): def test_wazuh_packages_are_installed(host):

2
poetry.lock generated
View File

@ -1339,4 +1339,4 @@ yamllint = [
zipp = [ zipp = [
{file = "zipp-3.4.0-py3-none-any.whl", hash = "sha256:102c24ef8f171fd729d46599845e95c7ab894a4cf45f5de11a44cc7444fb1108"}, {file = "zipp-3.4.0-py3-none-any.whl", hash = "sha256:102c24ef8f171fd729d46599845e95c7ab894a4cf45f5de11a44cc7444fb1108"},
{file = "zipp-3.4.0.tar.gz", hash = "sha256:ed5eee1974372595f9e416cc7bbeeb12335201d8081ca8a0743c954d4446e5cb"}, {file = "zipp-3.4.0.tar.gz", hash = "sha256:ed5eee1974372595f9e416cc7bbeeb12335201d8081ca8a0743c954d4446e5cb"},
] ]

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "wazuh-ansible" name = "wazuh-ansible"
version = "4.3.6" version = "4.5.0"
description = "" description = ""
authors = ["neonmei <neonmei@pm.me>"] authors = ["neonmei <neonmei@pm.me>"]

View File

@ -1,7 +1,7 @@
--- ---
filebeat_version: 7.10.2 filebeat_version: 7.10.2
wazuh_template_branch: 4.3 wazuh_template_branch: 4.5
filebeat_node_name: node-1 filebeat_node_name: node-1

View File

@ -1,6 +1,5 @@
--- ---
wazuh_agent_version: 4.5.0
wazuh_agent_version: 4.3.6
# Custom packages installation # Custom packages installation
@ -12,7 +11,7 @@ wazuh_custom_packages_installation_agent_rpm_url: ""
wazuh_agent_sources_installation: wazuh_agent_sources_installation:
enabled: false enabled: false
branch: "v4.3.6" branch: "v4.5.0"
user_language: "y" user_language: "y"
user_no_stop: "y" user_no_stop: "y"
user_install_type: "agent" user_install_type: "agent"
@ -54,7 +53,8 @@ wazuh_winagent_config:
# Adding quotes to auth_path_x86 since win_shell outputs error otherwise # Adding quotes to auth_path_x86 since win_shell outputs error otherwise
auth_path_x86: C:\'Program Files (x86)'\ossec-agent\agent-auth.exe auth_path_x86: C:\'Program Files (x86)'\ossec-agent\agent-auth.exe
check_md5: True check_md5: True
md5: cf18c7a255dc076c5a7f78490f9c4628 md5: 8ffa75d13280f1aa6ffca54f4273df4d
wazuh_winagent_package_name: wazuh-agent-4.5.0-1.msi
wazuh_dir: "/var/ossec" wazuh_dir: "/var/ossec"

View File

@ -1,6 +1,5 @@
--- ---
wazuh_manager_version: 4.5.0
wazuh_manager_version: 4.3.6
wazuh_manager_fqdn: "wazuh-server" wazuh_manager_fqdn: "wazuh-server"
wazuh_manager_package_state: present wazuh_manager_package_state: present
@ -13,7 +12,7 @@ wazuh_custom_packages_installation_manager_rpm_url: "https://s3-us-west-1.amazon
# Sources installation # Sources installation
wazuh_manager_sources_installation: wazuh_manager_sources_installation:
enabled: false enabled: false
branch: "v4.3.6" branch: "v4.5.0"
user_language: "en" user_language: "en"
user_no_stop: "y" user_no_stop: "y"
user_install_type: "server" user_install_type: "server"

View File

@ -6,7 +6,7 @@ wazuh_repo:
wazuh_winagent_config_url: "https://packages.wazuh.com/4.x/windows/wazuh-agent-{{ wazuh_agent_version }}-1.msi" wazuh_winagent_config_url: "https://packages.wazuh.com/4.x/windows/wazuh-agent-{{ wazuh_agent_version }}-1.msi"
wazuh_winagent_package_name: wazuh-agent-{{ wazuh_agent_version }}-1.msi wazuh_winagent_package_name: wazuh-agent-{{ wazuh_agent_version }}-1.msi
certs_gen_tool_version: 4.3 certs_gen_tool_version: 4.5
# 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"

View File

@ -6,7 +6,7 @@ wazuh_repo:
wazuh_winagent_config_url: https://packages-dev.wazuh.com/pre-release/windows/wazuh-agent-{{ wazuh_agent_version }}-1.msi wazuh_winagent_config_url: https://packages-dev.wazuh.com/pre-release/windows/wazuh-agent-{{ wazuh_agent_version }}-1.msi
wazuh_winagent_package_name: wazuh-agent-{{ wazuh_agent_version }}-1.msi wazuh_winagent_package_name: wazuh-agent-{{ wazuh_agent_version }}-1.msi
certs_gen_tool_version: 4.3 certs_gen_tool_version: 4.5
# 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"

View File

@ -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.3.6 wazuh_version: 4.5.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.3.6" dashboard_version: "4.5.0"
# API credentials # API credentials
wazuh_api_credentials: wazuh_api_credentials:

View File

@ -1,3 +1,7 @@
--- ---
dashboard_version: 4.3.6 <<<<<<< HEAD
dashboard_version: 4.3.6
=======
dashboard_version: 4.5.0
>>>>>>> master

View File

@ -1,6 +1,6 @@
--- ---
# Cluster Settings # Cluster Settings
indexer_version: 4.3.6 indexer_version: 4.5.0
single_node: false single_node: false
indexer_node_name: node-1 indexer_node_name: node-1

View File

@ -30,8 +30,8 @@
- name: Local action | Prepare the certificates generation template file - name: Local action | Prepare the certificates generation template file
template: template:
src: "templates/config.yml.j2" src: "templates/wazuh-config.yml.j2"
dest: "{{ local_certs_path }}/config.yml" dest: "{{ local_certs_path }}/wazuh-config.yml"
mode: 0644 mode: 0644
register: tlsconfig_template register: tlsconfig_template