-
Notifications
You must be signed in to change notification settings - Fork 575
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Library Templates (automated) (#966)
Co-authored-by: github-actions <action@github.com>
- Loading branch information
1 parent
d678f4c
commit 32cb5b5
Showing
148 changed files
with
12,529 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
modules/archetypes/lib/archetype_definitions/archetype_definition_es_platform.tmpl.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...archetypes/lib/policy_assignments/policy_assignment_es_audit_resourcerglocation.tmpl.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"type": "Microsoft.Authorization/policyAssignments", | ||
"apiVersion": "2022-06-01", | ||
"name": "Audit-ResourceRGLocation", | ||
"dependsOn": [], | ||
"properties": { | ||
"description": "Resource Group and Resource locations should match.", | ||
"displayName": "Resource Group and Resource locations should match", | ||
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0a914e76-4921-4c19-b460-a2d36003525a", | ||
"enforcementMode": "Default", | ||
"nonComplianceMessages": [ | ||
{ | ||
"message": "Resources {enforcementMode} be deployed in the same region as the Resource Group." | ||
} | ||
], | ||
"parameters": {}, | ||
"scope": "${current_scope_resource_id}", | ||
"notScopes": [] | ||
}, | ||
"location": "${default_location}", | ||
"identity": { | ||
"type": "None" | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
modules/archetypes/lib/policy_assignments/policy_assignment_es_audit_trustedlaunch.tmpl.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"type": "Microsoft.Authorization/policyAssignments", | ||
"apiVersion": "2022-06-01", | ||
"name": "Audit-TrustedLaunch", | ||
"location": "${default_location}", | ||
"dependsOn": [], | ||
"properties": { | ||
"description": "Trusted Launch improves security of a Virtual Machine which requires VM SKU, OS Disk & OS Image to support it (Gen 2). To learn more about Trusted Launch, visit https://aka.ms/trustedlaunch.", | ||
"displayName": "Audit virtual machines for Trusted Launch support", | ||
"policyDefinitionId": "${root_scope_resource_id}/providers/Microsoft.Authorization/policySetDefinitions/Audit-TrustedLaunch", | ||
"enforcementMode": "Default", | ||
"nonComplianceMessages": [ | ||
{ | ||
"message": "Trust Launch {enforcementMode} be used on supported virtual machines for enhanced security." | ||
} | ||
], | ||
"parameters": { | ||
"effect": { | ||
"value": "Audit" | ||
} | ||
}, | ||
"scope": "${current_scope_resource_id}", | ||
"notScopes": [] | ||
}, | ||
"identity": { | ||
"type": "None" | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...les/archetypes/lib/policy_assignments/policy_assignment_es_audit_zoneresiliency.tmpl.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"type": "Microsoft.Authorization/policyAssignments", | ||
"apiVersion": "2022-06-01", | ||
"name": "Audit-ZoneResiliency", | ||
"dependsOn": [], | ||
"properties": { | ||
"description": "Resources should be Zone Resilient.", | ||
"displayName": "Resources should be Zone Resilient", | ||
"policyDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/130fb88f-0fc9-4678-bfe1-31022d71c7d5", | ||
"enforcementMode": "Default", | ||
"nonComplianceMessages": [ | ||
{ | ||
"message": "Resources {enforcementMode} be Zone Resilient." | ||
} | ||
], | ||
"parameters": { | ||
"effect": { | ||
"value": "Audit" | ||
}, | ||
"allow": { | ||
"value": "Both" | ||
} | ||
}, | ||
"scope": "${current_scope_resource_id}", | ||
"notScopes": [] | ||
}, | ||
"location": "${default_location}", | ||
"identity": { | ||
"type": "None" | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
.../archetypes/lib/policy_assignments/policy_assignment_es_denyaction_resource_del.tmpl.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"type": "Microsoft.Authorization/policyAssignments", | ||
"apiVersion": "2022-06-01", | ||
"name": "DenyAction-Resource-Del", | ||
"dependsOn": [], | ||
"properties": { | ||
"description": "This policy enables you to specify the resource types that your organization can protect from accidentals deletion by blocking delete calls using deny action effect.", | ||
"displayName": "Do not allow deletion of resource types", | ||
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/78460a36-508a-49a4-b2b2-2f5ec564f4bb", | ||
"enforcementMode": "Default", | ||
"parameters": { | ||
"effect": { | ||
"value": "DenyAction" | ||
}, | ||
"listOfResourceTypesDisallowedForDeletion": { | ||
"value": [] | ||
} | ||
}, | ||
"scope": "${current_scope_resource_id}", | ||
"notScopes": [] | ||
}, | ||
"location": "${default_location}", | ||
"identity": { | ||
"type": "None" | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
modules/archetypes/lib/policy_assignments/policy_assignment_es_deploy_diag_logs.tmpl.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"type": "Microsoft.Authorization/policyAssignments", | ||
"apiVersion": "2022-06-01", | ||
"name": "Deploy-Diag-Logs", | ||
"location": "${default_location}", | ||
"dependsOn": [], | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"properties": { | ||
"description": "Resource logs should be enabled to track activities and events that take place on your resources and give you visibility and insights into any changes that occur. This initiative deploys diagnostic setting using the allLogs category group to route logs to an Event Hub for all supported resources.", | ||
"displayName": "Enable allLogs category group resource logging for supported resources to Log Analytics", | ||
"policyDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/0884adba-2312-4468-abeb-5422caed1038", | ||
"enforcementMode": "Default", | ||
"nonComplianceMessages": [ | ||
{ | ||
"message": "Diagnostic settings {enforcementMode} be deployed to Azure services to forward logs to Log Analytics." | ||
} | ||
], | ||
"parameters": { | ||
"logAnalytics": { | ||
"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/${root_scope_id}-mgmt/providers/Microsoft.OperationalInsights/workspaces/${root_scope_id}-la" | ||
} | ||
}, | ||
"scope": "${current_scope_resource_id}", | ||
"notScopes": [] | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...es/archetypes/lib/policy_assignments/policy_assignment_es_deploy_mdendpointsama.tmpl.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"type": "Microsoft.Authorization/policyAssignments", | ||
"apiVersion": "2022-06-01", | ||
"name": "Deploy-MDEndpointsAMA", | ||
"location": "${default_location}", | ||
"dependsOn": [], | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"properties": { | ||
"description": "Configure the multiple Microsoft Defender for Endpoint integration settings with Microsoft Defender for Cloud (WDATP, WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW, WDATP_UNIFIED_SOLUTION etc.). See: https://learn.microsoft.com/azure/defender-for-cloud/integration-defender-for-endpoint for more information.", | ||
"displayName": "Configure multiple Microsoft Defender for Endpoint integration settings with Microsoft Defender for Cloud", | ||
"policyDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/77b391e3-2d5d-40c3-83bf-65c846b3c6a3", | ||
"enforcementMode": "Default", | ||
"nonComplianceMessages": [ | ||
{ | ||
"message": "Microsoft Defender for Endpoint {enforcementMode} be deployed." | ||
} | ||
], | ||
"parameters": {}, | ||
"scope": "${current_scope_resource_id}", | ||
"notScopes": [] | ||
} | ||
} |
Oops, something went wrong.