Role-based access control (RBAC) adds the capability to control access to different endpoints and resources through the Wazuh server API based on users' privileges.