Skip to content

Commit 54618be

Browse files
Merge pull request #313077 from polatengin/polatengin/bicep-config-linter-cleanup-hosts
update linter settings in bicep configuration documentation
2 parents 02bed81 + c5d88ac commit 54618be

2 files changed

Lines changed: 14 additions & 24 deletions

File tree

articles/azure-resource-manager/bicep/bicep-config-linter.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Linter settings for Bicep config
33
description: Describes how to customize configuration values for the Bicep linter
44
ms.topic: article
55
ms.custom: devx-track-bicep
6-
ms.date: 12/22/2025
6+
ms.date: 03/12/2026
77
---
88

99
# Add linter settings in the Bicep config file
@@ -179,9 +179,6 @@ For the rule about hardcoded environment URLs, you can customize which URLs are
179179
"no-hardcoded-env-urls": {
180180
"level": "warning",
181181
"disallowedhosts": [
182-
"api.loganalytics.io",
183-
"api.loganalytics.iov1",
184-
"asazure.windows.net",
185182
"azuredatalakeanalytics.net",
186183
"azuredatalakestore.net",
187184
"batch.core.windows.net",
@@ -193,8 +190,6 @@ For the rule about hardcoded environment URLs, you can customize which URLs are
193190
"login.microsoftonline.com",
194191
"management.azure.com",
195192
"management.core.windows.net",
196-
"region.asazure.windows.net",
197-
"trafficmanager.net",
198193
"vault.azure.net"
199194
],
200195
"excludedhosts": [
@@ -212,4 +207,3 @@ For the rule about hardcoded environment URLs, you can customize which URLs are
212207
- [Configure your Bicep environment](bicep-config.md)
213208
- [Add module settings in Bicep config](bicep-config-modules.md)
214209
- Learn about the [Bicep linter](linter.md)
215-

articles/azure-resource-manager/bicep/linter-rule-no-hardcoded-environment-urls.md

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Linter rule - no hardcoded environment URL
33
description: Linter rule - no hardcoded environment URL
44
ms.topic: reference
55
ms.custom: devx-track-bicep
6-
ms.date: 10/30/2025
6+
ms.date: 03/12/2026
77
---
88

99
# Linter rule - no hardcoded environment URL
@@ -73,22 +73,18 @@ By default, this rule uses the following settings for determining which URLs are
7373
"no-hardcoded-env-urls": {
7474
"level": "warning",
7575
"disallowedhosts": [
76-
"gallery.azure.com",
77-
"management.core.windows.net",
78-
"management.azure.com",
79-
"database.windows.net",
80-
"core.windows.net",
81-
"login.microsoftonline.com",
82-
"graph.windows.net",
83-
"trafficmanager.net",
84-
"datalake.azure.net",
85-
"azuredatalakestore.net",
86-
"azuredatalakeanalytics.net",
87-
"vault.azure.net",
88-
"api.loganalytics.io",
89-
"asazure.windows.net",
90-
"region.asazure.windows.net",
91-
"batch.core.windows.net"
76+
"azuredatalakeanalytics.net",
77+
"azuredatalakestore.net",
78+
"batch.core.windows.net",
79+
"core.windows.net",
80+
"database.windows.net",
81+
"datalake.azure.net",
82+
"gallery.azure.com",
83+
"graph.windows.net",
84+
"login.microsoftonline.com",
85+
"management.azure.com",
86+
"management.core.windows.net",
87+
"vault.azure.net"
9288
],
9389
"excludedhosts": [
9490
"schema.management.azure.com"

0 commit comments

Comments
 (0)