Azure role · internet-of-things
Firmware Analysis ReaderAzure built-in role
View firmware images but not upload them or perform any workspace configuration
Read onlyChange some thingsChange anythingGive access to others
Medium risk. It can create, change or delete some resources in scope.
In short: Firmware Analysis Reader is an Azure built-in role with 5 actions.
| Role ID | 2a94a2fd-3c4f-45d1-847d-6585ba88af94 |
|---|---|
| Category | Internet-of-things |
| Actions | 5 (minus 3 NotActions) |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.IoTFirmwareDefense/*/read | Any read operation on anything under Microsoft.IoTFirmwareDefense |
Microsoft.IoTFirmwareDefense/workspaces/firmwares/* | Every operation under Microsoft.IoTFirmwareDefense/workspaces/firmwares |
Microsoft.Authorization/*/read | Any read operation on anything under Microsoft.Authorization |
Microsoft.Resources/subscriptions/resourceGroups/read | Gets or lists resource groups. |
Microsoft.Resources/deployments/read | Gets or lists deployments. |
Can't do
These are taken away from the actions above.
| Permission | What it allows |
|---|---|
Microsoft.IoTFirmwareDefense/firmwareGroups/* | Every operation under Microsoft.IoTFirmwareDefense/firmwareGroups |
Microsoft.IoTFirmwareDefense/workspaces/firmwares/write | The operation to create a firmware. |
Microsoft.IoTFirmwareDefense/workspaces/firmwares/delete | The operation to delete a firmware. |
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 "Firmware Analysis Reader" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "Firmware Analysis 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, '2a94a2fd-3c4f-45d1-847d-6585ba88af94')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '2a94a2fd-3c4f-45d1-847d-6585ba88af94')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "2a94a2fd-3c4f-45d1-847d-6585ba88af94"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)Other internet-of-things roles
- Azure Device Registry Administrator · 1 permission
- Device Provisioning Service Data Contributor · 1 permission
- Device Provisioning Service Data Reader · 1 permission
- IoT Hub Data Contributor · 1 permission
- IoT Hub Registry Contributor · 1 permission
- IoT Hub Twin Contributor · 1 permission
- IoT Hub Data Reader · 2 permissions
- Azure Device Registry Credentials Contributor · 3 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/firmware-analysis-reader/">Firmware Analysis Reader Azure role explained</a>Spotted something out of date or wrong? Tell us and we'll fix it.