Merge branch 'master' into merge-43-master

This commit is contained in:
Gonzalo Acuña 2022-10-12 09:22:38 -03:00 committed by GitHub
commit 6607cea7f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 58 additions and 29 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"

18
CHANGELOG.md Executable file → Normal file
View File

@ -1,6 +1,18 @@
# Change Log
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.9]
### Added
@ -61,6 +73,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)
## [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]
### Added

View File

@ -15,6 +15,8 @@ These playbooks install and configure Wazuh agent, manager and indexer and dashb
| Wazuh version | Elastic | ODFE |
|---------------|---------|--------|
| v4.5.0 | | |
| v4.4.0 | | |
| v4.3.9 | | |
| v4.3.8 | | |
| v4.3.7 | | |
@ -25,6 +27,7 @@ These playbooks install and configure Wazuh agent, manager and indexer and dashb
| v4.3.2 | | |
| v4.3.1 | | |
| v4.3.0 | | |
| v4.2.6 | 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.3 | 7.10.2 | 1.13.2 |

View File

@ -1,2 +1,2 @@
WAZUH-ANSIBLE_VERSION="v4.3.9"
REVISION="40322"
WAZUH-ANSIBLE_VERSION="v4.5.0"
REVISION="40500"

View File

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

View File

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

View File

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

2
poetry.lock generated
View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,5 @@
---
wazuh_manager_version: 4.3.9
wazuh_manager_version: 4.5.0
wazuh_manager_fqdn: "wazuh-server"
wazuh_manager_package_state: present
@ -13,7 +12,7 @@ wazuh_custom_packages_installation_manager_rpm_url: "https://s3-us-west-1.amazon
# Sources installation
wazuh_manager_sources_installation:
enabled: false
branch: "v4.3.9"
branch: "v4.5.0"
user_language: "en"
user_no_stop: "y"
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_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
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_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
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_port: "443"
dashboard_server_name: "dashboard"
wazuh_version: 4.3.9
wazuh_version: 4.5.0
indexer_cluster_nodes:
- 127.0.0.1
# The Wazuh dashboard package repository
dashboard_version: "4.3.9"
dashboard_version: "4.5.0"
# API credentials
wazuh_api_credentials:

View File

@ -1,3 +1,2 @@
---
dashboard_version: 4.3.9
dashboard_version: 4.5.0

View File

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

View File

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