-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[8.0 only] Make rule and connector saved objects share-capable #100067
Comments
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
cc @legrego |
The alerting framework is responsible for the
Other saved objects that reference
|
I started doing some basic ad-hoc testing around this by creating multiple spaces and a rule/connector in each space on master. I then changed the above saved object types to the "share-capable" This is what happened:
The UI doesn't show any problem though. That's definitely something we'll need to address (which I'm sure we knew about before I did this) |
Created the following issues for our external dependencies:
|
Follow-up issues created so closing this research issue and moving to Done. |
I'm reopening this as the original research needs to be adjusted based on some recent conversations between our team and the security team. |
In case anyone is following this issue but not the linked meta-issue (#100489): I published the Sharing Saved Objects developer guide, please take a look before proceeding with the implementation. And of course, please reach out if you run into any problems! |
Problem Statement
In order to support sharing rules and connectors in a minor release (at some point in 8.x), we need to make some breaking changes in advance (in 8.0) to make sure our saved objects "ready" for sharing at a future time. We did not complete the research yet to know the exact changes that are necessary to our codebase for the readiness to be successful. Let's use this issue to research the necessary changes, work with the Kibana Security team and use #100489 to identify what changes are necessary for 8.0.
As part of the sharing saved-objects in multiple spaces project, we need to convert all of our space-specific saved object types to
share-capable
/multiple-isolated
namespace type in the 8.0 release (meta: #100489). This is required to enable us at a future time to support sharing our saved objects across spaces.After talking with @jportner, this 8.0 migration will remove the namespace from the serialized saved object ID (ex:
space-1:rule:123
->rule:123
), and generate a new object ID, which is why this needs to happen in a major version as a breaking change. For this to work, we'll need to make sure any place storing our SO IDs uses saved object references or is considered part of our migration.Things top of mind:
A lot of details are missing in this issue on how to resolve this. More details will come as the Kibana security team finalizes the work. It is still good to research in advance to see if we need anything further based on my top of mind list.
The text was updated successfully, but these errors were encountered: