azureblog.co.uk
← cd ~/roles
// roles/azure · internet-of-things

Firmware Analysis UserAzure built-in role

Upload and analyze firmware images but not perform any workspace configuration

Role ID53b2724d-1e51-44fa-b586-bcace0c82609
CategoryInternet-of-things
Actions4 (minus 5 NotActions)
Data actions0

What it can do

PermissionWhat it allows
Microsoft.IoTFirmwareDefense/*Every operation under Microsoft.IoTFirmwareDefense
Microsoft.Authorization/*/readAny read operation on anything under Microsoft.Authorization
Microsoft.Resources/subscriptions/resourceGroups/readGets or lists resource groups.
Microsoft.Resources/deployments/readGets or lists deployments.

Can't do

These are taken away from the actions above.

PermissionWhat it allows
Microsoft.IoTFirmwareDefense/firmwareGroups/*Every operation under Microsoft.IoTFirmwareDefense/firmwareGroups
Microsoft.IoTFirmwareDefense/register/actionRegister the subscription for Microsoft.IoTFirmwareDefense
Microsoft.IoTFirmwareDefense/unregister/actionUnregister the subscription for Microsoft.IoTFirmwareDefense
Microsoft.IoTFirmwareDefense/workspaces/writeThe operation to create or update a firmware analysis workspace.
Microsoft.IoTFirmwareDefense/workspaces/deleteThe operation to delete a firmware analysis workspace.

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 "Firmware Analysis User" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Firmware Analysis User" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, '53b2724d-1e51-44fa-b586-bcace0c82609')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '53b2724d-1e51-44fa-b586-bcace0c82609')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "53b2724d-1e51-44fa-b586-bcace0c82609"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other internet-of-things roles

Find the smallest role for a task →