Merge pull request #850 from wazuh/merge-43-master
Merge 4.3 into master
This commit is contained in:
commit
7733af02a9
18
CHANGELOG.md
Executable file → Normal file
18
CHANGELOG.md
Executable file → Normal file
@ -13,6 +13,24 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
- Update to [Wazuh v4.4.0](https://github.com/wazuh/wazuh/blob/v4.4.0/CHANGELOG.md#v440)
|
- Update to [Wazuh v4.4.0](https://github.com/wazuh/wazuh/blob/v4.4.0/CHANGELOG.md#v440)
|
||||||
|
|
||||||
|
## [v4.3.9]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Update to [Wazuh v4.3.9](https://github.com/wazuh/wazuh/blob/v4.3.9/CHANGELOG.md#v439)
|
||||||
|
|
||||||
|
## [v4.3.8]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Update to [Wazuh v4.3.8](https://github.com/wazuh/wazuh/blob/v4.3.8/CHANGELOG.md#v438)
|
||||||
|
|
||||||
|
## [v4.3.7]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Update to [Wazuh v4.3.7](https://github.com/wazuh/wazuh/blob/v4.3.7/CHANGELOG.md#v437)
|
||||||
|
|
||||||
## [v4.3.6]
|
## [v4.3.6]
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@ -17,6 +17,9 @@ These playbooks install and configure Wazuh agent, manager and indexer and dashb
|
|||||||
|---------------|---------|--------|
|
|---------------|---------|--------|
|
||||||
| v4.5.0 | | |
|
| v4.5.0 | | |
|
||||||
| v4.4.0 | | |
|
| v4.4.0 | | |
|
||||||
|
| v4.3.9 | | |
|
||||||
|
| v4.3.8 | | |
|
||||||
|
| v4.3.7 | | |
|
||||||
| v4.3.6 | | |
|
| v4.3.6 | | |
|
||||||
| v4.3.5 | | |
|
| v4.3.5 | | |
|
||||||
| v4.3.4 | | |
|
| v4.3.4 | | |
|
||||||
|
|||||||
@ -11,7 +11,6 @@ def get_wazuh_version():
|
|||||||
return "4.5.0"
|
return "4.5.0"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def test_wazuh_packages_are_installed(host):
|
def test_wazuh_packages_are_installed(host):
|
||||||
"""Test the main packages are installed."""
|
"""Test the main packages are installed."""
|
||||||
manager = host.package("wazuh-manager")
|
manager = host.package("wazuh-manager")
|
||||||
|
|||||||
@ -54,7 +54,6 @@ wazuh_winagent_config:
|
|||||||
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: 8ffa75d13280f1aa6ffca54f4273df4d
|
md5: 8ffa75d13280f1aa6ffca54f4273df4d
|
||||||
wazuh_winagent_package_name: wazuh-agent-4.5.0-1.msi
|
|
||||||
|
|
||||||
wazuh_dir: "/var/ossec"
|
wazuh_dir: "/var/ossec"
|
||||||
|
|
||||||
|
|||||||
@ -7,10 +7,10 @@
|
|||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
|
||||||
- include_vars: ../../vars/repo.yml
|
- include_vars: ../../vars/repo.yml
|
||||||
when: "{{ wazuh_latest_release.stdout is version(wazuh_agent_version, operator='ge') }}"
|
when: "wazuh_latest_release.stdout is version(wazuh_agent_version, operator='ge')"
|
||||||
|
|
||||||
- include_vars: ../../vars/repo_dev.yml
|
- include_vars: ../../vars/repo_dev.yml
|
||||||
when: "{{ wazuh_latest_release.stdout is version(wazuh_agent_version, operator='lt') }}"
|
when: "wazuh_latest_release.stdout is version(wazuh_agent_version, operator='lt')"
|
||||||
|
|
||||||
- name: Overlay wazuh_agent_config on top of defaults
|
- name: Overlay wazuh_agent_config on top of defaults
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|||||||
@ -260,7 +260,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Directories to check (perform all possible verifications) -->
|
<!-- Directories to check (perform all possible verifications) -->
|
||||||
{% if wazuh_agent_config.syscheck.win_directories is defined and ansible_system == "Windows" %}
|
{% if wazuh_agent_config.syscheck.win_directories is defined and ansible_os_family == "Windows" %}
|
||||||
{% for directory in wazuh_agent_config.syscheck.win_directories %}
|
{% for directory in wazuh_agent_config.syscheck.win_directories %}
|
||||||
<directories {{ directory.checks }}>{{ directory.dirs }}</directories>
|
<directories {{ directory.checks }}>{{ directory.dirs }}</directories>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@ -280,7 +280,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if wazuh_agent_config.syscheck.ignore is defined and ansible_system == "Windows" %}
|
{% if wazuh_agent_config.syscheck.ignore is defined and ansible_os_family == "Windows" %}
|
||||||
{% for ignore in wazuh_agent_config.syscheck.ignore_win %}
|
{% for ignore in wazuh_agent_config.syscheck.ignore_win %}
|
||||||
<ignore type="sregex">{{ ignore }}</ignore>
|
<ignore type="sregex">{{ ignore }}</ignore>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
@ -14,10 +14,10 @@
|
|||||||
register: wazuh_latest_release
|
register: wazuh_latest_release
|
||||||
|
|
||||||
- include_vars: ../../vars/repo.yml
|
- include_vars: ../../vars/repo.yml
|
||||||
when: "{{ wazuh_latest_release.stdout is version(wazuh_manager_version, operator='ge') }}"
|
when: "wazuh_latest_release.stdout is version(wazuh_manager_version, operator='ge')"
|
||||||
|
|
||||||
- include_vars: ../../vars/repo_dev.yml
|
- include_vars: ../../vars/repo_dev.yml
|
||||||
when: "{{ wazuh_latest_release.stdout is version(wazuh_manager_version, operator='lt') }}"
|
when: "wazuh_latest_release.stdout is version(wazuh_manager_version, operator='lt')"
|
||||||
|
|
||||||
- name: Overlay wazuh_manager_config on top of defaults
|
- name: Overlay wazuh_manager_config on top of defaults
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|||||||
@ -4,7 +4,7 @@ wazuh_repo:
|
|||||||
gpg: 'https://packages.wazuh.com/key/GPG-KEY-WAZUH'
|
gpg: 'https://packages.wazuh.com/key/GPG-KEY-WAZUH'
|
||||||
key_id: '0DCFCA5547B19D2A6099506096B3EE5F29111145'
|
key_id: '0DCFCA5547B19D2A6099506096B3EE5F29111145'
|
||||||
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.5
|
certs_gen_tool_version: 4.5
|
||||||
|
|
||||||
|
|||||||
@ -3,8 +3,8 @@ wazuh_repo:
|
|||||||
yum: 'https://packages-dev.wazuh.com/pre-release/yum/'
|
yum: 'https://packages-dev.wazuh.com/pre-release/yum/'
|
||||||
gpg: 'https://packages-dev.wazuh.com/key/GPG-KEY-WAZUH'
|
gpg: 'https://packages-dev.wazuh.com/key/GPG-KEY-WAZUH'
|
||||||
key_id: '0DCFCA5547B19D2A6099506096B3EE5F29111145'
|
key_id: '0DCFCA5547B19D2A6099506096B3EE5F29111145'
|
||||||
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.5
|
certs_gen_tool_version: 4.5
|
||||||
|
|
||||||
|
|||||||
@ -4,10 +4,10 @@
|
|||||||
register: wazuh_latest_release
|
register: wazuh_latest_release
|
||||||
|
|
||||||
- include_vars: ../../vars/repo.yml
|
- include_vars: ../../vars/repo.yml
|
||||||
when: "{{ wazuh_latest_release.stdout is version(dashboard_version, operator='ge') }}"
|
when: "wazuh_latest_release.stdout is version(dashboard_version, operator='ge')"
|
||||||
|
|
||||||
- include_vars: ../../vars/repo_dev.yml
|
- include_vars: ../../vars/repo_dev.yml
|
||||||
when: "{{ wazuh_latest_release.stdout is version(dashboard_version, operator='lt') }}"
|
when: "wazuh_latest_release.stdout is version(dashboard_version, operator='lt')"
|
||||||
|
|
||||||
- import_tasks: RedHat.yml
|
- import_tasks: RedHat.yml
|
||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat'
|
||||||
|
|||||||
@ -130,5 +130,5 @@ hosts:
|
|||||||
url: {{ api['url'] }}
|
url: {{ api['url'] }}
|
||||||
port: {{ api['port'] }}
|
port: {{ api['port'] }}
|
||||||
username: {{ api['username'] }}
|
username: {{ api['username'] }}
|
||||||
password: {{ api['password'] }}
|
password: "{{ api['password'] }}"
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
@ -1,3 +1,2 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
dashboard_version: 4.5.0
|
dashboard_version: 4.5.0
|
||||||
|
|||||||
@ -4,10 +4,10 @@
|
|||||||
register: wazuh_latest_release
|
register: wazuh_latest_release
|
||||||
|
|
||||||
- include_vars: ../../vars/repo.yml
|
- include_vars: ../../vars/repo.yml
|
||||||
when: "{{ wazuh_latest_release.stdout is version(indexer_version, operator='ge') }}"
|
when: "wazuh_latest_release.stdout is version(indexer_version, operator='ge')"
|
||||||
|
|
||||||
- include_vars: ../../vars/repo_dev.yml
|
- include_vars: ../../vars/repo_dev.yml
|
||||||
when: "{{ wazuh_latest_release.stdout is version(indexer_version, operator='lt') }}"
|
when: "wazuh_latest_release.stdout is version(indexer_version, operator='lt')"
|
||||||
|
|
||||||
- import_tasks: local_actions.yml
|
- import_tasks: local_actions.yml
|
||||||
when:
|
when:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user