Gallery › Regulatory Compliance › Azure built-in policies
Provide security awareness training for insider threats
Converted Policy Disabled Manual Mode All Version 1.1.0
CMA_0417 - Provide security awareness training for insider threats
ConvertTo-Bylaw converted this policy, and proved that the file compiles back to the same definition.
Azure Policy JSONCMA_0417.json · 45 lines
{
"properties": {
"displayName": "Provide security awareness training for insider threats",
"policyType": "BuiltIn",
"mode": "All",
"description": "CMA_0417 - Provide security awareness training for insider threats",
"metadata": {
"version": "1.1.0",
"category": "Regulatory Compliance",
"additionalMetadataId": "/providers/Microsoft.PolicyInsights/policyMetadata/CMA_0417"
},
"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/9b8b05ec-3d21-215e-5d98-0f7cf0998202",
"name": "9b8b05ec-3d21-215e-5d98-0f7cf0998202"
}Bylaw9b8b05ec-3d21-215e-5d98-0f7cf0998202.bylaw.ps1 · 24 lines
# Converted from CMA_0417.json by ConvertTo-Bylaw.
Policy '9b8b05ec-3d21-215e-5d98-0f7cf0998202' {
Properties @{
DisplayName = 'Provide security awareness training for insider threats'
Description = 'CMA_0417 - Provide security awareness training for insider threats'
Version = '1.1.0'
Category = 'Regulatory Compliance'
PolicyVersion = '1.1.0'
Mode = 'All'
Metadata = [ordered]@{ additionalMetadataId = '/providers/Microsoft.PolicyInsights/policyMetadata/CMA_0417' }
}
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_0417.json in Azure/azure-policy, under the MIT licence.
Bylaw