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

Service Health Security ReaderAzure built-in role

Grants permissions to view sensitive security information present in service health events

Role ID1a928ab0-1fee-43cf-9266-f9d8c22a8ddb
CategoryMonitor
Actions11 (minus 1 NotActions)
Data actions0

What it can do

PermissionWhat it allows
Microsoft.ResourceHealth/events/actionEndpoint to fetch details for event
Microsoft.ResourceHealth/AvailabilityStatuses/readGets the availability statuses for all resources in the specified scope
Microsoft.ResourceHealth/AvailabilityStatuses/current/readGets the availability status for the specified resource
Microsoft.ResourceHealth/Operations/readGet the operations available for the Microsoft ResourceHealth
Microsoft.ResourceHealth/emergingissues/readGet Azure services' emerging issues
Microsoft.ResourceHealth/events/readGet Service Health Events for given subscription
Microsoft.ResourceHealth/events/fetchEventDetails/actionEndpoint to fetch details for event
Microsoft.ResourceHealth/events/listSecurityAdvisoryImpactedResources/actionGet Impacted Resources for a given event of type SecurityAdvisory
Microsoft.ResourceHealth/events/impactedResources/readGet Impacted Resources for a given event
Microsoft.ResourceHealth/metadata/readGets Metadata
Microsoft.ResourceHealth/potentialoutages/readGet Potential Outages for given subscription

Can't do

These are taken away from the actions above.

PermissionWhat it allows
Microsoft.ResourceHealth/events/fetchBillingCommunicationDetails/actionGet Billing details for a given subscription and tracking id

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 "Service Health Security Reader" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Service Health Security Reader" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, '1a928ab0-1fee-43cf-9266-f9d8c22a8ddb')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '1a928ab0-1fee-43cf-9266-f9d8c22a8ddb')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "1a928ab0-1fee-43cf-9266-f9d8c22a8ddb"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other monitor roles

Find the smallest role for a task →