opensearch-project / alerting

📟 Get notified when your data meets certain conditions by setting up monitors, alerts, and notifications
https://opensearch.org/docs/latest/monitoring-plugins/alerting/index/
Apache License 2.0
58 stars 99 forks source link

[FEATURE] Add ability to get the RBAC roles currently assigned to a monitor #1429

Open smuthukaruppannp opened 5 months ago

smuthukaruppannp commented 5 months ago

Is your feature request related to a problem? Alerting plugin allows specific RBAC roles to be assigned to monitors thru the rbac_roles parameter. Once a monitor has been created, currently there is no way to get the assigned RBAC roles from the get and search monitor APIs.

What solution would you like? API should return RBAC role information as part of monitor details

What alternatives have you considered? No alternative except to search the alerting system indices to verify the actual monitor document in OpenSearch

Do you have any additional context? Add any other context or screenshots about the feature request here.