-
Notifications
You must be signed in to change notification settings - Fork 995
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
Added new built-in Policies into the Initiative #1109
Merged
krowlandson
merged 33 commits into
Azure:main
from
pkorolo:Update-Custom-PrivateDNSInitiative
Nov 23, 2022
Merged
Changes from 9 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
e1afae6
Added new built-in Policies into the Initiative
pkorolo 771b3b5
Auto-update Portal experience [pkorolo/b6efe33e]
github-actions[bot] e69bf06
Second commit to also update assignments
pkorolo 84ed288
Auto-update Portal experience [pkorolo/3988ae38]
github-actions[bot] 44bf538
3rd commit to resolve conflict
pkorolo 1e587e3
Auto-update Portal experience [pkorolo/3988ae38]
github-actions[bot] 6747ee5
4th commit to resolve conflict
pkorolo 9df726f
Auto-update Portal experience [pkorolo/3988ae38]
github-actions[bot] a986201
5th commit to resolve conflict
pkorolo 5322f59
Auto-update Portal experience [pkorolo/3988ae38]
github-actions[bot] 74ced8d
Merge branch 'main' into Update-Custom-PrivateDNSInitiative
pkorolo 00970ff
Auto-update Portal experience [pkorolo/3988ae38]
github-actions[bot] 06c6887
Merge branch 'main' into Update-Custom-PrivateDNSInitiative
pkorolo c9a610b
commit to resolve conflict
pkorolo 025159a
Auto-update Portal experience [pkorolo/812afd55]
github-actions[bot] e6d13e4
Merge branch 'Update-Custom-PrivateDNSInitiative' of https://github.c…
pkorolo 4aedae7
commit to include recommendations and whats new
pkorolo c3f3cfc
Auto-update Portal experience [pkorolo/812afd55]
github-actions[bot] 908e588
Delete policies_20221117131533.json
cf72e68
Delete policies_20221117131622.json
ec3f9cf
Merge branch 'Azure:main' into Update-Custom-PrivateDNSInitiative
pkorolo 5721c1b
conflict resolution
pkorolo 8605534
Auto-update Portal experience [pkorolo/d4d714bb]
github-actions[bot] 8a2e069
Merge branch 'main' into Update-Custom-PrivateDNSInitiative
pkorolo c0aab67
Auto-update Portal experience [pkorolo/d4d714bb]
github-actions[bot] 50647e5
commit for minor fixes and whats new upd
pkorolo 06ad4c7
Merge branch 'Update-Custom-PrivateDNSInitiative' of https://github.c…
pkorolo 0359a48
Auto-update Portal experience [pkorolo/d4d714bb]
github-actions[bot] b652624
Merge branch 'main' into Update-Custom-PrivateDNSInitiative
1a16ec1
Auto-update Portal experience [krowlandson/e04594ec]
github-actions[bot] 26d340a
Auto-update Portal experience [krowlandson/e04594ec]
github-actions[bot] cdb04be
Trigger workflow
507b210
Merge branch 'Update-Custom-PrivateDNSInitiative' of github.com:pkoro…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,37 @@ | |
"baseId": "[concat(parameters('dnsZoneResourceGroupId'), '/providers/Microsoft.Network/privateDnsZones/')]", | ||
"policyParameterMapping": { | ||
"azureFilePrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.afs.azure.net')]", | ||
"azureAutomationWebhookPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.azure-automation.net')]", | ||
"azureAutomationDSCHybridPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.azure-automation.net')]", | ||
"azureCosmosSQLPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.documents.azure.com')]", | ||
"azureCosmosMongoPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.mongo.cosmos.azure.com')]", | ||
"azureCosmosCassandraPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.cassandra.cosmos.azure.com')]", | ||
"azureCosmosGremlinPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.gremlin.cosmos.azure.com')]", | ||
"azureCosmosTablePrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.table.cosmos.azure.com')]", | ||
"azureDataFactoryPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.datafactory.azure.net')]", | ||
"azureDataFactoryPortalPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.adf.azure.com')]", | ||
"azureHDInsightPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.azurehdinsight.net')]", | ||
"azureMigratePrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.prod.migration.windowsazure.com')]", | ||
"azureStorageBlobPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.blob.core.windows.net')]", | ||
"azureStorageBlobSecPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.blob.core.windows.net')]", | ||
"azureStorageQueuePrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.queue.core.windows.net')]", | ||
"azureStorageQueueSecPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.queue.core.windows.net')]", | ||
"azureStorageFilePrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.file.core.windows.net')]", | ||
"azureStorageStaticWebPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.web.core.windows.net')]", | ||
"azureStorageStaticWebSecPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.web.core.windows.net')]", | ||
"azureStorageDFSPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.dfs.core.windows.net')]", | ||
"azureStorageDFSSecPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.dfs.core.windows.net')]", | ||
"azureSynapseSQLPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.sql.azuresynapse.net')]", | ||
"azureSynapseSQLODPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.sql.azuresynapse.net')]", | ||
"azureSynapseDevPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.dev.azuresynapse.net')]", | ||
"azureMediaServicesKeyPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.media.azure.net')]", | ||
"azureMediaServicesLivePrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.media.azure.net')]", | ||
"azureMediaServicesStreamPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.media.azure.net')]", | ||
"azureMonitorPrivateDnsZoneId1": "[concat(variables('baseId'), 'privatelink.monitor.azure.com')]", | ||
"azureMonitorPrivateDnsZoneId2": "[concat(variables('baseId'), 'privatelink.oms.opinsights.azure.com')]", | ||
"azureMonitorPrivateDnsZoneId3": "[concat(variables('baseId'), 'privatelink.ods.opinsights.azure.com')]", | ||
"azureMonitorPrivateDnsZoneId4": "[concat(variables('baseId'), 'privatelink.agentsvc.azure-automation.net')]", | ||
"azureMonitorPrivateDnsZoneId5": "[concat(variables('baseId'), 'privatelink.blob.core.windows.net')]", | ||
"azureWebPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.webpubsub.azure.com')]", | ||
"azureBatchPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.', parameters('location'), '.batch.azure.com')]", | ||
"azureAppPrivateDnsZoneId": "[concat(variables('baseId'), 'privatelink.azconfig.io')]", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similarly, this appears to be the namespace for App Configuration Stores - making this an equally ambiguous parameter name. Would probably be a breaking change to reverse some of this though unfortunately. |
||
|
@@ -84,6 +115,99 @@ | |
"azureFilePrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureFilePrivateDnsZoneId]" | ||
}, | ||
"azureAutomationWebhookPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureAutomationWebhookPrivateDnsZoneId]" | ||
}, | ||
"azureAutomationDSCHybridPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureAutomationDSCHybridPrivateDnsZoneId]" | ||
}, | ||
"azureCosmosSQLPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureCosmosSQLPrivateDnsZoneId]" | ||
}, | ||
"azureCosmosMongoPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureCosmosMongoPrivateDnsZoneId]" | ||
}, | ||
"azureCosmosCassandraPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureCosmosCassandraPrivateDnsZoneId]" | ||
}, | ||
"azureCosmosGremlinPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureCosmosGremlinPrivateDnsZoneId]" | ||
}, | ||
"azureCosmosTablePrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureCosmosTablePrivateDnsZoneId]" | ||
}, | ||
"azureDataFactoryPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureDataFactoryPrivateDnsZoneId]" | ||
}, | ||
"azureDataFactoryPortalPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureDataFactoryPortalPrivateDnsZoneId]" | ||
}, | ||
"azureHDInsightPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureHDInsightPrivateDnsZoneId]" | ||
}, | ||
"azureMigratePrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureMigratePrivateDnsZoneId]" | ||
}, | ||
"azureStorageBlobPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureStorageBlobPrivateDnsZoneId]" | ||
}, | ||
"azureStorageBlobSecPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureStorageBlobSecPrivateDnsZoneId]" | ||
}, | ||
"azureStorageQueuePrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureStorageQueuePrivateDnsZoneId]" | ||
}, | ||
"azureStorageQueueSecPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureStorageQueueSecPrivateDnsZoneId]" | ||
}, | ||
"azureStorageFilePrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureStorageFilePrivateDnsZoneId]" | ||
}, | ||
"azureStorageStaticWebPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureStorageStaticWebPrivateDnsZoneId]" | ||
}, | ||
"azureStorageStaticWebSecPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureStorageStaticWebSecPrivateDnsZoneId]" | ||
}, | ||
"azureStorageDFSPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureStorageDFSPrivateDnsZoneId]" | ||
}, | ||
"azureStorageDFSSecPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureStorageDFSSecPrivateDnsZoneId]" | ||
}, | ||
"azureSynapseSQLPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureSynapseSQLPrivateDnsZoneId]" | ||
}, | ||
"azureSynapseSQLODPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureSynapseSQLODPrivateDnsZoneId]" | ||
}, | ||
"azureSynapseDevPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureSynapseDevPrivateDnsZoneId]" | ||
}, | ||
"azureMediaServicesKeyPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureMediaServicesKeyPrivateDnsZoneId]" | ||
}, | ||
"azureMediaServicesLivePrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureMediaServicesLivePrivateDnsZoneId]" | ||
}, | ||
"azureMediaServicesStreamPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureMediaServicesStreamPrivateDnsZoneId]" | ||
}, | ||
"azureMonitorPrivateDnsZoneId1": { | ||
"value": "[variables('policyParameterMapping').azureMonitorPrivateDnsZoneId1]" | ||
}, | ||
"azureMonitorPrivateDnsZoneId2": { | ||
"value": "[variables('policyParameterMapping').azureMonitorPrivateDnsZoneId2]" | ||
}, | ||
"azureMonitorPrivateDnsZoneId3": { | ||
"value": "[variables('policyParameterMapping').azureMonitorPrivateDnsZoneId3]" | ||
}, | ||
"azureMonitorPrivateDnsZoneId4": { | ||
"value": "[variables('policyParameterMapping').azureMonitorPrivateDnsZoneId4]" | ||
}, | ||
"azureMonitorPrivateDnsZoneId5": { | ||
"value": "[variables('policyParameterMapping').azureMonitorPrivateDnsZoneId5]" | ||
}, | ||
"azureWebPrivateDnsZoneId": { | ||
"value": "[variables('policyParameterMapping').azureWebPrivateDnsZoneId]" | ||
}, | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just realised that this has probably been wrong since creation, as this is the namespace for Azure SignalR WebPubSub, but the parameter name (in my opinion) leads me to believe this was intended for Azure Web Apps.
The policy mapped to this parameter is indeed Azure SignalR WebPubSub so it technically maps correctly, but this doesn't feel correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right, if I would make it from the beginning, naming would be different for cases like this one, but I did not touch the originals