wazuh-dashboard-plugins
wazuh-dashboard-plugins copied to clipboard
Add validation to the plugin configuration file
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.