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 health API only considers rules in the default space #99930

Closed
mikecote opened this issue May 12, 2021 · 1 comment · Fixed by #100879
Closed

Alerting health API only considers rules in the default space #99930

mikecote opened this issue May 12, 2021 · 1 comment · Fixed by #100879
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@mikecote
Copy link
Contributor

mikecote commented May 12, 2021

I looked at the code within https://github.com/elastic/kibana/blob/master/x-pack/plugins/alerting/server/health/get_health.ts and saw the usage of internalSavedObjectsRepository, which works only with the default space by default (need to specify namespace otherwise). These checks and the health API should consider rules in all spaces.

@mikecote mikecote added bug Fixes for quality problems that affect the customer experience Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels May 12, 2021
@elasticmachine
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants