From 0a94f24d1c78fadecf1e0179cfc453a0982e23d6 Mon Sep 17 00:00:00 2001 From: vcerenu Date: Wed, 7 Sep 2022 11:30:50 -0300 Subject: [PATCH] bump 4.2.7 version --- CHANGELOG.md | 22 ++++++++++++++----- README.md | 16 ++++++++------ .../elastic-stack/attributes/versions.rb | 4 ++-- cookbooks/filebeat-oss/attributes/versions.rb | 6 ++--- cookbooks/filebeat/attributes/versions.rb | 6 ++--- cookbooks/opendistro/attributes/versions.rb | 4 ++-- cookbooks/wazuh_agent/attributes/version.rb | 2 +- .../wazuh_manager/attributes/versions.rb | 2 +- metadata.rb | 2 +- 9 files changed, 38 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 496d2599..a24af3ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,19 +1,29 @@ # Change Log All notable changes to this project will be documented in this file. -## Wazuh Chef v4.2.5 +## Wazuh Chef v4.2.7 ### Added -- Update to Wazuh [v4.2.5](https://github.com/wazuh/wazuh/blob/v4.2.5/CHANGELOG.md#v425) +- Update to Wazuh [v4.2.7](https://github.com/wazuh/wazuh/blob/v4.2.7/CHANGELOG.md#v427) -### Fixed +## Wazuh Chef v4.2.6 + +### Added + +- Update to Wazuh [v4.2.6](https://github.com/wazuh/wazuh/blob/v4.2.6/CHANGELOG.md#v426) + +## Wazuh Chef v4.2.5 + +### Added + +- Update to Wazuh [v4.2.5](https://github.com/wazuh/wazuh/blob/v4.2.5/CHANGELOG.md#v425) ## Wazuh Chef v4.2.4 ### Added -- Update to Wazuh [v4.2.4](https://github.com/wazuh/wazuh/blob/v4.2.4/CHANGELOG.md#v424) +- Update to Wazuh [v4.2.4](https://github.com/wazuh/wazuh/blob/v4.2.4/CHANGELOG.md#v424) ### Fixed @@ -23,14 +33,14 @@ All notable changes to this project will be documented in this file. ## Wazuh Chef v4.0.4_1.11.0 ### Added -- Update to Wazuh [v4.0.4](https://github.com/wazuh/wazuh/blob/v4.0.4/CHANGELOG.md#v404) ([@sergiogp98](https://github.com/sergiogp98) [PR#124](https://github.com/wazuh/wazuh-chef/pull/124)) +- Update to Wazuh [v4.0.4](https://github.com/wazuh/wazuh/blob/v4.0.4/CHANGELOG.md#v404) ([@sergiogp98](https://github.com/sergiogp98) [PR#124](https://github.com/wazuh/wazuh-chef/pull/124)) - Support for new Wazuh API config options. ## Wazuh Chef v4.0.3_1.11.0 ### Added - Add feature-cookbooks ([@sergiogp98](https://github.com/sergiogp98)) [PR#115](https://github.com/wazuh/wazuh-chef/pull/115) - - Update to Wazuh version 4.0.3 + - Update to Wazuh version 4.0.3 - Add Opendistro with version 1.11.0 - Update Elastic Stack to version 7.9.3 - Install Wazuh Kibana plugin 4.0.3_7.9.3 version diff --git a/README.md b/README.md index c34e5325..a90d494a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Wazuh - Chef +# Wazuh - Chef [![Slack](https://img.shields.io/badge/slack-join-blue.svg)](https://goo.gl/forms/M2AoZC4b2R9A9Zy12) [![Email](https://img.shields.io/badge/email-join-blue.svg)](https://groups.google.com/forum/#!forum/wazuh) @@ -11,20 +11,22 @@ Deploy the Wazuh platform using Chef cookbooks. Chef recipes are prepared for in | Wazuh version | Elastic | ODFE | |---------------|---------|--------| +| v4.2.7 | v7.10.2 | v1.13.2| +| v4.2.6 | v7.10.2 | v1.13.2| | v4.2.5 | v7.10.2 | v1.13.2| | v4.2.4 | v7.10.2 | v1.13.2| | v4.0.4 | v7.9.3 | v1.11.0| ## Dependencies -All the dependencies necessary to install cookbooks are listed inside the following files: +All the dependencies necessary to install cookbooks are listed inside the following files: - *Berksfile*: has defined the cookbooks path for Kitchen tests -- *metadata.rb*: minimum distributions verions +- *metadata.rb*: minimum distributions verions - *Gemfile.rb*: Ruby gems for testing There is software that must be installed to ensure the correct installation. -## Chef +## Chef Chef gives plenty of software packages solution depending on how you want to distribute the software. Please refer to the [platform overview documentation](https://docs.chef.io/platform_overview/) for further information. @@ -76,7 +78,7 @@ You can specify tags, branches, and revisions. More info on https://docs.chef.io The following describes how to define the needed JSON files to generate an encrypted data bag. -**Important**: If API user secret is declared will be installed. Otherwise, the default user will be *foo:bar*. +**Important**: If API user secret is declared will be installed. Otherwise, the default user will be *foo:bar*. ##### api.json @@ -148,9 +150,9 @@ After that, the vault will be created and synced with the server. The defined no You can check Chef Official Documentation about [Chef Vault](https://docs.chef.io/chef_vault.html) for detailed info. ## Choose to register an agent into a manager or not -Now we give the possibility to choose to register an agent after being configured and installed in a manager. +Now we give the possibility to choose to register an agent after being configured and installed in a manager. -To connect an agent with the manager simply modify the `wazuh-chef/roles/wazuh_agent.json` with the +To connect an agent with the manager simply modify the `wazuh-chef/roles/wazuh_agent.json` with the manager IP address: ``` diff --git a/cookbooks/elastic-stack/attributes/versions.rb b/cookbooks/elastic-stack/attributes/versions.rb index c796bbd4..0b5aa80b 100644 --- a/cookbooks/elastic-stack/attributes/versions.rb +++ b/cookbooks/elastic-stack/attributes/versions.rb @@ -11,7 +11,7 @@ # Wazuh default['wazuh']['major_version'] = '4.x' default['wazuh']['minor_version'] = '4.2' -default['wazuh']['patch_version'] = '4.2.5' +default['wazuh']['patch_version'] = '4.2.7' # Kibana -default['wazuh']['kibana_plugin_version'] = '4.2.5_7.10.2' +default['wazuh']['kibana_plugin_version'] = '4.2.7_7.10.2' diff --git a/cookbooks/filebeat-oss/attributes/versions.rb b/cookbooks/filebeat-oss/attributes/versions.rb index c3220652..26df8bf3 100644 --- a/cookbooks/filebeat-oss/attributes/versions.rb +++ b/cookbooks/filebeat-oss/attributes/versions.rb @@ -2,11 +2,11 @@ # Attribute:: versions # Author:: Wazuh -# ELK -default['elk']['major_version'] = "7.x" +# ELK +default['elk']['major_version'] = "7.x" default['elk']['patch_version'] = "7.10.2" # Wazuh default['wazuh']['major_version'] = "4.x" default['wazuh']['minor_version'] = "4.2" -default['wazuh']['patch_version'] = "4.2.5" \ No newline at end of file +default['wazuh']['patch_version'] = "4.2.7" \ No newline at end of file diff --git a/cookbooks/filebeat/attributes/versions.rb b/cookbooks/filebeat/attributes/versions.rb index 84a5087d..ebf64d62 100644 --- a/cookbooks/filebeat/attributes/versions.rb +++ b/cookbooks/filebeat/attributes/versions.rb @@ -2,11 +2,11 @@ # Attribute:: versions # Author:: Wazuh -# ELK -default['elk']['major_version'] = "7.x" +# ELK +default['elk']['major_version'] = "7.x" default['elk']['patch_version'] = "7.10.2" # Wazuh default['wazuh']['major_version'] = "4.x" default['wazuh']['minor_version'] = "4.2" -default['wazuh']['patch_version'] = "4.2.5" \ No newline at end of file +default['wazuh']['patch_version'] = "4.2.7" \ No newline at end of file diff --git a/cookbooks/opendistro/attributes/versions.rb b/cookbooks/opendistro/attributes/versions.rb index c6b0d158..cb01b092 100644 --- a/cookbooks/opendistro/attributes/versions.rb +++ b/cookbooks/opendistro/attributes/versions.rb @@ -13,10 +13,10 @@ # Wazuh default['wazuh']['major_version'] = '4.x' default['wazuh']['minor_version'] = '4.2' -default['wazuh']['patch_version'] = '4.2.5' +default['wazuh']['patch_version'] = '4.2.7' # Kibana -default['wazuh']['kibana_plugin_version'] = '4.2.5_7.10.2' +default['wazuh']['kibana_plugin_version'] = '4.2.7_7.10.2' # Search guard default['searchguard']['version'] = '1.8' diff --git a/cookbooks/wazuh_agent/attributes/version.rb b/cookbooks/wazuh_agent/attributes/version.rb index 49872d6b..bcd02015 100644 --- a/cookbooks/wazuh_agent/attributes/version.rb +++ b/cookbooks/wazuh_agent/attributes/version.rb @@ -4,4 +4,4 @@ default['wazuh']['major_version'] = "4.x" default['wazuh']['minor_version'] = "4.2" -default['wazuh']['patch_version'] = "4.2.5" \ No newline at end of file +default['wazuh']['patch_version'] = "4.2.7" \ No newline at end of file diff --git a/cookbooks/wazuh_manager/attributes/versions.rb b/cookbooks/wazuh_manager/attributes/versions.rb index 19c140ab..c574df9f 100644 --- a/cookbooks/wazuh_manager/attributes/versions.rb +++ b/cookbooks/wazuh_manager/attributes/versions.rb @@ -4,4 +4,4 @@ default['wazuh']['major_version'] = "4.x" default['wazuh']['minor_version'] = "4.2" -default['wazuh']['patch_version'] = "4.2.5" \ No newline at end of file +default['wazuh']['patch_version'] = "4.2.7" \ No newline at end of file diff --git a/metadata.rb b/metadata.rb index 11cd1d73..7bc824a1 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,7 +4,7 @@ license 'Apache 2.0' description 'Installs/Configures Wazuh with chef cookbooks' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '4.2.5' +version '4.2.7' chef_version '>= 15.0' %w(redhat centos oracle).each do |el|