This repository has been archived by the owner on Jul 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from wazuh/wazuh-release-v3.11.1_7.5.1
Wazuh release v3.11.1_7.5.1
- Loading branch information
Showing
15 changed files
with
226 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
default['ossec']['conf']['logging']['log_format'] = 'plain' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
default['wazuh-agent']['version'] = "3.11.0" | ||
default['wazuh-agent']['version'] = "3.11.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
default['wazuh-elastic']['kibana_server_host'] = '0.0.0.0' | ||
default['wazuh-elastic']['kibana_server_port'] = '5601' | ||
default['wazuh-elastic']['kibana_elasticsearch_server_hosts'] = "http://#{node['wazuh-elastic']['elasticsearch_ip']}:#{node['wazuh-elastic']['elasticsearch_port']}" | ||
default['wazuh-elastic']['kibana_elasticsearch_server_hosts'] = "http://#{node['wazuh-elastic']['elasticsearch_ip']}:#{node['wazuh-elastic']['elasticsearch_port']}" | ||
default['wazuh-elastic']['kibana_wazuh_api_credentials'] = [ { id: "default", url: "http://localhost", port: "55000", user: "foo", password: "bar" } ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
default['wazuh-elastic']['elastic_stack_version'] = '7.5.1' | ||
default['wazuh-elastic']['wazuh_app_version'] = "3.11.0_7.5.1" | ||
default['wazuh-elastic']['extensions_version'] = "v3.11.0" | ||
default['wazuh-elastic']['wazuh_app_version'] = "3.11.1_7.5.1" | ||
default['wazuh-elastic']['extensions_version'] = "v3.11.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
136 changes: 136 additions & 0 deletions
136
cookbooks/wazuh_elastic/templates/default/wazuh.yml.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
--- | ||
# | ||
# Wazuh app - App configuration file | ||
# Copyright (C) 2015-2019 Wazuh, Inc. | ||
# | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 2 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# Find more information about this on the LICENSE file. | ||
# | ||
# ======================== Wazuh app configuration file ======================== | ||
# | ||
# Please check the documentation for more information on configuration options: | ||
# https://documentation.wazuh.com/current/installation-guide/index.html | ||
# | ||
# Also, you can check our repository: | ||
# https://github.com/wazuh/wazuh-kibana-app | ||
# | ||
# ------------------------------- Index patterns ------------------------------- | ||
# | ||
# Default index pattern to use. | ||
#pattern: wazuh-alerts-3.x-* | ||
# | ||
# ----------------------------------- Checks ----------------------------------- | ||
# | ||
# Defines which checks must to be consider by the healthcheck | ||
# step once the Wazuh app starts. Values must to be true or false. | ||
#checks.pattern : true | ||
#checks.template: true | ||
#checks.api : true | ||
#checks.setup : true | ||
# | ||
# --------------------------------- Extensions --------------------------------- | ||
# | ||
# Defines which extensions should be activated when you add a new API entry. | ||
# You can change them after Wazuh app starts. | ||
# Values must to be true or false. | ||
#extensions.pci : true | ||
#extensions.gdpr : true | ||
#extensions.hipaa : true | ||
#extensions.nist : true | ||
#extensions.audit : true | ||
#extensions.oscap : false | ||
#extensions.ciscat : false | ||
#extensions.aws : false | ||
#extensions.virustotal: false | ||
#extensions.osquery : false | ||
#extensions.docker : false | ||
# | ||
# ---------------------------------- Time out ---------------------------------- | ||
# | ||
# Defines maximum timeout to be used on the Wazuh app requests. | ||
# It will be ignored if it is bellow 1500. | ||
# It means milliseconds before we consider a request as failed. | ||
# Default: 20000 | ||
#timeout: 20000 | ||
# | ||
# ------------------------------ Advanced indices ------------------------------ | ||
# | ||
# Configure .wazuh indices shards and replicas. | ||
#wazuh.shards : 1 | ||
#wazuh.replicas : 0 | ||
# | ||
# --------------------------- Index pattern selector --------------------------- | ||
# | ||
# Defines if the user is allowed to change the selected | ||
# index pattern directly from the Wazuh app top menu. | ||
# Default: true | ||
#ip.selector: true | ||
# | ||
# List of index patterns to be ignored | ||
#ip.ignore: [] | ||
# | ||
# -------------------------------- X-Pack RBAC --------------------------------- | ||
# | ||
# Custom setting to enable/disable built-in X-Pack RBAC security capabilities. | ||
# Default: enabled | ||
#xpack.rbac.enabled: true | ||
# | ||
# ------------------------------ wazuh-monitoring ------------------------------ | ||
# | ||
# Custom setting to enable/disable wazuh-monitoring indices. | ||
# Values: true, false, worker | ||
# If worker is given as value, the app will show the Agents status | ||
# visualization but won't insert data on wazuh-monitoring indices. | ||
# Default: true | ||
#wazuh.monitoring.enabled: true | ||
# | ||
# Custom setting to set the frequency for wazuh-monitoring indices cron task. | ||
# Default: 900 (s) | ||
#wazuh.monitoring.frequency: 900 | ||
# | ||
# Configure wazuh-monitoring-3.x-* indices shards and replicas. | ||
#wazuh.monitoring.shards: 2 | ||
#wazuh.monitoring.replicas: 0 | ||
# | ||
# Configure wazuh-monitoring-3.x-* indices custom creation interval. | ||
# Values: h (hourly), d (daily), w (weekly), m (monthly) | ||
# Default: d | ||
#wazuh.monitoring.creation: d | ||
# | ||
# Default index pattern to use for Wazuh monitoring | ||
#wazuh.monitoring.pattern: wazuh-monitoring-3.x-* | ||
# | ||
# | ||
# ------------------------------- App privileges -------------------------------- | ||
#admin: true | ||
# | ||
# ------------------------------- App logging level ----------------------------- | ||
# Set the logging level for the Wazuh App log files. | ||
# Default value: info | ||
# Allowed values: info, debug | ||
#logs.level: info | ||
# | ||
#-------------------------------- API entries ----------------------------------- | ||
#The following configuration is the default structure to define an API entry. | ||
# | ||
#hosts: | ||
# - <id>: | ||
# url: http(s)://<url> | ||
# port: <port> | ||
# user: <user> | ||
# password: <password> | ||
hosts: | ||
<% if node['wazuh-elastic']['kibana_wazuh_api_credentials'].length > 0 %> | ||
<% node['wazuh-elastic']['kibana_wazuh_api_credentials'].each do |api| -%> | ||
- <%= api[:id] %>: | ||
url: <%= api[:url] %> | ||
port: <%= api[:port] %> | ||
user: <%= api[:user] %> | ||
password: <%= api[:password] %> | ||
<% end -%> | ||
<% else -%> | ||
<% end -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
default['filebeat']['elastic_stack_version'] = '7.5.1' | ||
default['filebeat']['wazuh_app_version'] = "3.11.0_7.5.1" | ||
default['filebeat']['extensions_version'] = "v3.11.0" | ||
default['filebeat']['wazuh_app_version'] = "3.11.1_7.5.1" | ||
default['filebeat']['extensions_version'] = "v3.11.1" | ||
default['filebeat']['wazuh_filebeat_module'] = "wazuh-filebeat-0.1.tar.gz" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
default['wazuh-manager']['version'] = "3.11.0" | ||
default['wazuh-manager']['version'] = "3.11.1" |
26 changes: 26 additions & 0 deletions
26
cookbooks/wazuh_manager/attributes/vulnerability-detector.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
default['ossec']['conf']['vulnerability-detector']['enabled'] = 'no' | ||
default['ossec']['conf']['vulnerability-detector']['interval'] = '5m' | ||
default['ossec']['conf']['vulnerability-detector']['ignore_time'] = '6h' | ||
default['ossec']['conf']['vulnerability-detector']['run_on_start'] = 'yes' | ||
default['ossec']['conf']['vulnerability-detector']['provider'] = [ | ||
{ '@name' => 'canonical', | ||
'enabled' => 'no', | ||
'os' => ['precise', 'trusty', 'xenial', 'bionic'], | ||
'update_interval' => '1h' | ||
}, | ||
{ '@name' => 'debian', | ||
'enabled' => 'no', | ||
'os' => ['wheezy', 'stretch', 'jessie', 'buster'], | ||
'update_interval' => '1h' | ||
}, | ||
{ '@name' => 'redhat', | ||
'enabled' => 'no', | ||
'update_from_year' => '2010', | ||
'update_interval' => '1h' | ||
}, | ||
{ '@name' => 'nvd', | ||
'enabled' => 'no', | ||
'update_from_year' => '2010', | ||
'update_interval' => '1h' | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters