Leveraging Microsoft Sentinel workbooks for reporting to leadership is a common use case. A common concern is granting recipients access to Microsoft Sentinel or all of the tables within the workspace. Using some different RBAC components, this can be done.
- Table-level RBAC
- Resource-level RBAC
How It Works:
Table-level RBAC: Access to the data that is leveraged within the workspace is set at the table level. This prevents the user from being able to read data from the other tables while still being able to see the required data within the workbook.
Resource-level RBAC: Access to just the resource as needed. The resource here is the workbook of interest. Setting access at the resource level prevents the user from being able to see all resources within the resource group.
How to Configure:
Table-level RBAC: Table-level RBAC will leverage a custom role that enables the user to be able to see the workspace and run a query, and a reader role on the table itself. The process is highlighted in the documentation here.
Resource-level RBAC: Resource-level RBAC will limit the scope of visibility to be just to the resource. To set this:
- Go to the Azure Portal.
- Go to the resource group that has Microsoft Sentinel.
- Find the workbook of interest.
- Click on access control.
- Click on add.
- Choose role assignment.
- Select the workbook reader role.
- Select the user that should be able to see the workbook.
- Click review and assign.
Sharing the Workbook
Since the user is unable to see Microsoft Sentinel, the workbook will need to be shared directly with the user. To do so:
- Go to the Azure Portal.
- Go to Microsoft Sentinel or the resource group.
- Find the workbook of interest and open it.
- Click on share and copy the link.
- Share the link with the user who should have limited access.
- I don't want the user to see the workspace so that they can't run a query on the data. Can I do that?
- No. The permission to see and query the workspace is required so that the user can view the data in the workbook, which queries the data.
- How does the user consistently view the workbook without having to use the link?
- The user can configure a dashboard that pins the workbook to the dashboard.
- What if the workbook uses several tables?
- Table-level RBAC will need to be configured for each one.
- What if I have multiple users who need this type of access?
- Consider creating an AAD group that contains these users and assign permissions to the group.
And that's it. This is a fairly straightforward process that leads to good results. Go ahead and give it a shot and leave comments below if there are any issues.