[9.3] [Entity Analytics][Privileged Monitoring]Fix index update failing due to invalid API payload (#250758)#250885
Merged
kibanamachine merged 2 commits intoelastic:9.3from Feb 5, 2026
Conversation
… to invalid API payload (elastic#250758) **Copilot:** This pull request makes a minor update to the API call in the `useEntityAnalyticsRoutes` hook. The change removes the unnecessary `type: 'index'` property from the request body, simplifying the payload. ### Summary This fixes a bug causing an issue where, after creating the initial index in the management page, no new indices could be selected, as the update payload no longer supports the type field. **Desk Testing Steps:** 1. Load up kibana 2. Add a couple of indicies from the manage sources page of privmon 3. Add a user or two to both indicies 4. Add one index to manage sources - index, update privileged users. 5. Try to delete that index from the options, and add the second instead. OR add the second index and try to update privileged users. 6. Should see - both / either indicies are available on update. **Desk Test Demo:** https://github.com/user-attachments/assets/1c4f5e87-9b03-4b75-92ca-450c5f5cfca3 (cherry picked from commit 412a84d)
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
cc @CAWilson94 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.3:Questions ?
Please refer to the Backport tool documentation