Skip to content

[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
kibanamachine:backport/9.3/pr-250758
Feb 5, 2026
Merged

[9.3] [Entity Analytics][Privileged Monitoring]Fix index update failing due to invalid API payload (#250758)#250885
kibanamachine merged 2 commits intoelastic:9.3from
kibanamachine:backport/9.3/pr-250758

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.3:

Questions ?

Please refer to the Backport tool documentation

… 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)
@kibanamachine kibanamachine merged commit 0e0a713 into elastic:9.3 Feb 5, 2026
13 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #77 / "before all" hook in "{root}"
  • [job] [logs] FTR Configs #90 / "before all" hook in "{root}"

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 10.8MB 10.8MB -13.0B

cc @CAWilson94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants