-
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.
Remove duplicate AKS Assignment and create subnet private assignment
- Loading branch information
Showing
8 changed files
with
97 additions
and
146 deletions.
There are no files selected for viewing
132 changes: 72 additions & 60 deletions
132
infra-as-code/bicep/modules/policy/assignments/alzDefaults/alzDefaultPolicyAssignments.bicep
Large diffs are not rendered by default.
Oops, something went wrong.
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
22 changes: 0 additions & 22 deletions
22
...assignments/lib/china/policy_assignments/policy_assignment_es_deploy_aks_policy.tmpl.json
This file was deleted.
Oops, something went wrong.
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: 0 additions & 22 deletions
22
...olicy/assignments/lib/policy_assignments/policy_assignment_es_deploy_aks_policy.tmpl.json
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
.../assignments/lib/policy_assignments/policy_assignment_es_enforce_subnet_private.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,18 @@ | ||
{ | ||
"name": "Enforce-Subnet-Private", | ||
"type": "Microsoft.Authorization/policyAssignments", | ||
"apiVersion": "2024-04-01", | ||
"properties": { | ||
"description": "Ensure your subnets are secure by default by preventing default outbound access. For more information go to https://aka.ms/defaultoutboundaccessretirement", | ||
"displayName": "Subnets should be private", | ||
"notScopes": [], | ||
"parameters": {}, | ||
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7bca8353-aa3b-429b-904a-9229c4385837", | ||
"scope": null, | ||
"enforcementMode": "Default" | ||
}, | ||
"location": null, | ||
"identity": { | ||
"type": "None" | ||
} | ||
} |