-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Missing Databricks Default Policy Assignments to Corp MG to Match…
… ALZ Accelerator Experience (#177) * add assignments * update policy assignment bicep inputs * update default assignments with databricks policies on corp * update ver * makes file pluralism match
- Loading branch information
Showing
5 changed files
with
179 additions
and
32 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
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
22 changes: 22 additions & 0 deletions
22
...signments/lib/policy_assignments/policy_assignment_es_deny_databricks_public_ip.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,22 @@ | ||
{ | ||
"name": "Deny-DataB-Pip", | ||
"type": "Microsoft.Authorization/policyAssignments", | ||
"apiVersion": "2019-09-01", | ||
"properties": { | ||
"description": "Prevent the deployment of Databricks workspaces that do not use the noPublicIp feature to host Databricks clusters without public IPs.", | ||
"displayName": "Prevent usage of Databricks with public IP", | ||
"notScopes": [], | ||
"parameters": { | ||
"effect": { | ||
"value": "Deny" | ||
} | ||
}, | ||
"policyDefinitionId": "${modManagementGroups.outputs.outTopLevelMGId}/providers/Microsoft.Authorization/policyDefinitions/Deny-Databricks-NoPublicIp", | ||
"scope": null, | ||
"enforcementMode": "Default" | ||
}, | ||
"location": null, | ||
"identity": { | ||
"type": "None" | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...icy/assignments/lib/policy_assignments/policy_assignment_es_deny_databricks_sku.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,22 @@ | ||
{ | ||
"name": "Deny-DataB-Sku", | ||
"type": "Microsoft.Authorization/policyAssignments", | ||
"apiVersion": "2019-09-01", | ||
"properties": { | ||
"description": "Enforces the use of Premium Databricks workspaces to make sure appropriate security features are available including Databricks Access Controls, Credential Passthrough and SCIM provisioning for AAD.", | ||
"displayName": "Enforces the use of Premium Databricks workspaces", | ||
"notScopes": [], | ||
"parameters": { | ||
"effect": { | ||
"value": "Deny" | ||
} | ||
}, | ||
"policyDefinitionId": "${modManagementGroups.outputs.outTopLevelMGId}/providers/Microsoft.Authorization/policyDefinitions/Deny-Databricks-Sku", | ||
"scope": null, | ||
"enforcementMode": "Default" | ||
}, | ||
"location": null, | ||
"identity": { | ||
"type": "None" | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...cy/assignments/lib/policy_assignments/policy_assignment_es_deny_databricks_vnet.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,22 @@ | ||
{ | ||
"name": "Deny-DataB-Vnet", | ||
"type": "Microsoft.Authorization/policyAssignments", | ||
"apiVersion": "2019-09-01", | ||
"properties": { | ||
"description": "Enforces the use of vnet injection for Databricks workspaces.", | ||
"displayName": "Enforces the use of vnet injection for Databricks", | ||
"notScopes": [], | ||
"parameters": { | ||
"effect": { | ||
"value": "Deny" | ||
} | ||
}, | ||
"policyDefinitionId": "${modManagementGroups.outputs.outTopLevelMGId}/providers/Microsoft.Authorization/policyDefinitions/Deny-Databricks-VirtualNetwork", | ||
"scope": null, | ||
"enforcementMode": "Default" | ||
}, | ||
"location": null, | ||
"identity": { | ||
"type": "None" | ||
} | ||
} |