-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Feature:Saved ObjectsTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//enhancementNew value added to drive a business resultNew value added to drive a business result
Description
When we originally added support for using savedObjectsClient.find with an Elasticsearch point-in-time (PIT), we decided to defer adding support for multiple namespaces until we had a concrete need for it.
With some of the recent refactoring around visualization usage collectors, this need has come up again.
To do this, we'd need to:
- Update
soRepository.openPointInTimeForTypeto handlenamespacesandtypeToNamespacesMapin the same way asfind(including the runtime checks for making sure you don't try to provide both) - Update the secure SOC wrapper implementation of
openPointInTimeForTypeto perform a privilege check and build the namespaces map to provide to the base repository - Remove the restriction on combining
pitwithnamespacesfrom secure SOC wrapperfind soClient.createPointInTimeFinderwill need to ensure thetypeToNamespacesMapis handed off when callingopenPointInTimeForType- Add tests to ensure searching across namespaces works as expected when using
createPointInTimeFinder
Metadata
Metadata
Assignees
Labels
Feature:Saved ObjectsTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//enhancementNew value added to drive a business resultNew value added to drive a business result