Juan Felipe Gonzalez Ortiz ae06c6135f
Add run_as verification in the health-check process (#8050)
* 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>
2026-01-22 16:45:59 -03:00
..

Wazuh dashboard Technical Documentation

This folder contains the technical documentation for the Wazuh dashboard. The documentation is organized into the following guides:

  • Development Guide: Instructions for building, testing, and packaging the application.
  • Reference Manual: Detailed information on the application's architecture, configuration, and usage.
  • Diagnostic Guide: Steps to diagnose errors and resolve common issues.

Requirements

To work with this documentation, you need mdBook installed. For installation instructions, refer to the mdBook documentation.

Usage

  • To build the documentation, run:

    ./build.sh
    

    The output will be generated in the book directory.

  • To serve the documentation locally for preview, run:

    ./server.sh
    

    The documentation will be available at http://127.0.0.1:3000.