merge 4.9.0 into master

This commit is contained in:
vcerenu 2024-05-31 11:45:07 -03:00
commit e3148f4b9a
No known key found for this signature in database
GPG Key ID: 4D7B159107F1244A
15 changed files with 37 additions and 30 deletions

View File

@ -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.
## [v5.0.0]
### Added
- Update to [Wazuh v5.0.0](https://github.com/wazuh/wazuh/blob/v5.0.0/CHANGELOG.md#500)
## [v4.9.0] ## [v4.9.0]
### Added ### Added

View File

@ -16,6 +16,7 @@ These playbooks install and configure Wazuh agent, manager and indexer and dashb
| Wazuh version | Elastic | ODFE | | Wazuh version | Elastic | ODFE |
|---------------|---------|--------| |---------------|---------|--------|
| v5.0.0 | | |
| v4.9.0 | | | | v4.9.0 | | |
| v4.8.2 | | | | v4.8.2 | | |
| v4.8.1 | | | | v4.8.1 | | |

View File

@ -1,2 +1,2 @@
WAZUH-ANSIBLE_VERSION="v4.9.0" WAZUH-ANSIBLE_VERSION="v5.0.0"
REVISION="40900" REVISION="50000"

View File

@ -1,7 +1,7 @@
--- ---
filebeat_version: 7.10.2 filebeat_version: 7.10.2
wazuh_template_branch: v4.9.0 wazuh_template_branch: v5.0.0
filebeat_node_name: node-1 filebeat_node_name: node-1
@ -23,7 +23,7 @@ local_certs_path: "{{ playbook_dir }}/indexer/certificates"
filebeatrepo: filebeatrepo:
keyring_path: '/usr/share/keyrings/wazuh.gpg' keyring_path: '/usr/share/keyrings/wazuh.gpg'
apt: "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" apt: "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/5.x/apt/ stable main"
yum: 'https://packages.wazuh.com/4.x/yum/' yum: 'https://packages.wazuh.com/5.x/yum/'
gpg: 'https://packages.wazuh.com/key/GPG-KEY-WAZUH' gpg: 'https://packages.wazuh.com/key/GPG-KEY-WAZUH'
path: '/tmp/WAZUH-GPG-KEY' path: '/tmp/WAZUH-GPG-KEY'

View File

@ -1,5 +1,5 @@
--- ---
wazuh_agent_version: 4.9.0 wazuh_agent_version: 5.0.0
# Custom packages installation # Custom packages installation
@ -65,7 +65,7 @@ wazuh_managers:
retry_interval: 5 retry_interval: 5
register: yes register: yes
## Authentication Method: Enrollment section (4.x) ## Authentication Method: Enrollment section (5.x)
# For more information see: # For more information see:
# * https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/client.html#enrollment # * https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/client.html#enrollment

View File

@ -1,5 +1,5 @@
--- ---
wazuh_manager_version: 4.9.0 wazuh_manager_version: 5.0.0
wazuh_manager_fqdn: "wazuh-server" wazuh_manager_fqdn: "wazuh-server"
wazuh_manager_package_state: present wazuh_manager_package_state: present

View File

@ -1,2 +1,2 @@
--- ---
wazuh_version: 4.9.0 wazuh_version: 5.0.0

View File

@ -9,7 +9,7 @@ checkPackages(){
## Set S3 Bucket URL ## Set S3 Bucket URL
if [ $1 == "production" ]; then if [ $1 == "production" ]; then
echo "production" echo "production"
PACKAGES_URL=https://packages.wazuh.com/4.x/ PACKAGES_URL=https://packages.wazuh.com/5.x/
elif [ $1 == "pre-release" ]; then elif [ $1 == "pre-release" ]; then
echo "pre-release" echo "pre-release"
PACKAGES_URL=https://packages-dev.wazuh.com/pre-release/ PACKAGES_URL=https://packages-dev.wazuh.com/pre-release/

View File

@ -1,20 +1,20 @@
wazuh_repo: wazuh_repo:
keyring_path: '/usr/share/keyrings/wazuh.gpg' keyring_path: '/usr/share/keyrings/wazuh.gpg'
apt: 'deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main' apt: 'deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/5.x/apt/ stable main'
yum: 'https://packages.wazuh.com/4.x/yum/' yum: 'https://packages.wazuh.com/5.x/yum/'
gpg: 'https://packages.wazuh.com/key/GPG-KEY-WAZUH' gpg: 'https://packages.wazuh.com/key/GPG-KEY-WAZUH'
path: '/tmp/WAZUH-GPG-KEY' path: '/tmp/WAZUH-GPG-KEY'
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/5.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"
wazuh_winagent_sha512_url: "https://packages.wazuh.com/4.x/checksums/wazuh/{{ wazuh_agent_version }}/wazuh-agent-{{ wazuh_agent_version }}-1.msi.sha512" wazuh_winagent_sha512_url: "https://packages.wazuh.com/5.x/checksums/wazuh/{{ wazuh_agent_version }}/wazuh-agent-{{ wazuh_agent_version }}-1.msi.sha512"
filebeat_module_package_url: https://packages.wazuh.com/4.x/filebeat filebeat_module_package_url: https://packages.wazuh.com/5.x/filebeat
wazuh_macos_intel_package_name: "wazuh-agent-{{ wazuh_agent_version }}-1.intel64.pkg" wazuh_macos_intel_package_name: "wazuh-agent-{{ wazuh_agent_version }}-1.intel64.pkg"
wazuh_macos_arm_package_name: "wazuh-agent-{{ wazuh_agent_version }}-1.arm64.pkg" 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/5.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/5.x/macos/{{ wazuh_macos_arm_package_name }}"
certs_gen_tool_version: 4.9 certs_gen_tool_version: 5.0
# 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

@ -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.9 certs_gen_tool_version: 5.0
# 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

@ -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.9 certs_gen_tool_version: 5.0
# 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,20 +8,20 @@ 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.9.0 wazuh_version: 5.0.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.9.0" dashboard_version: "5.0.0"
# API credentials # API credentials
wazuh_api_credentials: wazuh_api_credentials:
- id: "default" - id: "default"
url: "https://localhost" url: "https://localhost"
port: 55000 port: 55000
username: "wazuh" username: "wazuh-wui"
password: "wazuh" password: "wazuh-wui"
# Dashboard Security # Dashboard Security
dashboard_security: true dashboard_security: true

View File

@ -21,7 +21,7 @@
# ------------------------------- Index patterns ------------------------------- # ------------------------------- Index patterns -------------------------------
# #
# Default index pattern to use. # Default index pattern to use.
#pattern: wazuh-alerts-4.x-* #pattern: wazuh-alerts-5.x-*
# #
# ----------------------------------- Checks ----------------------------------- # ----------------------------------- Checks -----------------------------------
# #
@ -92,17 +92,17 @@
# Default: 900 (s) # Default: 900 (s)
#wazuh.monitoring.frequency: 900 #wazuh.monitoring.frequency: 900
# #
# Configure wazuh-monitoring-4.x-* indices shards and replicas. # Configure wazuh-monitoring-5.x-* indices shards and replicas.
#wazuh.monitoring.shards: 2 #wazuh.monitoring.shards: 2
#wazuh.monitoring.replicas: 0 #wazuh.monitoring.replicas: 0
# #
# Configure wazuh-monitoring-4.x-* indices custom creation interval. # Configure wazuh-monitoring-5.x-* indices custom creation interval.
# Values: h (hourly), d (daily), w (weekly), m (monthly) # Values: h (hourly), d (daily), w (weekly), m (monthly)
# Default: d # Default: d
#wazuh.monitoring.creation: d #wazuh.monitoring.creation: d
# #
# Default index pattern to use for Wazuh monitoring # Default index pattern to use for Wazuh monitoring
#wazuh.monitoring.pattern: wazuh-monitoring-4.x-* #wazuh.monitoring.pattern: wazuh-monitoring-5.x-*
# #
# #
# ------------------------------- App privileges -------------------------------- # ------------------------------- App privileges --------------------------------

View File

@ -1,2 +1,2 @@
--- ---
dashboard_version: 4.9.0 dashboard_version: 5.0.0

View File

@ -1,6 +1,6 @@
--- ---
# Cluster Settings # Cluster Settings
indexer_version: 4.9.0 indexer_version: 5.0.0
single_node: false single_node: false
indexer_node_name: node-1 indexer_node_name: node-1