Some more details in the Wazuh Manager API logs what I see is.
# When I am logged as cardoso but have Administrator Role assigned for some reason.
2024/09/19 15:00:18 INFO: wazuh-wui 10.27.10.6 "GET /security/users/me/policies" with parameters {} and body {"idHost": "default"} done in 0.261s: 401
2024/09/19 15:00:18 INFO: wazuh-wui 10.27.10.6 "GET /agents/summary/status" with parameters {} and body {} done in 0.264s: 401
2024/09/19 15:00:18 INFO: wazuh-wui 10.27.10.6 "POST /security/user/authenticate" with parameters {} and body {} done in 0.570s: 200
2024/09/19 15:00:19 INFO: wazuh-wui 10.27.10.6 "GET /manager/info" with parameters {} and body {} done in 0.938s: 200
2024/09/19 15:00:19 INFO: wazuh-wui 10.27.10.6 "POST /security/user/authenticate" with parameters {} and body {} done in 0.876s: 200
2024/09/19 15:00:19 INFO: wazuh-wui 10.27.10.6 "POST /security/user/authenticate" with parameters {} and body {} done in 0.633s: 200
2024/09/19 15:00:19 INFO: wazuh-wui 10.27.10.6 "GET /agents" with parameters {"agents_list": "000"} and body {} done in 0.092s: 200
2024/09/19 15:00:19 INFO: wazuh-wui 10.27.10.6 "GET /manager/info" with parameters {} and body {} done in 0.072s: 200
2024/09/19 15:00:19 INFO: wazuh-wui 10.27.10.6 "GET /manager/info" with parameters {} and body {} done in 0.032s: 200
2024/09/19 15:00:19 INFO: wazuh-wui 10.27.10.6 "GET /cluster/status" with parameters {} and body {} done in 0.055s: 200
2024/09/19 15:00:19 INFO: wazuh-wui 10.27.10.6 "GET /agents" with parameters {"agents_list": "000"} and body {} done in 0.059s: 200
2024/09/19 15:00:19 INFO: wazuh-wui 10.27.10.6 "GET /agents" with parameters {"agents_list": "000"} and body {} done in 0.032s: 200
2024/09/19 15:00:19 INFO: wazuh-wui 10.27.10.6 "GET /cluster/status" with parameters {} and body {} done in 0.064s: 200
2024/09/19 15:00:19 INFO: wazuh-wui 10.27.10.6 "GET /cluster/status" with parameters {} and body {} done in 0.074s: 200
2024/09/19 15:00:19 INFO: wazuh-wui 10.27.10.6 "GET /cluster/local/info" with parameters {} and body {} done in 0.097s: 200
2024/09/19 15:00:20 INFO: wazuh-wui 10.27.10.6 "GET /cluster/local/info" with parameters {} and body {} done in 0.083s: 200
2024/09/19 15:00:20 INFO: wazuh-wui 10.27.10.6 "GET /cluster/local/info" with parameters {} and body {} done in 0.052s: 200
2024/09/19 15:00:21 INFO: wazuh-wui 10.27.10.6 "POST /security/user/authenticate" with parameters {} and body {} done in 0.877s: 200
2024/09/19 15:00:21 INFO: wazuh-wui 10.27.10.6 "POST /security/user/authenticate" with parameters {} and body {} done in 0.876s: 200
2024/09/19 15:00:21 INFO: wazuh-wui 10.27.10.6 "GET /security/users/me/policies" with parameters {} and body {"idHost": "default"} done in 0.099s: 200
2024/09/19 15:00:21 INFO: wazuh-wui 10.27.10.6 "GET /security/users/me/policies" with parameters {} and body {"idHost": "default"} done in 0.099s: 200
2024/09/19 15:00:21 INFO: wazuh-wui 10.27.10.6 "GET /security/users/me/policies" with parameters {} and body {"idHost": "default"} done in 0.046s: 200
2024/09/19 15:00:21 INFO: wazuh-wui 10.27.10.6 "GET /agents/summary/status" with parameters {} and body {} done in 0.080s: 200
2024/09/19 15:12:25 INFO: wazuh-wui 10.27.10.6 "GET /manager/info" with parameters {} and body {} done in 0.290s: 200
2024/09/19 15:12:26 INFO: wazuh-wui 10.27.10.6 "POST /security/user/authenticate" with parameters {} and body {} done in 0.739s: 200
2024/09/19 15:12:26 INFO: wazuh-wui 10.27.10.6 "GET /agents" with parameters {"agents_list": "000"} and body {} done in 0.478s: 200
2024/09/19 15:12:26 INFO: wazuh-wui 10.27.10.6 "POST /security/user/authenticate" with parameters {} and body {} done in 0.590s: 200
2024/09/19 15:12:26 INFO: wazuh-wui 10.27.10.6 "GET /manager/version/check" with parameters {"force_query": "false"} and body {} done in 0.279s: 200
2024/09/19 15:12:26 INFO: wazuh-wui 10.27.10.6 "GET /security/users/me" with parameters {} and body {} done in 0.529s: 200
2024/09/19 15:12:26 INFO: wazuh-wui 10.27.10.6 "GET /manager/info" with parameters {} and body {} done in 0.253s: 200
2024/09/19 15:12:26 INFO: wazuh-wui 10.27.10.6 "GET /cluster/status" with parameters {} and body {} done in 0.059s: 200
2024/09/19 15:12:26 INFO: wazuh-wui 10.27.10.6 "GET /agents" with parameters {"agents_list": "000"} and body {} done in 0.031s: 200
2024/09/19 15:12:27 INFO: wazuh-wui 10.27.10.6 "GET /security/users/me" with parameters {} and body {} done in 0.223s: 200
2024/09/19 15:12:27 INFO: wazuh-wui 10.27.10.6 "GET /cluster/local/info" with parameters {} and body {} done in 0.230s: 200
2024/09/19 15:12:27 INFO: wazuh-wui 10.27.10.6 "GET /cluster/status" with parameters {} and body {} done in 0.040s: 200
2024/09/19 15:12:27 INFO: wazuh-wui 10.27.10.6 "GET /cluster/local/info" with parameters {} and body {} done in 0.042s: 200
2024/09/19 15:12:28 INFO: wazuh-wui 10.27.10.6 "POST /security/user/authenticate" with parameters {} and body {} done in 1.159s: 200
2024/09/19 15:12:28 INFO: wazuh-wui (83499f233a5739edfd60e4a2c0952782) 10.27.10.6 "POST /security/user/authenticate/run_as" with parameters {} and body {"user_name": "cardoso", "is_reserved": false, "is_hidden": false, "is_internal_user": false, "user_requested_tenant": "", "backend_roles": [], "custom_attribute_names": ["attr.jwt.iss", "attr.jwt.auth_time", "attr.jwt.preferred_username", "attr.jwt.given_name", "attr.jwt.sub", "attr.jwt.aud", "attr.jwt.acr", "
attr.jwt.name", "attr.jwt.nickname", "attr.jwt.groups", "attr.jwt.exp", "attr.jwt.iat"], "tenants": {"global_tenant": false, "cardoso": true}, "roles": ["OPENID_ROLE_Cardoso"]} done in 1.637s: 200
2024/09/19 15:12:28 INFO: wazuh-wui (83499f233a5739edfd60e4a2c0952782) 10.27.10.6 "POST /security/user/authenticate/run_as" with parameters {} and body {"user_name": "cardoso", "is_reserved": false, "is_hidden": false, "is_internal_user": false, "user_requested_tenant": "", "backend_roles": [], "custom_attribute_names": ["attr.jwt.iss", "attr.jwt.auth_time", "attr.jwt.preferred_username", "attr.jwt.given_name", "attr.jwt.sub", "attr.jwt.aud", "attr.jwt.acr", "
attr.jwt.name", "attr.jwt.nickname", "attr.jwt.groups", "attr.jwt.exp", "attr.jwt.iat"], "tenants": {"global_tenant": false, "cardoso": true}, "roles": ["OPENID_ROLE_Cardoso"]} done in 1.635s: 200
2024/09/19 15:12:28 INFO: wazuh-wui (83499f233a5739edfd60e4a2c0952782) 10.27.10.6 "POST /security/user/authenticate/run_as" with parameters {} and body {"user_name": "cardoso", "is_reserved": false, "is_hidden": false, "is_internal_user": false, "user_requested_tenant": "", "backend_roles": [], "custom_attribute_names": ["attr.jwt.iss", "attr.jwt.auth_time", "attr.jwt.preferred_username", "attr.jwt.given_name", "attr.jwt.sub", "attr.jwt.aud", "attr.jwt.acr", "
attr.jwt.name", "attr.jwt.nickname", "attr.jwt.groups", "attr.jwt.exp", "attr.jwt.iat"], "tenants": {"global_tenant": false, "cardoso": true}, "roles": ["OPENID_ROLE_Cardoso"]} done in 1.168s: 200
2024/09/19 15:12:29 INFO: wazuh-wui 10.27.10.6 "GET /manager/info" with parameters {} and body {} done in 0.240s: 200
2024/09/19 15:12:29 INFO: wazuh-wui 10.27.10.6 "GET /security/users/me/policies" with parameters {} and body {"idHost": "default"} done in 0.109s: 200
2024/09/19 15:12:29 INFO: wazuh-wui 10.27.10.6 "GET /security/users/me/policies" with parameters {} and body {"idHost": "default"} done in 0.112s: 200
2024/09/19 15:12:29 INFO: wazuh-wui 10.27.10.6 "GET /security/users/me/policies" with parameters {} and body {"idHost": "default"} done in 0.114s: 200
2024/09/19 15:12:29 INFO: wazuh-wui 10.27.10.6 "GET /agents" with parameters {"agents_list": "000"} and body {} done in 0.044s: 200
2024/09/19 15:12:29 INFO: wazuh-wui 10.27.10.6 "GET /cluster/status" with parameters {} and body {} done in 0.110s: 200
2024/09/19 15:12:29 INFO: wazuh-wui 10.27.10.6 "GET /agents" with parameters {} and body {} done in 0.070s: 200
2024/09/19 15:12:29 INFO: wazuh-wui 10.27.10.6 "GET /agents" with parameters {} and body {} done in 0.109s: 200
2024/09/19 15:12:29 INFO: wazuh-wui 10.27.10.6 "GET /agents" with parameters {} and body {} done in 0.120s: 200
2024/09/19 15:12:29 INFO: wazuh-wui 10.27.10.6 "GET /cluster/local/info" with parameters {} and body {} done in 0.051s: 200
2024/09/19 15:12:29 INFO: wazuh-wui 10.27.10.6 "GET /" with parameters {} and body {} done in 0.030s: 200
2024/09/19 15:12:29 INFO: wazuh-wui 10.27.10.6 "GET /security/users/me/policies" with parameters {} and body {"idHost": "default"} done in 0.027s: 200
2024/09/19 15:12:29 INFO: wazuh-wui 10.27.10.6 "GET /agents" with parameters {} and body {} done in 0.046s: 200
2024/09/19 15:12:30 INFO: wazuh-wui 10.27.10.6 "GET /agents/summary/status" with parameters {} and body {} done in 0.038s: 200
Somehow seems the Wazuh dashboard is mixing the cookies when the OIDC cookie/session is still valid and grants the Administrator Role to the User, don't execute the calls with that prefix 15:12:28 INFO: wazuh-wui (83499f233a5739edfd60e4a2c0952782)