Skip to content

[9.4] Change WatchlistConfigClient to use internal Elasticsearch client instead of current user (#265966) - #266437

Merged
kibanamachine merged 1 commit into
elastic:9.4from
kibanamachine:backport/9.4/pr-265966
Apr 29, 2026
Merged

[9.4] Change WatchlistConfigClient to use internal Elasticsearch client instead of current user (#265966)#266437
kibanamachine merged 1 commit into
elastic:9.4from
kibanamachine:backport/9.4/pr-265966

Change WatchlistConfigClient to use internal Elasticsearch client in…

d33eb9e
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Backport Review succeeded Apr 29, 2026 in 3m 1s

Backport Review: Clean backport, no issues found

Backport of #265966 to 9.4 — all 11 files are present with identical changes.

In-scope test file (x-pack/**/test/**):

  • x-pack/solutions/security/test/security_solution_cypress/cypress/e2e/entity_analytics/watchlists/watchlists_page.cy.ts — correctly removes the PRIVMON_PRIVILEGE_CHECK_API import and the cy.intercept stub in beforeEach, matching the original PR exactly.

No missing/extra files, no conflict markers, no ghost references to the deleted use_watchlists_privileges hook or fetchWatchlistPrivileges API, and no version-specific term issues for the 9.4 branch.

Details

Note

Your check run agent prompt is: .macroscope/backport-review.md
More information about how Check Run Agents work can be found in our Help Center.

Files compared (original → backport)

File Original Backport Status
de-DE.json −2 lines −2 lines ✅ Match
fr-FR.json −2 lines −2 lines ✅ Match
ja-JP.json −2 lines −2 lines ✅ Match
zh-CN.json −2 lines −2 lines ✅ Match
api.ts −9 lines −9 lines ✅ Match
use_watchlists_privileges.ts deleted (−21) deleted (−21) ✅ Match
watchlists/index.tsx +2/−45 +2/−45 ✅ Match
routes/create.ts +1 +1 ✅ Match
watchlist_config.test.ts +3 +3 ✅ Match
watchlist_config.ts +11/−1 +11/−1 ✅ Match
watchlists_page.cy.ts −16 lines −16 lines ✅ Match

Ghost reference checks

  • use_watchlists_privileges — no remaining references on the backport branch
  • fetchWatchlistPrivileges — no remaining references on the backport branch
  • watchlistsPrivileges — no remaining references in test files

Conflict markers

None found.


Agent Credits: 61 credits