Hello Prajyot,
Question 1:
Tenancy in Wazuh does not control access to logs. The logs are stored in the wazuh-alerts-* index and when creating a tenant, you assigned this index as the index to be used.Please note that tenancy is peculiar to custom visualizations and dashboard, as well as saved objects. This is to say that; a dashboard in Tenant A cannot be seen in Tenant B and vice-versa.
To separate logs for company 1 and company 2, refer to the
Wazuh multi-site implementation and
Managing multiple Wazuh clusters with Cross-Cluster Search blogposts to determine which use-case best suits your needs.
Question 2:
To create custom roles and resolve any associated issue, refer to our documentation.
A custom all_access user will be unable to access security section, as only the admin user can do that. However, to give the custom user access to all security features, you can simply assign the admin role to the custom user by:- Navigating to Indexer Management > Security > Internal users.
- Select the user and assign the Backend role admin to the user.
- Save changes
Question 3:
To solve this, specify the name of the tenant you want to see when creating the role and do not use a wild card *."
Regards,
Samson.