← cd ~/roles
// roles/azure · security
App Compliance Automation AdministratorAzure built-in role
Allows managing App Compliance Automation tool for Microsoft 365
| Role ID | 0f37683f-2463-46b6-9ce7-9b788b988ba2 |
|---|---|
| Category | Security |
| Actions | 28 |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.AppComplianceAutomation/* | Every operation under Microsoft.AppComplianceAutomation |
Microsoft.Storage/storageAccounts/blobServices/write | Returns the result of put blob service properties |
Microsoft.Storage/storageAccounts/fileservices/write | Put file service properties |
Microsoft.Storage/storageAccounts/listKeys/action | Returns the access keys for the specified storage account. |
Microsoft.Storage/storageAccounts/write | Creates a storage account with the specified parameters or update the properties or tags or adds custom domain for the specified storage account. |
Microsoft.Storage/storageAccounts/blobServices/generateUserDelegationKey/action | Returns a user delegation key for the blob service |
Microsoft.Storage/storageAccounts/read | Returns the list of storage accounts or gets the properties for the specified storage account. |
Microsoft.Storage/storageAccounts/blobServices/containers/read | Returns a container |
Microsoft.Storage/storageAccounts/blobServices/containers/write | Returns the result of patch blob container |
Microsoft.Storage/storageAccounts/blobServices/read | List blob services |
Microsoft.PolicyInsights/policyStates/queryResults/action | Query information about policy states. |
Microsoft.PolicyInsights/policyStates/triggerEvaluation/action | Triggers a new compliance evaluation for the selected scope. |
Microsoft.Resources/resources/read | Get the list of resources based upon filters. |
Microsoft.Resources/subscriptions/read | Gets the list of subscriptions. |
Microsoft.Resources/subscriptions/resourceGroups/read | Gets or lists resource groups. |
Microsoft.Resources/subscriptions/resourceGroups/resources/read | Gets the resources for the resource group. |
Microsoft.Resources/subscriptions/resources/read | Gets resources of a subscription. |
Microsoft.Resources/subscriptions/resourceGroups/delete | Deletes a resource group and all its resources. |
Microsoft.Resources/subscriptions/resourceGroups/write | Creates or updates a resource group. |
Microsoft.Resources/tags/read | Gets all the tags on a resource. |
Microsoft.Resources/deployments/validate/action | Validates a deployment. |
Microsoft.Security/automations/read | Gets the automations for the scope |
Microsoft.Resources/deployments/write | Creates or updates an deployment. |
Microsoft.Security/automations/delete | Deletes the automation for the scope |
Microsoft.Security/automations/write | Creates or updates the automation for the scope |
Microsoft.Security/register/action | Registers the subscription for Azure Security Center |
Microsoft.Security/unregister/action | Unregisters the subscription from Azure Security Center |
*/read | Every operation matching */read |
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 "App Compliance Automation Administrator" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "App Compliance Automation Administrator" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, '0f37683f-2463-46b6-9ce7-9b788b988ba2')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '0f37683f-2463-46b6-9ce7-9b788b988ba2')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "0f37683f-2463-46b6-9ce7-9b788b988ba2"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)Other security roles
- App Compliance Automation Reader · 1 permission
- Key Vault Crypto Service Release User · 1 permission
- Security Assessment Contributor · 1 permission
- Attestation Reader · 2 permissions
- Key Vault Secrets User · 2 permissions
- Attestation Contributor · 3 permissions
- Locks Contributor · 3 permissions
- Key Vault Certificate User · 4 permissions