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

Microsoft Sentinel Automation ContributorAzure built-in role

Microsoft Sentinel Automation Contributor

Role IDf4c81013-99ee-4d62-a7ee-b3f1f648599a
CategorySecurity
Actions7
Data actions0

What it can do

PermissionWhat it allows
Microsoft.Authorization/*/readAny read operation on anything under Microsoft.Authorization
Microsoft.Logic/workflows/triggers/readReads the trigger.
Microsoft.Logic/workflows/triggers/listCallbackUrl/actionGets the callback URL for trigger.
Microsoft.Logic/workflows/runs/readReads the workflow run.
Microsoft.Web/sites/hostruntime/webhooks/api/workflows/triggers/readList Web Apps Hostruntime Workflow Triggers.
Microsoft.Web/sites/hostruntime/webhooks/api/workflows/triggers/listCallbackUrl/actionGet Web Apps Hostruntime Workflow Trigger Uri.
Microsoft.Web/sites/hostruntime/webhooks/api/workflows/runs/readList Web Apps Hostruntime Workflow Runs.

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 Automation Contributor" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Microsoft Sentinel Automation Contributor" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, 'f4c81013-99ee-4d62-a7ee-b3f1f648599a')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'f4c81013-99ee-4d62-a7ee-b3f1f648599a')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "f4c81013-99ee-4d62-a7ee-b3f1f648599a"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other security roles

Find the smallest role for a task →