Azure role · monitor
Service Health Security ReaderAzure built-in role
Grants permissions to view sensitive security information present in service health events
Read onlyChange some thingsChange anythingGive access to others
Medium risk. It can create, change or delete some resources in scope.
In short: Service Health Security Reader is an Azure built-in role with 11 actions.
| Role ID | 1a928ab0-1fee-43cf-9266-f9d8c22a8ddb |
|---|---|
| Category | Monitor |
| Actions | 11 (minus 1 NotActions) |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.ResourceHealth/events/action | Endpoint to fetch details for event |
Microsoft.ResourceHealth/AvailabilityStatuses/read | Gets the availability statuses for all resources in the specified scope |
Microsoft.ResourceHealth/AvailabilityStatuses/current/read | Gets the availability status for the specified resource |
Microsoft.ResourceHealth/Operations/read | Get the operations available for the Microsoft ResourceHealth |
Microsoft.ResourceHealth/emergingissues/read | Get Azure services' emerging issues |
Microsoft.ResourceHealth/events/read | Get Service Health Events for given subscription |
Microsoft.ResourceHealth/events/fetchEventDetails/action | Endpoint to fetch details for event |
Microsoft.ResourceHealth/events/listSecurityAdvisoryImpactedResources/action | Get Impacted Resources for a given event of type SecurityAdvisory |
Microsoft.ResourceHealth/events/impactedResources/read | Get Impacted Resources for a given event |
Microsoft.ResourceHealth/metadata/read | Gets Metadata |
Microsoft.ResourceHealth/potentialoutages/read | Get Potential Outages for given subscription |
Can't do
These are taken away from the actions above.
| Permission | What it allows |
|---|---|
Microsoft.ResourceHealth/events/fetchBillingCommunicationDetails/action | Get 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.
az role assignment create \
--assignee "jane.doe@contoso.com" \
--role "Service Health Security Reader" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "Service Health Security Reader" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"What each line does
- Line 1: Creates a role assignment in Azure. Makes a change.
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?
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
- Grafana Admin · 1 permission
- Grafana Editor · 1 permission
- Grafana Limited Viewer · 1 permission
- Grafana Viewer · 1 permission
- Log Analytics Data Reader · 3 permissions
- Monitoring Reader · 3 permissions
- Workbook Reader · 3 permissions
- Data Purger · 4 permissions
Find the smallest role for a task →
Link to this page
Writing a guide or answering a question? Copy this link.
<a href="https://azureblog.co.uk/roles/azure/service-health-security-reader/">Service Health Security Reader Azure role explained</a>Spotted something out of date or wrong? Tell us and we'll fix it.