[ResponseOps] space-agnostic admin-only route to return all rules / connectors #137352
Labels
Feature:Actions/Framework
Issues related to the Actions Framework
Feature:Alerting/RulesFramework
Issues related to the Alerting Rules Framework
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
For support purposes, and specifically the Kibana diagnostics tool, we're considering adding routes for rules and connectors that would return all the relevant SO's like their
find
routes currently do, except it would return ALL the rules / connectors across all spaces, and presumably require "superuser" access, or equivalent sort of authorization gating.This would greatly simplify the ability for users to pull all the alerting rules / connectors in a much smaller set of requests. The alternative is:
This would change to:
I don't believe we actually return the space in the rules or connectors, and we'd need to do that for this call, so we'd need to figure out how to do that. For instance:
The first sounds better - the data shape is easier to deal with, and will be less confusing when we support rules / connectors in multiple spaces (in the second form, presumably objects in multiple spaces would be duplicated under each space key).
Note: I don't think we have an issue open for this, and did a cursory search and didn't find one. But if we do, we can close this as a DUP
The text was updated successfully, but these errors were encountered: