Managing and securing access to Kibana spaces
In the two previous recipes, we created custom roles to manage data access through index privileges. In this recipe, we’re taking a step further: we will learn how to control user access to Kibana’s personalized spaces and how to combine Kibana privileges with custom roles for a more efficient approach to multi-tenancy management in the Elastic Stack.
Getting ready
Make sure you have completed the recipes in Chapter 6 and Chapter 10.
Make sure that you complete the previous recipes, Defining custom roles and Granting additional privileges.
How to do it…
In this recipe, we will first create dedicated spaces for traffic analysis and DevOps to provide cleaner access and better data segmentation for our cookbook_business_reader and cookbook_observability_reader roles. We will then allocate the existing saved objects (such as dashboards, visualizations, and data views) to the appropriate spaces, and finally...