elastic/kibana
View on GitHub[Security Solution][Bug] Commenter Identity Mismatch in Rule Exceptions (ID vs. Username)
Open
#259743 opened on Mar 26, 2026
Feature:Rule ExceptionsTeam: SecuritySolutionTeam:Detection EngineTeam:Detections and Respbugeffort:lowgood first issueimpact:lowv9.4.0value:medium
Description
Describe the bug:
- When a user adds a comment to a Rule Exception, the UI correctly displays their Username and Avatar during the drafting phase. However, once the comment is saved and viewed in the "Active exceptions" list, the UI displays the User ID (e.g., a numeric string like 2983883891) instead of the actual Username.
Kibana/Elasticsearch Stack version:
VERSION: 9.4.0
BUILD: 99548
COMMIT: 5f7b89e1881bc6e1466b6723aaf19c54f8777719
Pre conditions: 1.Kibana 9.4.0 must be running. 2.User have rules running and some alerts generated.
Steps to reproduce:
- Navigate to Security > Rules > Detection rules (SIEM).
- Select a rule and go to the Rule exceptions tab.
- Click on the "..." (Actions) menu for an existing exception and select "Edit rule exception".
- Scroll to the Add comments section and type a comment.
- Note that the avatar and username are correctly displayed next to the text box while typing.
- Click "Edit rule exception" (Save button).
- On the main exceptions list, click "Show comments (X)" to expand the thread.
- Observe the name displayed next to the saved comment.
Current behavior:
- The UI displays the raw User ID (e.g., 2983883891), making it difficult for team members to identify the commenter without looking up the ID manually.
Expected behavior:
- The saved comment should display the Username to ensure clear accountability and readability.
Screen capture:
https://github.com/user-attachments/assets/a0ae3736-408b-49f4-91e2-b739bfc663d6