Gallery › Regulatory Compliance › Azure built-in policies
Review user groups and applications with access to sensitive data
Converted Policy Disabled Manual Mode All Version 1.1.0
CMA_0481 - Review user groups and applications with access to sensitive data
ConvertTo-Bylaw converted this policy, and proved that the file compiles back to the same definition.
Azure Policy JSONCMA_0481.json · 45 lines
{
"properties": {
"displayName": "Review user groups and applications with access to sensitive data",
"policyType": "BuiltIn",
"mode": "All",
"description": "CMA_0481 - Review user groups and applications with access to sensitive data",
"metadata": {
"version": "1.1.0",
"category": "Regulatory Compliance",
"additionalMetadataId": "/providers/Microsoft.PolicyInsights/policyMetadata/CMA_0481"
},
"version": "1.1.0",
"parameters": {
"effect": {
"type": "String",
"metadata": {
"displayName": "Effect",
"description": "Enable or disable the execution of the policy"
},
"allowedValues": [
"Manual",
"Disabled"
],
"defaultValue": "Manual"
}
},
"policyRule": {
"if": {
"field": "type",
"equals": "Microsoft.Resources/subscriptions"
},
"then": {
"effect": "[parameters('effect')]",
"details": {
"defaultState": "Unknown"
}
}
},
"versions": [
"1.1.0"
]
},
"id": "/providers/Microsoft.Authorization/policyDefinitions/eb1c944e-0e94-647b-9b7e-fdb8d2af0838",
"name": "eb1c944e-0e94-647b-9b7e-fdb8d2af0838"
}Bylaweb1c944e-0e94-647b-9b7e-fdb8d2af0838.bylaw.ps1 · 24 lines
# Converted from CMA_0481.json by ConvertTo-Bylaw.
Policy 'eb1c944e-0e94-647b-9b7e-fdb8d2af0838' {
Properties @{
DisplayName = 'Review user groups and applications with access to sensitive data'
Description = 'CMA_0481 - Review user groups and applications with access to sensitive data'
Version = '1.1.0'
Category = 'Regulatory Compliance'
PolicyVersion = '1.1.0'
Mode = 'All'
Metadata = [ordered]@{ additionalMetadataId = '/providers/Microsoft.PolicyInsights/policyMetadata/CMA_0481' }
}
Parameter Effect @{
AllowedValues = @('Manual', 'Disabled')
Default = 'Manual'
DisplayName = 'Effect'
Description = 'Enable or disable the execution of the policy'
}
Resource 'Microsoft.Resources/subscriptions'
Manual -DefaultState Unknown -Effect (Param Effect)
}Source: built-in-policies/policyDefinitions/Regulatory Compliance/CMA_0481.json in Azure/azure-policy, under the MIT licence.
Bylaw