mirror of
https://github.com/wazuh/wazuh-dashboard-plugins.git
synced 2026-02-03 17:38:15 -06:00
* Remove RunAsWarning component and its usage from the wz-menu. Introduce server API run_as health check functionality in the backend. Update health check logic to handle server API allow_run_as status. Enhance settings adapter to support default values in schema validation. * Add server API `run_as` health check to documentation Enhance healthcheck documentation by adding a new entry for the `server-api:run_as` check, which validates API user permissions for `run_as` across configured server API hosts. * Add `server-api:run_as` health check entry to CHANGELOG Document the addition of a new health check for `server-api:run_as`, which warns when `allow_run_as` is disabled for configured API hosts. This entry enhances the clarity of health check functionalities in the project. * fix(docs): server-api:run-as check name * Refine `server-api:run_as` health check documentation and logging Updated the health check documentation for `server-api:run_as` to clarify the validation process for API user permissions. Enhanced logging messages to provide clearer context regarding the status of `run_as` permissions for server API hosts. * Change logging level from warn to info for server API compatibility check in health check process * Enhance server API health check logging for `run_as` permissions Updated logging messages to clarify the status of `run_as` permissions for server API hosts. Added a warning for hosts where permission checks could not be performed and refined error handling to specify which hosts do not have `run_as` enabled. * Fix prettier * fix: typo * Refactor server API health check logic for `run_as` permissions Updated the health check implementation to streamline the handling of `run_as` permissions. Enhanced logging to provide clearer warnings for hosts that have not enabled `run_as` or where permission checks could not be performed. * fix: prettier --------- Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>