Gallery › Regulatory Compliance › Azure built-in policies
Identify and authenticate network devices
Converted Policy Disabled Manual Mode All Version 1.1.0
CMA_0296 - Identify and authenticate network devices
ConvertTo-Bylaw converted this policy, and proved that the file compiles back to the same definition.
Azure Policy JSONCMA_0296.json · 45 lines
{
"properties": {
"displayName": "Identify and authenticate network devices",
"policyType": "BuiltIn",
"mode": "All",
"description": "CMA_0296 - Identify and authenticate network devices",
"metadata": {
"version": "1.1.0",
"category": "Regulatory Compliance",
"additionalMetadataId": "/providers/Microsoft.PolicyInsights/policyMetadata/CMA_0296"
},
"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/ae5345d5-8dab-086a-7290-db43a3272198",
"name": "ae5345d5-8dab-086a-7290-db43a3272198"
}Bylawae5345d5-8dab-086a-7290-db43a3272198.bylaw.ps1 · 24 lines
# Converted from CMA_0296.json by ConvertTo-Bylaw.
Policy 'ae5345d5-8dab-086a-7290-db43a3272198' {
Properties @{
DisplayName = 'Identify and authenticate network devices'
Description = 'CMA_0296 - Identify and authenticate network devices'
Version = '1.1.0'
Category = 'Regulatory Compliance'
PolicyVersion = '1.1.0'
Mode = 'All'
Metadata = [ordered]@{ additionalMetadataId = '/providers/Microsoft.PolicyInsights/policyMetadata/CMA_0296' }
}
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_0296.json in Azure/azure-policy, under the MIT licence.
Bylaw