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 28
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 #124 from wazuh/release_4.0.4
Release 4.0.4
- Loading branch information
Showing
12 changed files
with
62 additions
and
39 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
File renamed without changes.
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
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
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,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: [] |
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