elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.82k stars 8.2k forks source link

[Security GenAI] When a "global" Knowledge Base entry is updated to "private", a duplicate "private" entry gets created and the global entry remains unchanged #197157

Open peluja1012 opened 2 hours ago

peluja1012 commented 2 hours ago

Describe the bug: When a "global" Knowledge Base entry is updated to "private", a duplicate "private" entry gets created and the global entry remains unchanged. Global KB entries should have the ability to be updated to private entries.

Kibana/Elasticsearch Stack version: 8.16 BC1

Steps to reproduce:

  1. Create an document KB entry with a sharing value of "global" in Stack Management -> AI Assistants -> Knowledge Base.
  2. Update this document entry in the UI and set the sharing value to "private". Save.
  3. Notice how the "global" entry remains and a new "private" entry is created.

Screenshots: Screen recording: https://github.com/user-attachments/assets/ac4e9f4c-0dc4-4a60-b3b7-76507044a810

Screenshot: Image

elasticmachine commented 2 hours ago

Pinging @elastic/security-solution (Team: SecuritySolution)