wazuh-manager-apid

The wazuh-manager-apid executable runs the Wazuh manager REST API service.

The Wazuh manager API provides an HTTPS REST interface for interacting with the Wazuh manager. It uses JSON Web Token (JWT) authentication and Role-Based Access Control (RBAC) to authenticate and authorize API requests.

The API enables applications, the Wazuh dashboard, and other clients to securely manage and monitor the Wazuh manager through REST endpoints.

Option

Description

-c <config>

Reads the Wazuh manager API configuration from the specified YAML file instead of /var/wazuh-manager/api/configuration/api.yaml. Settings missing from the file take their default values.

-d

Enables debug messages. Repeat the option (for example, -dd) to increase the verbosity.

-f

Runs the service in the foreground.

-h, --help

Displays the help message and exits.

-r

Keeps the service running as root. Without this option, the service switches to the wazuh-manager user when it starts.

-t

Tests the configuration.

-V

Displays version information.