Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #124 from wazuh/release_4.0.4
Browse files Browse the repository at this point in the history
Release 4.0.4
  • Loading branch information
Sergio García Prados authored Jan 20, 2021
2 parents 84cc3e8 + de2a118 commit 7c41121
Show file tree
Hide file tree
Showing 12 changed files with 62 additions and 39 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Kitchen tests for Wazuh Chef

on:
push:
branches:
- feature-cookbooks
pull_request:
branches:
- feature-cookbooks
on: [push, workflow_dispatch]

jobs:
kitchen-test:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Change Log
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))
- Support for new Wazuh API config options.

## Wazuh Chef v4.0.3_1.11.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Deploy the Wazuh platform using Chef cookbooks. Chef recipes are prepared for in

| Wazuh version | Elastic | ODFE |
|---------------|---------|--------|
| v4.0.3 | v7.9.3 | v1.11.0|
| v4.0.4 | v7.9.3 | v1.11.0|

## Dependencies

Expand Down
4 changes: 2 additions & 2 deletions cookbooks/elastic-stack/attributes/versions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Wazuh
default['wazuh']['major_version'] = '4.x'
default['wazuh']['minor_version'] = '4.0'
default['wazuh']['patch_version'] = '4.0.3'
default['wazuh']['patch_version'] = '4.0.4'

# Kibana
default['wazuh']['kibana_plugin_version'] = '4.0.3_7.9.3'
default['wazuh']['kibana_plugin_version'] = '4.0.4_7.9.3'
2 changes: 1 addition & 1 deletion cookbooks/filebeat-oss/attributes/versions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
# Wazuh
default['wazuh']['major_version'] = "4.x"
default['wazuh']['minor_version'] = "4.0"
default['wazuh']['patch_version'] = "4.0.3"
default['wazuh']['patch_version'] = "4.0.4"
2 changes: 1 addition & 1 deletion cookbooks/filebeat/attributes/versions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
# Wazuh
default['wazuh']['major_version'] = "4.x"
default['wazuh']['minor_version'] = "4.0"
default['wazuh']['patch_version'] = "4.0.3"
default['wazuh']['patch_version'] = "4.0.4"
4 changes: 2 additions & 2 deletions cookbooks/opendistro/attributes/versions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
# Wazuh
default['wazuh']['major_version'] = '4.x'
default['wazuh']['minor_version'] = '4.0'
default['wazuh']['patch_version'] = '4.0.3'
default['wazuh']['patch_version'] = '4.0.4'

# Kibana
default['wazuh']['kibana_plugin_version'] = '4.0.3_7.9.1'
default['wazuh']['kibana_plugin_version'] = '4.0.4_7.9.1'

# Search guard
default['searchguard']['version'] = '1.8'
2 changes: 1 addition & 1 deletion cookbooks/wazuh_agent/attributes/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

default['wazuh']['major_version'] = "4.x"
default['wazuh']['minor_version'] = "4.0"
default['wazuh']['patch_version'] = "4.0.3"
default['wazuh']['patch_version'] = "4.0.4"
2 changes: 1 addition & 1 deletion cookbooks/wazuh_manager/attributes/versions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

default['wazuh']['major_version'] = "4.x"
default['wazuh']['minor_version'] = "4.0"
default['wazuh']['patch_version'] = "4.0.3"
default['wazuh']['patch_version'] = "4.0.4"
67 changes: 45 additions & 22 deletions cookbooks/wazuh_manager/templates/default/api.yaml.erb
Original file line number Diff line number Diff line change
@@ -1,37 +1,60 @@
# Wazuh - Api configuration file
# USE THIS FILE AS A TEMPLATE. UNCOMMENT LINES TO APPLY CUSTOM CONFIGURATION

host: <%= @host %>
port: <%= @port %>

# Set this option to "yes" in case the API is running behind a proxy server. Values: yes, no
behind_proxy_server: no

use_only_authd: no
drop_privileges: yes
experimental_features: no
# Advanced configuration

https:
enabled: yes
key: "api/configuration/ssl/server.key"
cert: "api/configuration/ssl/server.crt"
use_ca: False
ca: "api/configuration/ssl/ca.crt"
enabled: yes
key: "api/configuration/ssl/server.key"
cert: "api/configuration/ssl/server.crt"
use_ca: False
ca: "api/configuration/ssl/ca.crt"
ssl_cipher: "TLSv1.2"

# Logging configuration
# Values for API log level: disabled, info, warning, error, debug, debug2 (each level includes the previous level).
logs:
level: "info"
path: "logs/api.log"
level: "info"
path: "logs/api.log"

# Cross-origin resource sharing: https://github.com/aio-libs/aiohttp-cors#usage
cors:
enabled: no
source_route: "*"
expose_headers: "*"
allow_headers: "*"
allow_credentials: no
enabled: no
source_route: "*"
expose_headers: "*"
allow_headers: "*"
allow_credentials: no

# Cache (time in seconds)
cache:
enabled: yes
time: 0.750
enabled: yes
time: 0.750

# Access parameters
access:
max_login_attempts: 50
block_time: 300
max_request_per_minute: 300
max_login_attempts: 50
block_time: 300
max_request_per_minute: 300

# Force the use of authd when adding and removing agents. Values: yes, no
use_only_authd: no

# Drop privileges (Run as ossec user)
drop_privileges: yes

# Enable features under development
experimental_features: no


# Enable remote commands
remote_commands:
localfile:
enabled: yes
exceptions: []
wodle_command:
enabled: yes
exceptions: []
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.3'
version '4.0.4'
chef_version '>= 15.0'

%w(redhat centos oracle).each do |el|
Expand Down

0 comments on commit 7c41121

Please sign in to comment.