Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"variables": {
"policyDefinitions": {
"enforceGuardrailsAutomation": "[concat('/providers/Microsoft.Management/managementGroups/', parameters('topLevelManagementGroupPrefix'), '/providers/Microsoft.Authorization/policySetDefinitions/Enforce-Guardrails-Automation')]"
"enforceGuardrailsAutomation": "[concat('/providers/Microsoft.Management/managementGroups/', parameters('topLevelManagementGroupPrefix'), '/providers/Microsoft.Authorization/policySetDefinitions/Enforce-Guardrails-Automation_20260910')]"
},
"policyAssignmentNames": {
"enforceGuardrailsAutomation": "[concat('Enforce-GR-Automation', parameters('assignmentIndex'))]",
Expand Down
100 changes: 51 additions & 49 deletions eslzArm/managementGroupTemplates/policyDefinitions/initiatives.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
"scope": null,
"properties": {
"policyType": "Custom",
"displayName": "Enforce recommended guardrails for Automation Account",
"description": "This policy initiative is a group of policies that ensures Automation Account is compliant per regulated Landing Zones.",
"displayName": "[Deprecated]: Enforce recommended guardrails for Automation Account",
"description": "This policy initiative is a group of policies that ensures Automation Account is compliant per regulated Landing Zones. Superseded by https://www.azadvertizer.net/azpolicyinitiativesadvertizer/Enforce-Guardrails-Automation_20260910.html",
"metadata": {
"version": "1.1.0",
"version": "1.1.0-deprecated",
"category": "Automation",
"source": "https://github.com/Azure/Enterprise-Scale/",
"deprecated": true,
"supersededBy": "Enforce-Guardrails-Automation_20260910",
"alzCloudEnvironments": [
"AzureCloud",
"AzureChinaCloud",
Expand Down Expand Up @@ -122,7 +124,7 @@
"groupNames": [],
"parameters": {
"effect": {
"value": "[[parameters('aaModifyLocalAUth')]"
"value": "[[parameters('aaModifyLocalAuth')]"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
{
"name": "Enforce-Guardrails-Automation_20260910",
"type": "Microsoft.Authorization/policySetDefinitions",
"apiVersion": "2023-04-01",
"scope": null,
"properties": {
"policyType": "Custom",
"displayName": "Enforce recommended guardrails for Automation Account",
"description": "This policy initiative is a group of policies that ensures Automation Account is compliant per regulated Landing Zones.",
"metadata": {
"version": "1.0.0",
"category": "Automation",
"source": "https://github.com/Azure/Enterprise-Scale/",
"replacesPolicy": "Enforce-Guardrails-Automation",
"alzCloudEnvironments": [
"AzureCloud",
"AzureChinaCloud",
"AzureUSGovernment"
]
},
"parameters": {
"aaModifyLocalAuth": {
"type": "string",
"defaultValue": "Modify",
"allowedValues": [
"Modify",
"Disabled"
]
},
"aaVariablesEncryption": {
"type": "string",
"defaultValue": "Deny",
"allowedValues": [
"Audit",
"Disabled",
"Deny"
]
},
"aaLocalAuth": {
"type": "string",
"defaultValue": "Deny",
"allowedValues": [
"Audit",
"Disabled",
"Deny"
]
},
"aaManagedIdentity": {
"type": "string",
"defaultValue": "Audit",
"allowedValues": [
"Audit",
"Disabled"
]
},
"aaModifyPublicNetworkAccess": {
"type": "string",
"defaultValue": "Modify",
"allowedValues": [
"Modify",
"Disabled"
]
}
},
"policyDefinitions": [
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/dea83a72-443c-4292-83d5-54a2f98749c0",
"policyDefinitionReferenceId": "Deny-Aa-Managed-Identity",
"definitionVersion": "1.*.*",
"groupNames": [],
"parameters": {
"effect": {
"value": "[[parameters('aaManagedIdentity')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/48c5f1cb-14ad-4797-8e3b-f78ab3f8d700",
"policyDefinitionReferenceId": "Deny-Aa-Local-Auth",
"definitionVersion": "1.*.*",
"groupNames": [],
"parameters": {
"effect": {
"value": "[[parameters('aaLocalAuth')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/3657f5a0-770e-44a3-b44e-9431ba1e9735",
"policyDefinitionReferenceId": "Deny-Aa-Variables-Encrypt",
"definitionVersion": "1.*.*",
"groupNames": [],
"parameters": {
"effect": {
"value": "[[parameters('aaVariablesEncryption')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/30d1d58e-8f96-47a5-8564-499a3f3cca81",
"policyDefinitionReferenceId": "Modify-Aa-Local-Auth",
"definitionVersion": "1.*.*",
"groupNames": [],
"parameters": {
"effect": {
"value": "[[parameters('aaModifyLocalAuth')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/23b36a7c-9d26-4288-a8fd-c1d2fa284d8c",
"policyDefinitionReferenceId": "Modify-Aa-Public-Network-Access",
"definitionVersion": "1.*.*",
"groupNames": [],
"parameters": {
"effect": {
"value": "[[parameters('aaModifyPublicNetworkAccess')]"
}
}
}
],
"policyDefinitionGroups": null
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"displayName": "Enforce recommended guardrails for Compute",
"description": "This policy initiative is a group of policies that ensures Compute is compliant per regulated Landing Zones.",
"metadata": {
"version": "1.1.0",
"version": "1.2.0",
"category": "Compute",
"source": "https://github.com/Azure/Enterprise-Scale/",
"alzCloudEnvironments": [
Expand All @@ -27,6 +27,15 @@
"Disabled"
]
},
"autoHotPatch": {
"type": "string",
"defaultValue": "Deny",
"allowedValues": [
"Audit",
"Disabled",
"Deny"
]
},
"vmAndVmssEncryptionHost": {
"type": "string",
"defaultValue": "Deny",
Expand All @@ -38,6 +47,17 @@
}
},
"policyDefinitions": [
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/6d02d2f7-e38b-4bdc-96f3-adc0a8726abc",
"policyDefinitionReferenceId": "Deny-Windows-Vm-HotPatch",
"definitionVersion": "1.*.*",
"groupNames": [],
"parameters": {
"effect": {
"value": "[[parameters('autoHotPatch')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/fc4d8e41-e223-45ea-9bf5-eada37891d87",
"policyDefinitionReferenceId": "Deny-VmAndVmss-Encryption-Host",
Expand Down
1 change: 1 addition & 0 deletions src/templates/initiatives.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ var loadPolicySetDefinitions = {
loadTextContent('../resources/Microsoft.Authorization/policySetDefinitions/Enforce-Guardrails-APIM.json') // FSI specific initiative
loadTextContent('../resources/Microsoft.Authorization/policySetDefinitions/Enforce-Guardrails-AppServices.json') // FSI specific initiative
loadTextContent('../resources/Microsoft.Authorization/policySetDefinitions/Enforce-Guardrails-Automation.json') // FSI specific initiative
loadTextContent('../resources/Microsoft.Authorization/policySetDefinitions/Enforce-Guardrails-Automation_20260910.json') // FSI specific initiative
loadTextContent('../resources/Microsoft.Authorization/policySetDefinitions/Enforce-Guardrails-BotService.json') // AI specific initiative
loadTextContent('../resources/Microsoft.Authorization/policySetDefinitions/Enforce-Guardrails-CognitiveServices.json') // FSI specific initiative
loadTextContent('../resources/Microsoft.Authorization/policySetDefinitions/Enforce-Guardrails-Compute.json') // FSI specific initiative
Expand Down
Loading