Dear Wazuh team,
Our deployment consists of 3 Wazuh Server docker containers (v4.14.7) with an OpenSearch integration for logs indexing.
All our users belong to specific RBAC groups. Document-level Security (DLS) is also used used on wazuh-archives-* and wazuh-alerts-* indexes to make sure that the user from a RBAC group only see the alerts/archives of the agent(s) in his group. We are not using multi-tenancy.
The goal is to make sure that the users from each RBAC group can create his own alerts/monitors (Alerting section), his own reports (Reporting section), his own visualisations (Visualize section) and his own dashboards (Dashboards section).
Ideally, we would like everything to be separated: users from a group shouldn't see what users from other group(s) created.
1) We understand that there are some limitations with single-tenancy for the dashboards: all custom dashboards are stored in the same shared .kibana index, and what we understand is that there is no way to prevent them from viewing other group's dashboards. Do you confirm this is really the case, is that it will remain the same with Wazuh 5 and single-tenancy? That the only option would be to have multitenancy enabled?
2) For reports/alerts&monitors/visualisations, do you confirm that it is the same as with dashboards? Can you confirm in which .kibana/opendistro index each of those objects are stored?
3) We encounter multiple permission issues when trying to authorize the users to read/modify the alerts and monitors in the Alerting section. In particular, one blocking point is the impossibility to choose an index (wazuh-alerts-*, wazuh-archives-*) in the dropdown list.
Here is the configuration example we have for a specific RBAC group (1.png):

The opendistro_ZID_users group is a custom group with the following permissions (2.png):

More information about each of those permissions: https://docs.opensearch.org/latest/security/access-control/permissions/
Now the error we are facing (red rectangle below - 3.png) with a user from this RBAC group. We analyzed the requests using the browser developer tools, and it turns out that some index-level permissions were supposedly missing. We tried to add those in the RBAC role section (screenshot 1) for wazuh-alerts-* and wazuh-archives-*, but it still didn't work (dropdown list empty) and we ended up getting new permission errors in the requests. In the below screenshot is one of the several permission errors we get while typing an index in the empty dropdown list or clicking on it:

Can you please tell exactly which cluster permissions and index permissions are required for non-admin users to view/modify the alerts/monitors in the Alerts section? We tried multiple permission combinations both on the cluster and index levels, but none of them could fix this dropdown list issue.
If you can also provide a similar list of permissions required for the dashboards, reports and visualiations, it would be very helpful.
I am aware that we are asking for a lot of information. We would be happy to provide you with any other information you might need to answer more accurately; hopefully this will help the community too.
Thank you very much in advance for all the help you can bring for those inquiries.
Have a nice day,