Conversation
|
Pinging @elastic/es-security (Team:Security) |
ywangd
left a comment
There was a problem hiding this comment.
LGTM
I am not very familiar with the alerts as data work. So this might not be the right question. But why do we have to prepend different strings to the .alerts namespace? We already granted Kibana all access to .alerts*, which seems to be a viable top-level namespace for covering all usages required by alerts-as-data? That is, is it more organised and easier if we use suffix instead of prefix for sub namespaces? i.e. instead of .internal.alerts*, .preview.alerts* and .internal.preview.alerts*, we replace them with .alerts.internal.*, .alerts.preview.*, .alerts.internal_preview.*?
|
@ywangd The way the new alerts as data feature is set up, it was intentional to separate the fields from the general |
💚 Backport successful |
|
This appears not to have made it back to |
…nternal.preview.alerts* index (elastic#80889)
Required for: elastic/kibana#116374
Summary
An extension of #76624 and #80746. Adding for the new rule preview feature that utilizes alerts as data and a reserved index for
kibana_systemuser to read/write alerts. We are writing to a separate internal index than normal alerts so they won't show up with standard.internal.alerts*queries, but still need the same permissions as "normal" alert indices