Skip to content
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

Add validation to the plugin configuration file #4743

Closed
Desvelao opened this issue Oct 21, 2022 · 1 comment
Closed

Add validation to the plugin configuration file #4743

Desvelao opened this issue Oct 21, 2022 · 1 comment
Labels
level/task Task issue type/enhancement Enhancement issue

Comments

@Desvelao
Copy link
Member

Desvelao commented Oct 21, 2022

Describe the solution you'd like
The plugin configuration is read from the file wazuh.yml and their values are not validated. It could cause some problems when the value is not valid for the functionality.

This affects changes done by the user manually.

Describe alternatives you've considered
Some suggestions are:

  • Validate the plugin configuration when this is read (desireable).
    • Throw errors/warnings and use valid values or stop the application until the value is fixed
  • Validate the plugin configuration when it starts at least.

Additional context
Add any other context or screenshots about the feature request here.

@Desvelao Desvelao added the type/enhancement Enhancement issue label Oct 21, 2022
@gdiazlo gdiazlo added the level/task Task issue label Apr 26, 2023
@Desvelao
Copy link
Member Author

The configuration will change in the future major 5.x, so this will be not necessary. Related issue: wazuh/wazuh-dashboard#339

I will close the issue as not planned.

@Desvelao Desvelao closed this as not planned Won't fix, can't repro, duplicate, stale Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/enhancement Enhancement issue
Projects
None yet
Development

No branches or pull requests

2 participants