Skip to content
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

[Alerting][Discuss] Update handling of pre-defined IDs in rules client #107962

Open
ymao1 opened this issue Aug 9, 2021 · 2 comments
Open

[Alerting][Discuss] Update handling of pre-defined IDs in rules client #107962

ymao1 opened this issue Aug 9, 2021 · 2 comments
Labels
core services Issues related to enabling features across Kibana to leverage core services across domains discuss Feature:Alerting/RulesManagement Issues related to the Rules Management UX Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) technical debt Improvement of the software architecture and operational architecture

Comments

@ymao1
Copy link
Contributor

ymao1 commented Aug 9, 2021

With this issue, we are deprecating support for pre-defined IDs from the HTTP rule create API but not the rules client. This allows internal users to continue creating rules with predefined IDs (although no internal user has taken advantage to date).

This issue is for discussing ways of allowing rules client consumers to specify pre-defined ID on rule creation and then being able to retrieve rules using that ID, even if the actual rule SO ID is different. This would allow consumers to create rules with the same pre-defined (static) ID in different spaces (since 8.0, SOs cannot have the same ID, even in different spaces).

Some suggestions to investigate:

  • utilize tags (similar to what security solutions does now with internal tags)
  • use the originId field in the saved object.
@ymao1 ymao1 added discuss Feature:Alerting Feature:Alerting/RulesManagement Issues related to the Rules Management UX Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Aug 9, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@gmmorris gmmorris added technical debt Improvement of the software architecture and operational architecture core services Issues related to enabling features across Kibana to leverage core services across domains labels Aug 16, 2021
@gmmorris
Copy link
Contributor

Marking as core services and technical debt as this directly relates to the Sharing of SO breaking changes in 8.0

@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core services Issues related to enabling features across Kibana to leverage core services across domains discuss Feature:Alerting/RulesManagement Issues related to the Rules Management UX Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) technical debt Improvement of the software architecture and operational architecture
Projects
No open projects
Development

No branches or pull requests

4 participants