azureblog.co.uk
← cd ~/roles
// roles/azure · security

Microsoft Sentinel ReaderAzure built-in role

Microsoft Sentinel Reader

Role ID8d289c81-5878-46d4-8554-54e1e3d8b5cb
CategorySecurity
Actions21 (minus 2 NotActions)
Data actions0

What it can do

PermissionWhat it allows
Microsoft.SecurityInsights/*/readAny read operation on anything under Microsoft.SecurityInsights
Microsoft.SecurityInsights/dataConnectorsCheckRequirements/actionCheck user authorization and license
Microsoft.SecurityInsights/threatIntelligence/indicators/query/actionQuery Threat Intelligence Indicators
Microsoft.SecurityInsights/threatIntelligence/queryIndicators/actionQuery Threat Intelligence Indicators
Microsoft.OperationalInsights/workspaces/analytics/query/actionSearch using new engine.
Microsoft.OperationalInsights/workspaces/*/readAny read operation on anything under Microsoft.OperationalInsights/workspaces
Microsoft.OperationalInsights/workspaces/LinkedServices/readGet linked services under given workspace.
Microsoft.OperationalInsights/workspaces/savedSearches/readGets a saved search query.
Microsoft.OperationsManagement/solutions/readGet existing OMS solution
Microsoft.OperationalInsights/workspaces/query/readRun queries over the data in the workspace
Microsoft.OperationalInsights/workspaces/query/*/readAny read operation on anything under Microsoft.OperationalInsights/workspaces/query
Microsoft.OperationalInsights/querypacks/*/readAny read operation on anything under Microsoft.OperationalInsights/querypacks
Microsoft.OperationalInsights/workspaces/dataSources/readGet data source under a workspace.
Microsoft.Insights/workbooks/readRead a workbook
Microsoft.Insights/myworkbooks/read
Microsoft.Authorization/*/readAny read operation on anything under Microsoft.Authorization
Microsoft.Insights/alertRules/*Every operation under Microsoft.Insights/alertRules
Microsoft.Resources/deployments/*Every operation under Microsoft.Resources/deployments
Microsoft.Resources/subscriptions/resourceGroups/readGets or lists resource groups.
Microsoft.Resources/templateSpecs/*/readAny read operation on anything under Microsoft.Resources/templateSpecs
Microsoft.Support/*Every operation under Microsoft.Support

Can't do

These are taken away from the actions above.

PermissionWhat it allows
Microsoft.SecurityInsights/ConfidentialWatchlists/*Every operation under Microsoft.SecurityInsights/ConfidentialWatchlists
Microsoft.OperationalInsights/workspaces/query/ConfidentialWatchlist/*Every operation under Microsoft.OperationalInsights/workspaces/query/ConfidentialWatchlist

Assign it

Scope it as tightly as you can: a resource or resource group rather than the whole subscription.

azure cli
az role assignment create \
  --assignee "jane.doe@contoso.com" \
  --role "Microsoft Sentinel Reader" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Microsoft Sentinel Reader" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, '8d289c81-5878-46d4-8554-54e1e3d8b5cb')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '8d289c81-5878-46d4-8554-54e1e3d8b5cb')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "8d289c81-5878-46d4-8554-54e1e3d8b5cb"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other security roles

Find the smallest role for a task →