Skip to content

Commit

Permalink
Merge pull request #1167 from wazuh/merge-4.10.2-into-master
Browse files Browse the repository at this point in the history
Merge 4.10.2 into master
  • Loading branch information
teddytpc1 authored Nov 4, 2024
2 parents a583f3c + 2e5ac19 commit e672982
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ All notable changes to this project will be documented in this file.

### Changed

- Delete API parameters from wazuh.yml template ([#1155](https://github.com/wazuh/wazuh-puppet/pull/1155)) \- (Puppet Module)
- Add URI file after upload ([#1143](https://github.com/wazuh/wazuh-puppet/pull/1143)) \- (Puppet Module Builder)
- Modfy Puppet module builder ([#1113](https://github.com/wazuh/wazuh-puppet/pull/1113)) \- (Puppet Module Builder)

Expand All @@ -75,6 +76,12 @@ All notable changes to this project will be documented in this file.

- None

## Wazuh Puppet v4.9.2

### Added

- Support to 4.9.2 Wazuh release.

## Wazuh Puppet v4.9.1

### Added
Expand Down
3 changes: 0 additions & 3 deletions manifests/manager.pp
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,6 @@


$wazuh_api_cors_allow_credentials = $::wazuh::params_manager::wazuh_api_cors_allow_credentials,
$wazuh_api_cache_enabled = $::wazuh::params_manager::wazuh_api_cache_enabled,

$wazuh_api_cache_time = $::wazuh::params_manager::wazuh_api_cache_time,

$wazuh_api_access_max_login_attempts = $::wazuh::params_manager::wazuh_api_access_max_login_attempts,
$wazuh_api_access_block_time = $::wazuh::params_manager::wazuh_api_access_block_time,
Expand Down
6 changes: 1 addition & 5 deletions manifests/params_manager.pp
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@

#API

$wazuh_api_host = '0.0.0.0'
$wazuh_api_host = ['0.0.0.0']
$wazuh_api_port = '55000'

$wazuh_api_file = undef
Expand All @@ -341,10 +341,6 @@
$wazuh_api_cors_allow_headers = '"*"'
$wazuh_api_cors_allow_credentials = 'no'

# Cache (time in seconds)
$wazuh_api_cache_enabled = 'yes'
$wazuh_api_cache_time = '0.750'

# Access parameters
$wazuh_api_access_max_login_attempts = 5
$wazuh_api_access_block_time = 300
Expand Down
4 changes: 0 additions & 4 deletions templates/wazuh_api_yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ cors:
expose_headers: <%= @wazuh_api_cors_expose_headers %>
allow_headers: <%= @wazuh_api_cors_allow_headers %>
allow_credentials: <%= @wazuh_api_cors_allow_credentials %>
# Cache (time in seconds)
cache:
enabled: <%= @wazuh_api_cache_enabled %>
time: <%= @wazuh_api_cache_time %>
# Access parameters
access:
max_login_attempts: <%= @wazuh_api_access_max_login_attempts %>
Expand Down

0 comments on commit e672982

Please sign in to comment.