Antonio

Results 189 comments of Antonio

- Added tests to validate each setting in the endpoint to update the plugin configuration on the backend. - Added tests related to validation for `useForm` hook and `InputForm` component

### Enhancement suggestion - The names of indices don't support any characters. For Kibana 7.10.2, they could be: https://github.com/elastic/elasticsearch/blob/v7.10.2/docs/reference/indices/create-index.asciidoc > affected settings: `alerts.sample.prefix` , `cron.prefix`, `cron.statistics.index.name` - Index patterns name....

- Enhanced the validation of some plugin settings related to indices and index patterns. - Added tests for these validations. - Added tests for the input validation.

- Updated the development branch with the base branch

# Update - Fix a bug in the `useForm` hook - Refactor the definition of the setting validation functions to a class with static methods

# Update - Enhance the validation of the settings of type `number` checking if these are integers. Related to https://github.com/wazuh/wazuh-kibana-app/pull/4501#issuecomment-1286687890. ![image](https://user-images.githubusercontent.com/34042064/197172141-a1a44ffe-9963-4132-ac7f-54157f508be3.png)

### Add feedback to the form's input The management of the inputs for the plugin's settings has been improved. The following features have been added: - An error message is...

- Added validation to each setting of the plugin in the frontend and the backend.

- Fixed some settings validation errors - Updated the development branch with the last changes of the base branch

- Added tests to validate the updating of plugin settings using the API endpoint `PUT /utils/configuration`. (WIP)