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

Microsoft Sentinel Playbook OperatorAzure built-in role

Microsoft Sentinel Playbook Operator

Role ID51d6186e-6489-4900-b93f-92e23144cca5
CategorySecurity
Actions4
Data actions0

What it can do

PermissionWhat it allows
Microsoft.Logic/workflows/readReads the workflow.
Microsoft.Logic/workflows/triggers/listCallbackUrl/actionGets the callback URL for trigger.
Microsoft.Web/sites/hostruntime/webhooks/api/workflows/triggers/listCallbackUrl/actionGet Web Apps Hostruntime Workflow Trigger Uri.
Microsoft.Web/sites/readGet the properties of a Web App

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 Playbook Operator" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Microsoft Sentinel Playbook Operator" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, '51d6186e-6489-4900-b93f-92e23144cca5')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '51d6186e-6489-4900-b93f-92e23144cca5')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "51d6186e-6489-4900-b93f-92e23144cca5"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other security roles

Find the smallest role for a task →