-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command Manager configuration file #180
Comments
Spike. Check if custom settings can be added to
|
Identify settings to expose
Note Some configurations were kept as constants rather than settings preventing runtime changes, which could lead to inconsistencies within plugin components and external interactions. Based on the previous definitions, we have analyzed a potential structure for the command-manager configuration. Here is a proposed YAML structure: command_manager:
client:
timeout: int # Default: 20
job:
schedule: int # Default: 1
page_size: int # Default: 100
pit_keep_alive: int # Default: 30
|
The updated configuration might look like this:management_api:
nodes:
- auth:
username: secure string
password: secure string
host: string
|
The settings are registered, and the constant usages have been replaced with their corresponding values. These settings will be loaded from the The |
Generated a documentation proposal that can be found at the main comment of the PR #213 |
Description
Aside from using the OpenSearch's keystore for storing sensitive data, the Command Manager needs to expose several non-sensitive settings that modify its behavior. The values for these properties are currently set by code, so the CM plugin needs to expose these settings to a configuration file, read, validate and apply these settings correctly.
A proposition of the settings to be exposed, and their accepted values, must be provided.
wazuh/wazuh#27158 can be used as reference.
Functional requirements
Implementation restrictions
opensearch.yml
is preferred.Plan
opensearch.yml
.Related issues
opensearch.yml
#171The text was updated successfully, but these errors were encountered: