Defining custom roles
Defining a custom role in the Elastic Stack is necessary to establish fine-grained access control according to your security and operational requirements. In this recipe, we will see how to define custom roles by specifying what users can see and do, to make sure that access rights are in sync with each user’s permissions.
Getting ready
Make sure that you have completed the recipes in Chapter 6 and Chapter 10 specifically because, in this recipe, we will explore how to create different roles for various use cases. For example, one role could permit access solely to business data (such as the Rennes traffic data that we explored in previous chapters), while another role might be configured to view only observability data (such as the different logs, metrics, and trace data we examined in Chapter 10).
How to do it…
The upcoming steps will guide you through the process of creating and assigning custom roles within Kibana. You’ll learn...