Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Library Templates (automated) #1005

Closed
wants to merge 1 commit into from
Closed
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 @@ -17,11 +17,13 @@
"Deploy-VM-ChangeTrack",
"Deploy-VM-Monitoring",
"Deploy-vmArc-ChangeTrack",
"Deploy-vmHybr-Monitoring",
"Deploy-VMSS-ChangeTrack",
"Deploy-VMSS-Monitoring",
"Enable-AUM-CheckUpdates",
"Enable-DDoS-VNET",
"Enforce-AKS-HTTPS",
"Enforce-ASR",
"Enforce-GR-KeyVault",
"Enforce-TLS-SSL-H224"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
"Deploy-VM-ChangeTrack",
"Deploy-VM-Monitoring",
"Deploy-vmArc-ChangeTrack",
"Deploy-vmHybr-Monitoring",
"Deploy-VMSS-ChangeTrack",
"Deploy-VMSS-Monitoring",
"Enable-AUM-CheckUpdates",
"Enforce-ASR",
"Enforce-GR-KeyVault"
],
"policy_definitions": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"type": "Microsoft.Authorization/policyAssignments",
"apiVersion": "2022-06-01",
"name": "Deploy-vmHybr-Monitoring",
"location": "${default_location}",
"dependsOn": [],
"identity": {
"type": "SystemAssigned"
},
"properties": {
"description": "Enable Azure Monitor for Hybrid Virtual Machines in the specified scope (Management group, Subscription or resource group).",
"displayName": "Enable Azure Monitor for Hybrid Virtual Machines",
"policyDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/2b00397d-c309-49c4-aa5a-f0b2c5bc6321",
"enforcementMode": "Default",
"nonComplianceMessages": [
{
"message": "Azure Monitor {enforcementMode} be enabled for Hybrid Virtual Machines."
}
],
"parameters": {
"dcrResourceId": {
"value": "${azure_monitor_data_collection_rule_vm_insights_resource_id}"
},
"enableProcessesAndDependencies": {
"value": true
}
},
"scope": "${current_scope_resource_id}",
"notScopes": []
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"type": "Microsoft.Authorization/policyAssignments",
"apiVersion": "2022-06-01",
"name": "Enforce-ASR",
"dependsOn": [],
"properties": {
"description": "This initiative assignment enables recommended ALZ guardrails for Azure Recovery Services.",
"displayName": "Enforce enhanced recovery and backup policies",
"policyDefinitionId": "${root_scope_resource_id}/providers/Microsoft.Authorization/policySetDefinitions/Enforce-Backup",
"enforcementMode": "Default",
"nonComplianceMessages": [
{
"message": "Recommended guardrails {enforcementMode} be enforced for Azure Recovery Services (Backup and Site Recovery)."
}
],
"scope": "${current_scope_resource_id}",
"notScopes": [],
"parameters": {}
},
"location": "${default_location}",
"identity": {
"type": "None"
}
}
Loading