Skip to content

Commit 8be8541

Browse files
committed
update
1 parent c6f9a54 commit 8be8541

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

articles/azure-resource-manager/bicep/linter-rule-secure-params-in-nested-deploy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.date: 09/21/2022
77

88
# Linter rule - secure params in nested deploy
99

10-
Outer-scoped nested deployment resources should not be used for secure parameters or list* functions. You could expose the secure parameter values in the deployment history.
10+
Outer-scoped nested deployment resources shouldn't be used for secure parameters or list* functions. You could expose the secure parameter values in the deployment history.
1111

1212
## Linter rule code
1313

@@ -17,7 +17,7 @@ Use the following value in the [Bicep configuration file](bicep-config-linter.md
1717

1818
## Solution
1919

20-
Either set the [deployment's properties.expressionEvaluationOptions.scope](/azure/templates/microsoft.resources/deployments?pivots=deployment-language-bicep) to 'inner' or use a Bicep module instead.
20+
Either set the [deployment's properties.expressionEvaluationOptions.scope](/azure/templates/microsoft.resources/deployments?pivots=deployment-language-bicep) to `inner` or use a Bicep module instead.
2121

2222
The following example fails this test because a secure parameter is used in an outer-scoped nested deployment resource.
2323

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ You can integrate these checks as a part of your CI/CD pipelines. You can use a
7272

7373
## Silencing false positives
7474

75-
Sometimes a rule can have false positives. For example you may need to include a link to a blob storage directly without using the [environment()](./bicep-functions-deployment.md#environment) function.
75+
Sometimes a rule can have false positives. For example, you may need to include a link to a blob storage directly without using the [environment()](./bicep-functions-deployment.md#environment) function.
7676
In this case you can disable the warning for one line only, not the entire document, by adding `#disable-next-line <rule name>` before the line with the warning.
7777

7878
```bicep
7979
#disable-next-line no-hardcoded-env-urls //Direct download link to my toolset
8080
scriptDownloadUrl: 'https://mytools.blob.core.windows.net/...'
8181
```
8282

83-
It is good practice to add a comment explaining why the rule does not apply to this line.
83+
It's good practice to add a comment explaining why the rule doesn't apply to this line.
8484

8585
## Next steps
8686

0 commit comments

Comments
 (0)