wazuh-dashboard-plugins icon indicating copy to clipboard operation
wazuh-dashboard-plugins copied to clipboard

Add validation to the plugin configuration file

Open Desvelao opened this issue 1 year ago • 0 comments

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 avatar Oct 21 '22 12:10 Desvelao