When users with maintenance, write, read, and view_index_metadata privileges for the indices .alerts-security.alerts-* and .internal.alerts-security.alerts-* and Read access to Security in Kibana select an alert in the Alerts Table or the Alert Detail Flyout and tries to assign the alert to a user, the system shows two messages:
“Successfully updated assignees for 1 alert.”
This message indicates the assignment was processed successfully.
“Failed to find users”
This message shows an error related to the API call:
API [POST /internal/security/user_profile/_bulk_get] is unauthorized for user, this action is granted by the Kibana privileges [bulkGetUserProfiles] (403)
Despite the success message, the assignment does not seem to work properly.
Kibana/Elasticsearch Stack version:
8.17
Server OS version:
Browser and Browser OS versions:
Elastic Endpoint version:
Original install method (e.g. download page, yum, from source, etc.):
Functional Area (e.g. Endpoint management, timelines, resolver, etc.):
Pre requisites:
Create a new role in Kibana with the following settings:
{
"statusCode": 403,
"error": "Forbidden",
"message": "API [POST /internal/security/user_profile/_bulk_get] is unauthorized for user, this action is granted by the Kibana privileges [bulkGetUserProfiles]"
}
Provide logs and/or server output (if relevant):
Any additional context (logs, chat logs, magical formulas, etc.):
Describe the bug:
When users with
maintenance, write, read, and view_index_metadata
privileges for the indices.alerts-security.alerts-* and .internal.alerts-security.alerts-*
andRead
access to Security in Kibana select an alert in the Alerts Table or the Alert Detail Flyout and tries to assign the alert to a user, the system shows two messages:Despite the success message, the assignment does not seem to work properly.
Kibana/Elasticsearch Stack version:
8.17
Server OS version:
Browser and Browser OS versions:
Elastic Endpoint version:
Original install method (e.g. download page, yum, from source, etc.):
Functional Area (e.g. Endpoint management, timelines, resolver, etc.):
Pre requisites:
Create a new role in Kibana with the following settings:
Steps to reproduce:
Current behavior:
Expected behavior:
Screenshots (if relevant):
https://github.com/user-attachments/assets/3e91db80-ae55-4d11-a359-3f7a30a8f64b
https://github.com/user-attachments/assets/10df938b-737f-4d76-ab5d-4e0b278b416d
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context (logs, chat logs, magical formulas, etc.):