-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from Azure-Samples/psrule
Switch to PSRule for security analysis
- Loading branch information
Showing
5 changed files
with
41 additions
and
10 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
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,20 @@ | ||
// This file is for doing static analysis and contains sensible defaults | ||
// for the bicep analyser to minimise false-positives and provide the best results. | ||
|
||
// This file is not intended to be used as a runtime configuration file. | ||
|
||
targetScope = 'resourceGroup' | ||
|
||
// Random, dummy data for static analysis | ||
param sqlAdminLogin string = newGuid() | ||
@secure() | ||
param sqlAdminPassword string = newGuid() | ||
|
||
module main 'main.bicep' = { | ||
name: 'main' | ||
params: { | ||
staticWebAppLocation: 'westus2' | ||
sqlAdminLogin: sqlAdminLogin | ||
sqlAdminPassword: sqlAdminPassword | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# YAML: Set the AZURE_BICEP_FILE_EXPANSION configuration option to enable expansion | ||
configuration: | ||
AZURE_BICEP_FILE_EXPANSION: true |