diff --git a/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml b/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml index 6c8dc4e3b0..1f3fbf4c4a 100644 --- a/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml +++ b/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml @@ -5,6 +5,7 @@ parameters: # Logic-related parameters modulePath: '$(modulePath)' + psRuleFilterRegex: '(defaults|waf-aligned)' ##---------------------------------------------## ## TEMPLATE LOGIC ## @@ -19,32 +20,58 @@ jobs: name: ${{ parameters.poolName }} steps: - task: PowerShell@2 - displayName: 'Get parameter files' + displayName: 'Get module test file paths' name: getModuleTestFilesTask inputs: targetType: inline pwsh: true script: | + ## ======= ## + ## All ## + ## ======= ## + # Get the list of parameter file paths $moduleFolderPath = Join-Path '$(System.DefaultWorkingDirectory)' '${{ parameters.modulePath }}' - $testFilePaths = (Get-ChildItem -Path $moduleFolderPath -Recurse -Filter 'main.test.bicep').FullName | Sort-Object - $deploymentTestPaths = $testFilePaths | ForEach-Object { + $testFilePaths = (Get-ChildItem -Path $moduleFolderPath -Recurse -Filter 'main.test.bicep').FullName | Sort-Object + $testFilePaths = $testFilePaths | ForEach-Object { $_.Replace($moduleFolderPath, '').Trim('\').Trim('/') } - Write-Verbose 'Found module test files' -Verbose - $deploymentTestPaths | ForEach-Object { Write-Verbose "- [$_]" -Verbose } + Write-Verbose 'Found all module test files' -Verbose + $testFilePaths | ForEach-Object { Write-Verbose "- [$_]" -Verbose } $testTable = @{} - foreach ($deploymentTestPath in $deploymentTestPaths) { - $deploymentTestFileName = Split-Path (Split-Path $deploymentTestPath -Parent) -Leaf - $testTable[$deploymentTestFileName] += @{ - moduleTestFilePath = $deploymentTestPath - } - } + $testFilePaths | ForEach-Object { + $testFileName = Split-Path (Split-Path $_) -Leaf + $testTable[$testFileName] = @{ + moduleTestFilePath = $_ + moduleTestFileName = $testFileName + } + } | ConvertTo-Json -Compress + $deployCompressedOutput = $testTable | ConvertTo-Json -Compress + + Write-Verbose "Publishing output: $deployCompressedOutput" -Verbose + Write-Host ('##vso[task.setVariable variable=moduleTestFilePaths;isOutput=true]{0}' -f $deployCompressedOutput) - $deploymentTestPathsOutput = $testTable | ConvertTo-Json -Compress + ## =========== ## + ## PS-Rule ## + ## =========== ## + + $psRuleTestFilePaths = $testFilePaths | Where-Object { $_ -match '${{ parameters.psRuleFilterRegex }}' } + + Write-Verbose 'Found PSRule module test files' -Verbose + $psRuleTestFilePaths | ForEach-Object { Write-Verbose "- [$_]" -Verbose } + + $psRuleTestTable = @{} + $psRuleTestFilePaths | ForEach-Object { + $testFileName = Split-Path (Split-Path $_) -Leaf + $psRuleTestTable[$testFileName] = @{ + moduleTestFilePath = $_ + moduleTestFileName = $testFileName + } + } + $psRuleCompressedOutput = $psRuleTestTable | ConvertTo-Json -Compress - Write-Host ('##vso[task.setVariable variable=moduleTests;isOutput=true]{0}' -f ($testTable | ConvertTo-Json -Compress)) - Write-Verbose "Module test files: $deploymentTestPathsOutput" -Verbose + Write-Host ('##vso[task.setVariable variable=psRuleModuleTestFilePaths;isOutput=true]{0}' -f $psRuleCompressedOutput) + Write-Verbose "PS Rule publishing output: $psRuleCompressedOutput" -Verbose diff --git a/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml b/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml index ff34098171..c8e06dba1b 100644 --- a/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml +++ b/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml @@ -29,7 +29,6 @@ ## | vmImage | '$(vmImage)' | You can provide either a [poolname] or [vmImage] to run the job on. | 'ubuntu20.04' | ## | defaultJobTimeoutInMinutes | 120 | The timeout for the job in this pipeline. | 120 | ## | removeDeployment | 'true' | Set to [true] to flag resources for removal. If not provided, defaults to true. | 'true' | -## | templateFilePath | '' | Path to the template file to deploy. | 'modules/analysis-services/servers/main.bicep' | ## | customTokens | '' | Additional token pairs in json format. | '{"tokenName":"tokenValue"}' | ## | jobDisplayName | '' | The display name of the job. | 'Deploy module' | ## | modulePath | '$(modulePath)' | The path to the module to deploy. | 'c:/KeyVault' | @@ -50,7 +49,6 @@ parameters: defaultJobTimeoutInMinutes: 120 # Logic-related parameters removeDeployment: false - templateFilePath: '' customTokens: '' modulePath: '$(modulePath)' location: '$(location)' @@ -76,7 +74,7 @@ jobs: dependsOn: - getModuleTestFiles strategy: - matrix: $[ dependencies.getModuleTestFiles.outputs['getModuleTestFilesTask.moduleTests'] ] + matrix: $[ dependencies.getModuleTestFiles.outputs['getModuleTestFilesTask.moduleTestFilePaths'] ] ##---------------------------------------------## ## TEMPLATE LOGIC ## ##---------------------------------------------## @@ -117,20 +115,16 @@ jobs: # [Agent] Replace tokens #----------------------- - - task: AzurePowerShell@5 - displayName: 'Replace tokens in template file via connection [${{ parameters.serviceConnection }}]' + - task: PowerShell@2 + displayName: 'Replace tokens in template files' inputs: - azureSubscription: ${{ parameters.serviceConnection }} - azurePowerShellVersion: 'latestVersion' - preferredAzurePowerShellVersion: '' - ScriptType: InlineScript + targetType: inline pwsh: true - inline: | + script: | # Load used functions . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInFileList.ps1') . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'sharedScripts' 'Get-LocallyReferencedFileList.ps1') - # Get target files $moduleTestFilePath = Join-Path '$(System.DefaultWorkingDirectory)' '$(modulePath)' '$(moduleTestFilePath)' diff --git a/.azuredevops/pipelineTemplates/jobs.validateModulePSRule.yml b/.azuredevops/pipelineTemplates/jobs.validateModulePSRule.yml new file mode 100644 index 0000000000..9edac100e4 --- /dev/null +++ b/.azuredevops/pipelineTemplates/jobs.validateModulePSRule.yml @@ -0,0 +1,144 @@ +######################################################### +## 'Validate module with Pester' Pipeline Template ## +######################################################### +## +## This pipeline template contains the logic to validate a module using a set of Pester tests +## +## Enabled levels of validation +## - Resource-Group-Level +## - Subscription-Level +## - Management-Group-Level +## - Tenant-Level +## +######################################################### +## +##---------------------------------------------## +## TEMPLATE PARAMETERS ## +##---------------------------------------------## +## +## By default it uses the variables specified in the below [parameters] section. However, you can overwrite these variables in the +## referencing pipeline by providing the parameter explicitly. +## +## NOTE: If you don't need to overwrite a shared value, you can IGNORE this section +## +## |==============================================================================================================================================================================================================================================| +## | Parameter | Default Value | Description | Example | +## |----------------------------|-----------------------------------------------|-------------------------------------------------------------------------------------------------------|---------------------------------------------------------| +## | poolName | '$(poolName)' | You can provide either a [poolname] or [vmImage] to run the job on | 'Custom Deployment Pool' | +## | vmImage | '$(vmImage)' | You can provide either a [poolname] or [vmImage] to run the job on | 'ubuntu20.04' | +## | defaultJobTimeoutInMinutes | 120 | The timeout for the job in this pipeline | 120 | +## | modulePath | '$(modulePath)' | The path to the module to deploy. | 'c:/KeyVault' | +## | psrulePath | 'utilities/pipelines/staticValidation/psrule' | The path to the PS-Rule configuration | 'utilities/pipelines/staticValidation/module.tests.ps1' | +## | location | '$(location)' | The location to validate with | 'France Central' | +## | subscriptionId | '$(ARM_SUBSCRIPTION_ID)' | The id of the subscription to validate with when using a Management group service connection | 'aed7c000-6387-412e-bed0-24dfddf4bbc6' | +## | managementGroupId | '$(ARM_MGMTGROUP_ID)' | The id of the management group to validate with. Required only for Management-Group-Level validations | '477c9620-cb01-454f-9ebc-fc6b1df48c14' | +## |==============================================================================================================================================================================================================================================| +## +##---------------------------------------------## + +parameters: + # Pipeline-related parameters + poolName: '$(poolName)' + vmImage: '$(vmImage)' + defaultJobTimeoutInMinutes: 120 + # Logic-related parameters + modulePath: '$(modulePath)' + psrulePath: 'utilities/pipelines/staticValidation/psrule' + location: '$(location)' + subscriptionId: '$(ARM_SUBSCRIPTION_ID)' + managementGroupId: '$(ARM_MGMTGROUP_ID)' + +##---------------------------------------------## +## TEMPLATE LOGIC ## +##---------------------------------------------## +jobs: + - template: /.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml + - job: + displayName: Run PSRule tests + timeoutInMinutes: ${{ parameters.defaultJobTimeoutInMinutes }} + pool: + ${{ if ne(parameters.vmImage, '') }}: + vmImage: ${{ parameters.vmImage }} + ${{ if ne(parameters.poolName, '') }}: + name: ${{ parameters.poolName }} + dependsOn: + - getModuleTestFiles + strategy: + matrix: $[ dependencies.getModuleTestFiles.outputs['getModuleTestFilesTask.psRuleModuleTestFilePaths'] ] + steps: + # [Agent] Replace tokens + #----------------------- + - task: PowerShell@2 + displayName: 'Replace tokens in template files' + inputs: + targetType: inline + pwsh: true + script: | + # Load used functions + . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInFileList.ps1') + . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'sharedScripts' 'Get-LocallyReferencedFileList.ps1') + + # Get target files + $moduleTestFilePath = Join-Path '$(System.DefaultWorkingDirectory)' '$(modulePath)' '$(moduleTestFilePath)' + + # Get target files + $targetFileList = @( + $moduleTestFilePath + ) + + # Add all module template files as they may contain tokens + $targetFileList += (Get-LocallyReferencedFileList -FilePath $moduleTestFilePath) + $targetFileList = $targetFileList | Sort-Object -Unique + + # Construct Token Function Input + $ConvertTokensInputs = @{ + FilePathList = $targetFileList + Tokens = @{} + TokenPrefix = '$(tokenPrefix)' + TokenSuffix = '$(tokenSuffix)' + } + + # Add enforced tokens + $ConvertTokensInputs.Tokens += @{ + subscriptionId = '${{ parameters.subscriptionId }}' + managementGroupId = '${{ parameters.managementGroupId }}' + tenantId = '$(ARM_TENANT_ID)' + } + + # Add local (source control) tokens + $tokenMap = @{} + foreach ($token in (Get-ChildItem env: | Where-Object -Property Name -Like "localToken_*")) { + $tokenMap += @{ $token.Name.Replace('localToken_','','OrdinalIgnoreCase') = $token.value } + } + Write-Verbose ('Using local tokens [{0}]' -f ($tokenMap.Keys -join ', ')) -Verbose + $ConvertTokensInputs.Tokens += $tokenMap + + # Swap 'namePrefix' token if empty and provided as a Azure DevOps variable + if([String]::IsNullOrEmpty($ConvertTokensInputs.Tokens['namePrefix'])){ + Write-Verbose 'Using [namePrefix] token from Azure DevOps Variable Groups' -Verbose + $ConvertTokensInputs.Tokens['namePrefix'] = "$(TOKEN_NAMEPREFIX)" + } + + # Add custom tokens (passed in via the pipeline) + if(-not [String]::IsNullOrEmpty('${{ parameters.customTokens }}')) { + $customTokens = '${{ parameters.customTokens }}' | ConvertFrom-Json -AsHashTable + Write-Verbose ('Using custom parameter file tokens [{0}]' -f ($customTokens.Keys -join ', ')) -Verbose + $ConvertTokensInputs.Tokens += $customTokens + } + + Write-Verbose "Convert Tokens Input:`n $($ConvertTokensInputs | ConvertTo-Json -Depth 10)" -Verbose + + # Invoke Token Replacement Functionality [For Module] + $null = Convert-TokensInFileList @ConvertTokensInputs + + - task: ps-rule-assert@2 + displayName: Analyze Azure template files + inputs: + inputType: inputPath + modules: 'PSRule.Rules.Azure' + inputPath: '$(System.DefaultWorkingDirectory)/$(modulePath)/$(moduleTestFilePath)' + outputFormat: Csv + option: '${{ parameters.psrulePath}}/ps-rule.yaml' # Path to PSRule configuration options file + source: '${{ parameters.psrulePath}}/.ps-rule/' # Path to folder containing suppression rules to use for analysis. + outputPath: '$(System.DefaultWorkingDirectory)/$(modulePath)/$(moduleTestFilePath)-PSRule-output.csv' + continueOnError: true diff --git a/.azuredevops/pipelineTemplates/jobs.validateModulePester.yml b/.azuredevops/pipelineTemplates/jobs.validateModulePester.yml index 1839d3f59c..567a6b3c15 100644 --- a/.azuredevops/pipelineTemplates/jobs.validateModulePester.yml +++ b/.azuredevops/pipelineTemplates/jobs.validateModulePester.yml @@ -21,23 +21,23 @@ ## ## NOTE: If you don't need to overwrite a shared value, you can IGNORE this section ## -## |=====================================================================================================================================================================================================================================================| -## | Parameter | Default Value | Description | Example | -## |---------------------------------|--------------------------------------|-----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------| -## | serviceConnection | '$(serviceConnection)' | The service connection that connects to Azure | 'demo-internal' | -## | poolName | '$(poolName)' | You can provide either a [poolname] or [vmImage] to run the job on | 'Custom Deployment Pool' | -## | vmImage | '$(vmImage)' | You can provide either a [poolname] or [vmImage] to run the job on | 'ubuntu20.04' | -## | defaultJobTimeoutInMinutes | 120 | The timeout for the job in this pipeline | 120 | -## | modulePath | '$(modulePath)' | The path to the module to deploy. | 'c:/KeyVault' | -## | moduleTestFilePath | '$(moduleTestFilePath)' | The path to the module Pester tests. | 'utilities/pipelines/staticValidation/module.tests.ps1' | -## | location | '$(location)' | The location to validate with | 'France Central' | -## | subscriptionId | '$(ARM_SUBSCRIPTION_ID)' | The id of the subscription to validate with when using a Management group service connection | 'aed7c000-6387-412e-bed0-24dfddf4bbc6' | -## | managementGroupId | '$(ARM_MGMTGROUP_ID)' | The id of the management group to validate with. Required only for Management-Group-Level validations | '477c9620-cb01-454f-9ebc-fc6b1df48c14' | -## | parametersRepository | '$(Build.Repository.Name)' | The respository with the parameter files. Defaults to the triggering repository | 'Solutions' | -## | modulesRepository | '$(modulesRepository)' | The respository with the modules. | 'Components' | -## | azurePowerShellVersion | '$(azurePowerShellVersion)' | Used for configuring the Azure PowerShellModules Version, one of the example values. | 'latestVersion' or 'OtherVersion' | -## | preferredAzurePowerShellVersion | '$(preferredAzurePowerShellVersion)' | Used for configuring the Azure PowerShellModules Version, either an empty string or the specific version. | '4.4.0' | -## |=====================================================================================================================================================================================================================================================| +## |========================================================================================================================================================================================================================================================================| +## | Parameter | Default Value | Description | Example | +## |---------------------------------|---------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------| +## | serviceConnection | '$(serviceConnection)' | The service connection that connects to Azure | 'demo-internal' | +## | poolName | '$(poolName)' | You can provide either a [poolname] or [vmImage] to run the job on | 'Custom Deployment Pool' | +## | vmImage | '$(vmImage)' | You can provide either a [poolname] or [vmImage] to run the job on | 'ubuntu20.04' | +## | defaultJobTimeoutInMinutes | 120 | The timeout for the job in this pipeline | 120 | +## | modulePath | '$(modulePath)' | The path to the module to deploy. | 'c:/KeyVault' | +## | moduleTestFilePath | 'utilities/pipelines/staticValidation/module.tests.ps1' | The path to the module Pester tests. | 'utilities/pipelines/staticValidation/module.tests.ps1' | +## | location | '$(location)' | The location to validate with | 'France Central' | +## | subscriptionId | '$(ARM_SUBSCRIPTION_ID)' | The id of the subscription to validate with when using a Management group service connection | 'aed7c000-6387-412e-bed0-24dfddf4bbc6' | +## | managementGroupId | '$(ARM_MGMTGROUP_ID)' | The id of the management group to validate with. Required only for Management-Group-Level validations | '477c9620-cb01-454f-9ebc-fc6b1df48c14' | +## | parametersRepository | '$(Build.Repository.Name)' | The respository with the parameter files. Defaults to the triggering repository | 'Solutions' | +## | modulesRepository | '$(modulesRepository)' | The respository with the modules. | 'Components' | +## | azurePowerShellVersion | '$(azurePowerShellVersion)' | Used for configuring the Azure PowerShellModules Version, one of the example values. | 'latestVersion' or 'OtherVersion' | +## | preferredAzurePowerShellVersion | '$(preferredAzurePowerShellVersion)' | Used for configuring the Azure PowerShellModules Version, either an empty string or the specific version. | '4.4.0' | +## |========================================================================================================================================================================================================================================================================| ## ##---------------------------------------------## @@ -48,7 +48,7 @@ parameters: defaultJobTimeoutInMinutes: 120 # Logic-related parameters modulePath: '$(modulePath)' - moduleTestFilePath: '$(moduleTestFilePath)' + moduleTestFilePath: 'utilities/pipelines/staticValidation/module.tests.ps1' parametersRepository: '$(Build.Repository.Name)' location: '$(location)' subscriptionId: '$(ARM_SUBSCRIPTION_ID)' diff --git a/.azuredevops/pipelineTemplates/stages.module.yml b/.azuredevops/pipelineTemplates/stages.module.yml index 9d6b8e3720..3367683709 100644 --- a/.azuredevops/pipelineTemplates/stages.module.yml +++ b/.azuredevops/pipelineTemplates/stages.module.yml @@ -12,6 +12,7 @@ stages: condition: eq('${{ parameters.staticValidation }}', 'True') jobs: - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml + - template: /.azuredevops/pipelineTemplates/jobs.validateModulePSRule.yml - stage: deployment displayName: Deployment validation @@ -21,7 +22,6 @@ stages: jobs: - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml parameters: - templateFilePath: '$(modulePath)/main.bicep' removeDeployment: '${{ parameters.removeDeployment }}' defaultJobTimeoutInMinutes: ${{ parameters.defaultJobTimeoutInMinutes }} diff --git a/.github/actions/templates/getModuleTestFiles/action.yml b/.github/actions/templates/getModuleTestFiles/action.yml index 704f13bad5..7772e18fa1 100644 --- a/.github/actions/templates/getModuleTestFiles/action.yml +++ b/.github/actions/templates/getModuleTestFiles/action.yml @@ -1,42 +1,79 @@ -name: 'Get parameter files' -description: 'Retrieve the parameter file paths of a given module' +name: 'Get test files' +description: 'Retrieve the test file paths of a given module' inputs: modulePath: description: "The path to the module's folder" required: true + psRuleFilterRegex: + description: 'The regex used to filter PSRule compliant files' + required: true + default: '(defaults|waf-aligned)' outputs: moduleTestFilePaths: description: 'The module test files to use for template evaluation' value: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: + description: 'The module test files to use for PSRule evaluation' + value: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} runs: using: 'composite' steps: - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths shell: pwsh run: | # Grouping task logs - Write-Output '::group::Get parameter files' + Write-Output '::group::Get all test files' # Get the list of parameter file paths $moduleFolderPath = Join-Path $env:GITHUB_WORKSPACE '${{ inputs.modulePath }}' - $testFilePaths = (Get-ChildItem -Path $moduleFolderPath -Recurse -Filter 'main.test.bicep').FullName | Sort-Object + $testFilePaths = (Get-ChildItem -Path $moduleFolderPath -Recurse -Filter 'main.test.bicep').FullName | Sort-Object $testFilePaths = $testFilePaths | ForEach-Object { $_.Replace($moduleFolderPath, '').Trim('\').Trim('/') } - Write-Verbose 'Found module test files' -Verbose + Write-Verbose 'Found all module test files' -Verbose $testFilePaths | ForEach-Object { Write-Verbose "- [$_]" -Verbose } # Output values to be accessed by next jobs - $compressedOutput = $testFilePaths | ConvertTo-Json -Compress - if($compressedOutput -notmatch "\[.*\]") { - $compressedOutput = "[$compressedOutput]" + $deployCompressedOutput = $testFilePaths | ForEach-Object { + @{ + moduleTestFilePath = $_ + moduleTestFileName = Split-Path (Split-Path $_) -Leaf + } + } | ConvertTo-Json -Compress + + # Output values to be accessed by next jobs + if($deployCompressedOutput -notmatch "\[.*\]") { + $deployCompressedOutput = "[$deployCompressedOutput]" + } + Write-Verbose "Publishing output: $deployCompressedOutput" -Verbose + Write-Output ('{0}={1}' -f 'moduleTestFilePaths', $deployCompressedOutput) >> $env:GITHUB_OUTPUT + + Write-Output '::endgroup::' + + Write-Output '::group::Get PSRule test files' + $psRuleTestFilePaths = $testFilePaths | Where-Object { $_ -match '${{ inputs.psRuleFilterRegex }}' } + + Write-Verbose 'Found PSRule module test files' -Verbose + $psRuleTestFilePaths | ForEach-Object { Write-Verbose "- [$_]" -Verbose } + + # Output values to be accessed by next jobs + $psRuleCompressedOutput = $psRuleTestFilePaths | ForEach-Object { + @{ + moduleTestFilePath = $_ + moduleTestFileName = Split-Path (Split-Path $_) -Leaf + } + } | ConvertTo-Json -Compress + + if($psRuleCompressedOutput -notmatch "\[.*\]") { + $psRuleCompressedOutput = "[$psRuleCompressedOutput]" } - Write-Verbose "Publishing output: $compressedOutput" -Verbose - Write-Output ('{0}={1}' -f 'moduleTestFilePaths', $compressedOutput) >> $env:GITHUB_OUTPUT + Write-Verbose "Publishing output: $psRuleCompressedOutput" -Verbose + Write-Output ('{0}={1}' -f 'psRuleModuleTestFilePaths', $psRuleCompressedOutput) >> $env:GITHUB_OUTPUT + Write-Output '::endgroup::' diff --git a/.github/actions/templates/validateModulePSRule/action.yml b/.github/actions/templates/validateModulePSRule/action.yml index 2f052b6e6c..db5ac2cfbb 100644 --- a/.github/actions/templates/validateModulePSRule/action.yml +++ b/.github/actions/templates/validateModulePSRule/action.yml @@ -10,13 +10,14 @@ ## ACTION PARAMETERS ## ##-------------------------------------------## ## -## |=================================================================================================================================================================| -## | Parameter | Required | Default | Description | Example | -## |--------------------------|----------|---------|--------------------------------------|--------------------------------------------------------------------------| -## | templateFilePath | true | '' | The path to the module PSRule tests. | 'modules/api-management/service/.test/common/main.test.bicep' | -## | subscriptionId | false | '' | The subscriptionId to deploy to | '1a97b80a-4dda-4f50-ab53-349e29344654' | -## | managementGroupId | false | '' | The managementGroupId to deploy to | '1a97b80a-4dda-4f50-ab53-349e29344654' | -## |=================================================================================================================================================================| +## |=============================================================================================================================================================================================| +## | Parameter | Required | Default | Description | Example | +## |--------------------------|----------|-----------------------------------------------|---------------------------------------|---------------------------------------------------------------| +## | templateFilePath | true | '' | The path to the template to test. | 'modules/api-management/service/.test/common/main.test.bicep' | +## | subscriptionId | false | '' | The subscriptionId to deploy to | '1a97b80a-4dda-4f50-ab53-349e29344654' | +## | managementGroupId | false | '' | The managementGroupId to deploy to | '1a97b80a-4dda-4f50-ab53-349e29344654' | +## | psrulePath | false | 'utilities/pipelines/staticValidation/psrule' | The path to the PS-Rule configuration | 'utilities/pipelines/staticValidation/psrule' | +## |=============================================================================================================================================================================================| ## ##---------------------------------------------## @@ -34,6 +35,10 @@ inputs: managementGroupId: description: 'The management group ID to deploy to' required: false + psrulePath: + description: 'The path to PSRule configurations' + required: false + default: 'utilities/pipelines/staticValidation/psrule' runs: using: 'composite' @@ -89,15 +94,19 @@ runs: Write-Output '::endgroup::' - # Run analysis by using the PSRule GitHub action. + # [PSRule validation] task(s) + #----------------------------- - name: Run PSRule analysis - uses: microsoft/ps-rule@v2.4.0 + uses: microsoft/ps-rule@v2.9.0 continue-on-error: true # Setting this whilst PSRule gets bedded in, in this project with: modules: 'PSRule.Rules.Azure' inputPath: '${{ inputs.templateFilePath}}' outputFormat: Csv outputPath: '${{ inputs.templateFilePath}}-PSRule-output.csv' + option: '${{ github.workspace }}/${{ inputs.psrulePath}}/ps-rule.yaml' # Path to PSRule configuration options file + source: '${{ inputs.psrulePath}}/.ps-rule/' # Path to folder containing suppression rules to use for analysis. + summary: false # Disabling as taken care in customized task - name: 'Parse CSV content' if: always() @@ -109,7 +118,7 @@ runs: Write-Output '::group::Parse CSV content' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'PSRuleValidation' 'Set-PSRuleGitHubOutput.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'staticValidation' 'psrule' 'Set-PSRuleGitHubOutput.ps1') # Populate parameter input $ParameterInput = @{ diff --git a/.github/actions/templates/validateModulePester/action.yml b/.github/actions/templates/validateModulePester/action.yml index 93e10958ac..2735629954 100644 --- a/.github/actions/templates/validateModulePester/action.yml +++ b/.github/actions/templates/validateModulePester/action.yml @@ -10,12 +10,12 @@ ## ACTION PARAMETERS ## ##-------------------------------------------## ## -## |==================================================================================================================================================| -## | Parameter | Required | Default | Description | Example | -## |--------------------------|----------|---------|--------------------------------------|-----------------------------------------------------------| -## | modulePath | true | '' | The path to the module's folder | 'modules/api-management/service' | -## | moduleTestFilePath | true | '' | The path to the module Pester tests. | 'utilities/pipelines/staticValidation/module.tests.ps1' | -## |==================================================================================================================================================| +## |==================================================================================================================================================================================================| +## | Parameter | Required | Default | Description | Example | +## |--------------------------|----------|---------------------------------------------------------|--------------------------------------|-----------------------------------------------------------| +## | modulePath | true | '' | The path to the module's folder | 'modules/api-management/service' | +## | moduleTestFilePath | true | 'utilities/pipelines/staticValidation/module.tests.ps1' | The path to the module Pester tests. | 'utilities/pipelines/staticValidation/module.tests.ps1' | +## |==================================================================================================================================================================================================| ## ##---------------------------------------------## @@ -29,8 +29,8 @@ inputs: default: '' moduleTestFilePath: description: 'The path to the test file' - required: true - default: '' + required: false + default: 'utilities/pipelines/staticValidation/module.tests.ps1' runs: using: 'composite' diff --git a/.github/workflows/ms.aad.domainservices.yml b/.github/workflows/ms.aad.domainservices.yml index bd4d45b92e..3838d75f8d 100644 --- a/.github/workflows/ms.aad.domainservices.yml +++ b/.github/workflows/ms.aad.domainservices.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 9ae908653d..81e7e512f0 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.apimanagement.service.yml b/.github/workflows/ms.apimanagement.service.yml index 5e9a4fb392..e8bcb69cf7 100644 --- a/.github/workflows/ms.apimanagement.service.yml +++ b/.github/workflows/ms.apimanagement.service.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.app.containerapps.yml b/.github/workflows/ms.app.containerapps.yml index ea6366874e..e63895a4e9 100644 --- a/.github/workflows/ms.app.containerapps.yml +++ b/.github/workflows/ms.app.containerapps.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.app.jobs.yml b/.github/workflows/ms.app.jobs.yml index fd08008d87..fea840af78 100644 --- a/.github/workflows/ms.app.jobs.yml +++ b/.github/workflows/ms.app.jobs.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.app.managedenvironments.yml b/.github/workflows/ms.app.managedenvironments.yml index 3a0eb0ae4c..690271d658 100644 --- a/.github/workflows/ms.app.managedenvironments.yml +++ b/.github/workflows/ms.app.managedenvironments.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.appconfiguration.configurationstores.yml b/.github/workflows/ms.appconfiguration.configurationstores.yml index caa07e54ef..5039b5f7f4 100644 --- a/.github/workflows/ms.appconfiguration.configurationstores.yml +++ b/.github/workflows/ms.appconfiguration.configurationstores.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.authorization.locks.yml b/.github/workflows/ms.authorization.locks.yml index 75dff0c9ef..1219a3e0af 100644 --- a/.github/workflows/ms.authorization.locks.yml +++ b/.github/workflows/ms.authorization.locks.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.authorization.policyassignments.yml b/.github/workflows/ms.authorization.policyassignments.yml index 1dc4a1e38f..1c2fa4d67e 100644 --- a/.github/workflows/ms.authorization.policyassignments.yml +++ b/.github/workflows/ms.authorization.policyassignments.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.authorization.policydefinitions.yml b/.github/workflows/ms.authorization.policydefinitions.yml index 7ee0b7be54..149e2b1d98 100644 --- a/.github/workflows/ms.authorization.policydefinitions.yml +++ b/.github/workflows/ms.authorization.policydefinitions.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.authorization.policyexemptions.yml b/.github/workflows/ms.authorization.policyexemptions.yml index 075ab4fe90..6830dd3553 100644 --- a/.github/workflows/ms.authorization.policyexemptions.yml +++ b/.github/workflows/ms.authorization.policyexemptions.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.authorization.policysetdefinitions.yml b/.github/workflows/ms.authorization.policysetdefinitions.yml index ccdb663b8b..a4d66671c5 100644 --- a/.github/workflows/ms.authorization.policysetdefinitions.yml +++ b/.github/workflows/ms.authorization.policysetdefinitions.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.authorization.roleassignments.yml b/.github/workflows/ms.authorization.roleassignments.yml index ba85f6368f..f187d2a64a 100644 --- a/.github/workflows/ms.authorization.roleassignments.yml +++ b/.github/workflows/ms.authorization.roleassignments.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.authorization.roledefinitions.yml b/.github/workflows/ms.authorization.roledefinitions.yml index ffd351ca61..8801b43d5a 100644 --- a/.github/workflows/ms.authorization.roledefinitions.yml +++ b/.github/workflows/ms.authorization.roledefinitions.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index 6f22922e0d..be9a382e53 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -63,7 +63,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -71,18 +71,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.batch.batchaccounts.yml b/.github/workflows/ms.batch.batchaccounts.yml index 3b43c6ebff..88eaa28850 100644 --- a/.github/workflows/ms.batch.batchaccounts.yml +++ b/.github/workflows/ms.batch.batchaccounts.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.cache.redis.yml b/.github/workflows/ms.cache.redis.yml index 9d61e89657..a9062fe3db 100644 --- a/.github/workflows/ms.cache.redis.yml +++ b/.github/workflows/ms.cache.redis.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.cache.redisenterprise.yml b/.github/workflows/ms.cache.redisenterprise.yml index c574fbe41e..b5eb3bd6d9 100644 --- a/.github/workflows/ms.cache.redisenterprise.yml +++ b/.github/workflows/ms.cache.redisenterprise.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.cdn.profiles.yml b/.github/workflows/ms.cdn.profiles.yml index d9e589cf98..1ddb081db2 100644 --- a/.github/workflows/ms.cdn.profiles.yml +++ b/.github/workflows/ms.cdn.profiles.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.cognitiveservices.accounts.yml b/.github/workflows/ms.cognitiveservices.accounts.yml index 28b4e4c4cf..ae20ac429d 100644 --- a/.github/workflows/ms.cognitiveservices.accounts.yml +++ b/.github/workflows/ms.cognitiveservices.accounts.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml index 5820406b90..4460c6e8f6 100644 --- a/.github/workflows/ms.compute.availabilitysets.yml +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.compute.diskencryptionsets.yml b/.github/workflows/ms.compute.diskencryptionsets.yml index d15f629829..c4d7e35753 100644 --- a/.github/workflows/ms.compute.diskencryptionsets.yml +++ b/.github/workflows/ms.compute.diskencryptionsets.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.compute.disks.yml b/.github/workflows/ms.compute.disks.yml index dc28fc87a5..efde02e463 100644 --- a/.github/workflows/ms.compute.disks.yml +++ b/.github/workflows/ms.compute.disks.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.compute.galleries.yml b/.github/workflows/ms.compute.galleries.yml index b20f05ebf1..f9d53a2988 100644 --- a/.github/workflows/ms.compute.galleries.yml +++ b/.github/workflows/ms.compute.galleries.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.compute.images.yml b/.github/workflows/ms.compute.images.yml index a846fcdb2b..54b80a01e9 100644 --- a/.github/workflows/ms.compute.images.yml +++ b/.github/workflows/ms.compute.images.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.compute.proximityplacementgroups.yml b/.github/workflows/ms.compute.proximityplacementgroups.yml index 90732fd348..3a74eab881 100644 --- a/.github/workflows/ms.compute.proximityplacementgroups.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.compute.sshpublickeys.yml b/.github/workflows/ms.compute.sshpublickeys.yml index da7ae084e4..3687e73949 100644 --- a/.github/workflows/ms.compute.sshpublickeys.yml +++ b/.github/workflows/ms.compute.sshpublickeys.yml @@ -58,7 +58,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -66,18 +66,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.compute.virtualmachines.yml b/.github/workflows/ms.compute.virtualmachines.yml index 149bc8e025..fce9e7f804 100644 --- a/.github/workflows/ms.compute.virtualmachines.yml +++ b/.github/workflows/ms.compute.virtualmachines.yml @@ -62,7 +62,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -70,18 +70,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.compute.virtualmachinescalesets.yml b/.github/workflows/ms.compute.virtualmachinescalesets.yml index 35978d541e..b615e9641b 100644 --- a/.github/workflows/ms.compute.virtualmachinescalesets.yml +++ b/.github/workflows/ms.compute.virtualmachinescalesets.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.consumption.budgets.yml b/.github/workflows/ms.consumption.budgets.yml index 56d97b2f2f..b731b3289b 100644 --- a/.github/workflows/ms.consumption.budgets.yml +++ b/.github/workflows/ms.consumption.budgets.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.containerinstance.containergroups.yml b/.github/workflows/ms.containerinstance.containergroups.yml index 1678d17088..db8a34b286 100644 --- a/.github/workflows/ms.containerinstance.containergroups.yml +++ b/.github/workflows/ms.containerinstance.containergroups.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.containerregistry.registries.yml b/.github/workflows/ms.containerregistry.registries.yml index 7da11fe32b..c7deeaf57a 100644 --- a/.github/workflows/ms.containerregistry.registries.yml +++ b/.github/workflows/ms.containerregistry.registries.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.containerservice.managedclusters.yml b/.github/workflows/ms.containerservice.managedclusters.yml index 47ada548e5..9ee2da4a99 100644 --- a/.github/workflows/ms.containerservice.managedclusters.yml +++ b/.github/workflows/ms.containerservice.managedclusters.yml @@ -61,7 +61,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -69,18 +69,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.databricks.accessconnectors.yml b/.github/workflows/ms.databricks.accessconnectors.yml index d162270eb3..846ec3422e 100644 --- a/.github/workflows/ms.databricks.accessconnectors.yml +++ b/.github/workflows/ms.databricks.accessconnectors.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.databricks.workspaces.yml b/.github/workflows/ms.databricks.workspaces.yml index 8a4267615f..c2650a4471 100644 --- a/.github/workflows/ms.databricks.workspaces.yml +++ b/.github/workflows/ms.databricks.workspaces.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.datafactory.factories.yml b/.github/workflows/ms.datafactory.factories.yml index 8529089198..8c9eb2adaa 100644 --- a/.github/workflows/ms.datafactory.factories.yml +++ b/.github/workflows/ms.datafactory.factories.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.dataprotection.backupvaults.yml b/.github/workflows/ms.dataprotection.backupvaults.yml index 2e3b8aa66a..d3aa2b25f2 100644 --- a/.github/workflows/ms.dataprotection.backupvaults.yml +++ b/.github/workflows/ms.dataprotection.backupvaults.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.dbformysql.flexibleservers.yml b/.github/workflows/ms.dbformysql.flexibleservers.yml index da1c483d32..045a8ca5e8 100644 --- a/.github/workflows/ms.dbformysql.flexibleservers.yml +++ b/.github/workflows/ms.dbformysql.flexibleservers.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml index 7d7da52212..f7f8a84354 100644 --- a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml +++ b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml index 6d91829dc6..f802a18cca 100644 --- a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml +++ b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.desktopvirtualization.hostpools.yml b/.github/workflows/ms.desktopvirtualization.hostpools.yml index 54a8497dc5..a9648518b6 100644 --- a/.github/workflows/ms.desktopvirtualization.hostpools.yml +++ b/.github/workflows/ms.desktopvirtualization.hostpools.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.desktopvirtualization.scalingplans.yml b/.github/workflows/ms.desktopvirtualization.scalingplans.yml index fef746cd4d..cb931c5015 100644 --- a/.github/workflows/ms.desktopvirtualization.scalingplans.yml +++ b/.github/workflows/ms.desktopvirtualization.scalingplans.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.desktopvirtualization.workspaces.yml b/.github/workflows/ms.desktopvirtualization.workspaces.yml index 9ba8618f12..1158d55d64 100644 --- a/.github/workflows/ms.desktopvirtualization.workspaces.yml +++ b/.github/workflows/ms.desktopvirtualization.workspaces.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.devtestlab.labs.yml b/.github/workflows/ms.devtestlab.labs.yml index ae0964c7bc..67b2cc142c 100644 --- a/.github/workflows/ms.devtestlab.labs.yml +++ b/.github/workflows/ms.devtestlab.labs.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.digitaltwins.digitaltwinsinstances.yml b/.github/workflows/ms.digitaltwins.digitaltwinsinstances.yml index e5f9765d53..31e9a45f37 100644 --- a/.github/workflows/ms.digitaltwins.digitaltwinsinstances.yml +++ b/.github/workflows/ms.digitaltwins.digitaltwinsinstances.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.documentdb.databaseaccounts.yml b/.github/workflows/ms.documentdb.databaseaccounts.yml index 364dd0d04d..f17979e77c 100644 --- a/.github/workflows/ms.documentdb.databaseaccounts.yml +++ b/.github/workflows/ms.documentdb.databaseaccounts.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.eventgrid.domains.yml b/.github/workflows/ms.eventgrid.domains.yml index b979a04aff..0994d2adb0 100644 --- a/.github/workflows/ms.eventgrid.domains.yml +++ b/.github/workflows/ms.eventgrid.domains.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.eventgrid.systemtopics.yml b/.github/workflows/ms.eventgrid.systemtopics.yml index e3bbb137a0..5e9d467ee5 100644 --- a/.github/workflows/ms.eventgrid.systemtopics.yml +++ b/.github/workflows/ms.eventgrid.systemtopics.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.eventgrid.topics.yml b/.github/workflows/ms.eventgrid.topics.yml index 95d475a260..74dac0bd1a 100644 --- a/.github/workflows/ms.eventgrid.topics.yml +++ b/.github/workflows/ms.eventgrid.topics.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.eventhub.namespaces.yml b/.github/workflows/ms.eventhub.namespaces.yml index 477ff4f1fd..54943f5b25 100644 --- a/.github/workflows/ms.eventhub.namespaces.yml +++ b/.github/workflows/ms.eventhub.namespaces.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.healthbot.healthbots.yml b/.github/workflows/ms.healthbot.healthbots.yml index 5963c295e5..51a6791c2f 100644 --- a/.github/workflows/ms.healthbot.healthbots.yml +++ b/.github/workflows/ms.healthbot.healthbots.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.healthcareapis.workspaces.yml b/.github/workflows/ms.healthcareapis.workspaces.yml index f5b0a612bf..90e66d6fba 100644 --- a/.github/workflows/ms.healthcareapis.workspaces.yml +++ b/.github/workflows/ms.healthcareapis.workspaces.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.insights.actiongroups.yml b/.github/workflows/ms.insights.actiongroups.yml index 21c8a4990c..7c17fd6518 100644 --- a/.github/workflows/ms.insights.actiongroups.yml +++ b/.github/workflows/ms.insights.actiongroups.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.insights.activitylogalerts.yml b/.github/workflows/ms.insights.activitylogalerts.yml index 66e7e92892..7152f01c15 100644 --- a/.github/workflows/ms.insights.activitylogalerts.yml +++ b/.github/workflows/ms.insights.activitylogalerts.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.insights.components.yml b/.github/workflows/ms.insights.components.yml index 138d69ba56..04dcb2bb39 100644 --- a/.github/workflows/ms.insights.components.yml +++ b/.github/workflows/ms.insights.components.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.insights.datacollectionendpoints.yml b/.github/workflows/ms.insights.datacollectionendpoints.yml index d81626ead5..aa7f89ae1a 100644 --- a/.github/workflows/ms.insights.datacollectionendpoints.yml +++ b/.github/workflows/ms.insights.datacollectionendpoints.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.insights.datacollectionrules.yml b/.github/workflows/ms.insights.datacollectionrules.yml index 7d14e70536..bb0e39cf6c 100644 --- a/.github/workflows/ms.insights.datacollectionrules.yml +++ b/.github/workflows/ms.insights.datacollectionrules.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.insights.diagnosticsettings.yml b/.github/workflows/ms.insights.diagnosticsettings.yml index 7e29353089..39bfa87af2 100644 --- a/.github/workflows/ms.insights.diagnosticsettings.yml +++ b/.github/workflows/ms.insights.diagnosticsettings.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.insights.metricalerts.yml b/.github/workflows/ms.insights.metricalerts.yml index e319b49d8f..9571677572 100644 --- a/.github/workflows/ms.insights.metricalerts.yml +++ b/.github/workflows/ms.insights.metricalerts.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.insights.privatelinkscopes.yml b/.github/workflows/ms.insights.privatelinkscopes.yml index e878324aa8..a0589ccd31 100644 --- a/.github/workflows/ms.insights.privatelinkscopes.yml +++ b/.github/workflows/ms.insights.privatelinkscopes.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.insights.scheduledqueryrules.yml b/.github/workflows/ms.insights.scheduledqueryrules.yml index b0fbb811b2..b532a6d62e 100644 --- a/.github/workflows/ms.insights.scheduledqueryrules.yml +++ b/.github/workflows/ms.insights.scheduledqueryrules.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.insights.webtests.yml b/.github/workflows/ms.insights.webtests.yml index 40d3afc21c..a6da3e3e71 100644 --- a/.github/workflows/ms.insights.webtests.yml +++ b/.github/workflows/ms.insights.webtests.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.keyvault.vaults.yml b/.github/workflows/ms.keyvault.vaults.yml index 9355923fde..203f45c2ef 100644 --- a/.github/workflows/ms.keyvault.vaults.yml +++ b/.github/workflows/ms.keyvault.vaults.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.kubernetesconfiguration.extensions.yml b/.github/workflows/ms.kubernetesconfiguration.extensions.yml index 4d57060cdb..38b005fe1c 100644 --- a/.github/workflows/ms.kubernetesconfiguration.extensions.yml +++ b/.github/workflows/ms.kubernetesconfiguration.extensions.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml index 9c389c58c7..7474b1ee95 100644 --- a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml +++ b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.logic.workflows.yml b/.github/workflows/ms.logic.workflows.yml index 070773d9d3..8256c00c52 100644 --- a/.github/workflows/ms.logic.workflows.yml +++ b/.github/workflows/ms.logic.workflows.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.machinelearningservices.workspaces.yml b/.github/workflows/ms.machinelearningservices.workspaces.yml index 5de45511e9..ff44758b40 100644 --- a/.github/workflows/ms.machinelearningservices.workspaces.yml +++ b/.github/workflows/ms.machinelearningservices.workspaces.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml index db907debd6..be1a339161 100644 --- a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml +++ b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.managedidentity.userassignedidentities.yml b/.github/workflows/ms.managedidentity.userassignedidentities.yml index a539ecee3a..2e2a67f9d4 100644 --- a/.github/workflows/ms.managedidentity.userassignedidentities.yml +++ b/.github/workflows/ms.managedidentity.userassignedidentities.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.managedservices.registrationdefinitions.yml b/.github/workflows/ms.managedservices.registrationdefinitions.yml index cf52956c55..6abd0d22c1 100644 --- a/.github/workflows/ms.managedservices.registrationdefinitions.yml +++ b/.github/workflows/ms.managedservices.registrationdefinitions.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.management.managementgroups.yml b/.github/workflows/ms.management.managementgroups.yml index 4156eedef4..6839f970f7 100644 --- a/.github/workflows/ms.management.managementgroups.yml +++ b/.github/workflows/ms.management.managementgroups.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.netapp.netappaccounts.yml b/.github/workflows/ms.netapp.netappaccounts.yml index 9d17b522ec..b762db6484 100644 --- a/.github/workflows/ms.netapp.netappaccounts.yml +++ b/.github/workflows/ms.netapp.netappaccounts.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.applicationgateways.yml b/.github/workflows/ms.network.applicationgateways.yml index 8df7b2ca06..351e2769fb 100644 --- a/.github/workflows/ms.network.applicationgateways.yml +++ b/.github/workflows/ms.network.applicationgateways.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml index 78c20be486..506a2d30c8 100644 --- a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml +++ b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.applicationsecuritygroups.yml b/.github/workflows/ms.network.applicationsecuritygroups.yml index 59fe44a0ce..6cd9906acc 100644 --- a/.github/workflows/ms.network.applicationsecuritygroups.yml +++ b/.github/workflows/ms.network.applicationsecuritygroups.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.azurefirewalls.yml b/.github/workflows/ms.network.azurefirewalls.yml index e6e498b962..72c0059342 100644 --- a/.github/workflows/ms.network.azurefirewalls.yml +++ b/.github/workflows/ms.network.azurefirewalls.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.bastionhosts.yml b/.github/workflows/ms.network.bastionhosts.yml index 1b3b212c13..26182061c2 100644 --- a/.github/workflows/ms.network.bastionhosts.yml +++ b/.github/workflows/ms.network.bastionhosts.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.connections.yml b/.github/workflows/ms.network.connections.yml index 483f1032ca..0c688725e3 100644 --- a/.github/workflows/ms.network.connections.yml +++ b/.github/workflows/ms.network.connections.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.ddosprotectionplans.yml b/.github/workflows/ms.network.ddosprotectionplans.yml index e8755288c0..6769bcc407 100644 --- a/.github/workflows/ms.network.ddosprotectionplans.yml +++ b/.github/workflows/ms.network.ddosprotectionplans.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.dnsforwardingrulesets.yml b/.github/workflows/ms.network.dnsforwardingrulesets.yml index 4726bfaba8..75e8800cd2 100644 --- a/.github/workflows/ms.network.dnsforwardingrulesets.yml +++ b/.github/workflows/ms.network.dnsforwardingrulesets.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.dnsresolvers.yml b/.github/workflows/ms.network.dnsresolvers.yml index 7e9ff35637..6073602274 100644 --- a/.github/workflows/ms.network.dnsresolvers.yml +++ b/.github/workflows/ms.network.dnsresolvers.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.dnszones.yml b/.github/workflows/ms.network.dnszones.yml index 86eeb8a03e..0f86a57d08 100644 --- a/.github/workflows/ms.network.dnszones.yml +++ b/.github/workflows/ms.network.dnszones.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.expressroutecircuits.yml b/.github/workflows/ms.network.expressroutecircuits.yml index c12b75e878..6245494b18 100644 --- a/.github/workflows/ms.network.expressroutecircuits.yml +++ b/.github/workflows/ms.network.expressroutecircuits.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.expressroutegateways.yml b/.github/workflows/ms.network.expressroutegateways.yml index 8c6e40ded2..5e79b638ad 100644 --- a/.github/workflows/ms.network.expressroutegateways.yml +++ b/.github/workflows/ms.network.expressroutegateways.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.firewallpolicies.yml b/.github/workflows/ms.network.firewallpolicies.yml index 08a61f0afa..c9f4e2e263 100644 --- a/.github/workflows/ms.network.firewallpolicies.yml +++ b/.github/workflows/ms.network.firewallpolicies.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.frontdoors.yml b/.github/workflows/ms.network.frontdoors.yml index 2538bed6ba..e64e37e7b8 100644 --- a/.github/workflows/ms.network.frontdoors.yml +++ b/.github/workflows/ms.network.frontdoors.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.frontdoorwebapplicationfirewallpolicies.yml b/.github/workflows/ms.network.frontdoorwebapplicationfirewallpolicies.yml index 70a22fbaea..fd5f20d2ac 100644 --- a/.github/workflows/ms.network.frontdoorwebapplicationfirewallpolicies.yml +++ b/.github/workflows/ms.network.frontdoorwebapplicationfirewallpolicies.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.ipgroups.yml b/.github/workflows/ms.network.ipgroups.yml index d4f65e9956..101c93931d 100644 --- a/.github/workflows/ms.network.ipgroups.yml +++ b/.github/workflows/ms.network.ipgroups.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.loadbalancers.yml b/.github/workflows/ms.network.loadbalancers.yml index e7528cf994..7a79054167 100644 --- a/.github/workflows/ms.network.loadbalancers.yml +++ b/.github/workflows/ms.network.loadbalancers.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.localnetworkgateways.yml b/.github/workflows/ms.network.localnetworkgateways.yml index a6df39c66c..7dfb0429ec 100644 --- a/.github/workflows/ms.network.localnetworkgateways.yml +++ b/.github/workflows/ms.network.localnetworkgateways.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.natgateways.yml b/.github/workflows/ms.network.natgateways.yml index b7be305f2c..8921747ba0 100644 --- a/.github/workflows/ms.network.natgateways.yml +++ b/.github/workflows/ms.network.natgateways.yml @@ -61,7 +61,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -69,18 +69,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.networkinterfaces.yml b/.github/workflows/ms.network.networkinterfaces.yml index be9d8b8aa6..7caa2f2b79 100644 --- a/.github/workflows/ms.network.networkinterfaces.yml +++ b/.github/workflows/ms.network.networkinterfaces.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.networkmanagers.yml b/.github/workflows/ms.network.networkmanagers.yml index e44a020bba..73b9a6a0dc 100644 --- a/.github/workflows/ms.network.networkmanagers.yml +++ b/.github/workflows/ms.network.networkmanagers.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.networksecuritygroups.yml b/.github/workflows/ms.network.networksecuritygroups.yml index 90cd846a3e..13a4ea488b 100644 --- a/.github/workflows/ms.network.networksecuritygroups.yml +++ b/.github/workflows/ms.network.networksecuritygroups.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.networkwatchers.yml b/.github/workflows/ms.network.networkwatchers.yml index f732b73667..cbccdcc377 100644 --- a/.github/workflows/ms.network.networkwatchers.yml +++ b/.github/workflows/ms.network.networkwatchers.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.privatednszones.yml b/.github/workflows/ms.network.privatednszones.yml index de0a32fda7..ed46652e16 100644 --- a/.github/workflows/ms.network.privatednszones.yml +++ b/.github/workflows/ms.network.privatednszones.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.privateendpoints.yml b/.github/workflows/ms.network.privateendpoints.yml index 884fbba6d1..81e7dbe824 100644 --- a/.github/workflows/ms.network.privateendpoints.yml +++ b/.github/workflows/ms.network.privateendpoints.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.privatelinkservices.yml b/.github/workflows/ms.network.privatelinkservices.yml index 66c8b93125..449665bed2 100644 --- a/.github/workflows/ms.network.privatelinkservices.yml +++ b/.github/workflows/ms.network.privatelinkservices.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.publicipaddresses.yml b/.github/workflows/ms.network.publicipaddresses.yml index 223e208d49..36bb06dc09 100644 --- a/.github/workflows/ms.network.publicipaddresses.yml +++ b/.github/workflows/ms.network.publicipaddresses.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.publicipprefixes.yml b/.github/workflows/ms.network.publicipprefixes.yml index d416b317d6..0b4bb80ab0 100644 --- a/.github/workflows/ms.network.publicipprefixes.yml +++ b/.github/workflows/ms.network.publicipprefixes.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.routetables.yml b/.github/workflows/ms.network.routetables.yml index 176dc2b4bd..d9a19de1b8 100644 --- a/.github/workflows/ms.network.routetables.yml +++ b/.github/workflows/ms.network.routetables.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.serviceendpointpolicies.yml b/.github/workflows/ms.network.serviceendpointpolicies.yml index 1a4b46d53e..91b9d0b3e8 100644 --- a/.github/workflows/ms.network.serviceendpointpolicies.yml +++ b/.github/workflows/ms.network.serviceendpointpolicies.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.trafficmanagerprofiles.yml b/.github/workflows/ms.network.trafficmanagerprofiles.yml index adaa8bd042..f5a2828349 100644 --- a/.github/workflows/ms.network.trafficmanagerprofiles.yml +++ b/.github/workflows/ms.network.trafficmanagerprofiles.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.virtualhubs.yml b/.github/workflows/ms.network.virtualhubs.yml index 147e3e356b..1fde462f3e 100644 --- a/.github/workflows/ms.network.virtualhubs.yml +++ b/.github/workflows/ms.network.virtualhubs.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.virtualnetworkgateways.yml b/.github/workflows/ms.network.virtualnetworkgateways.yml index 5cc51f28a6..65b618972b 100644 --- a/.github/workflows/ms.network.virtualnetworkgateways.yml +++ b/.github/workflows/ms.network.virtualnetworkgateways.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index 30ff971fd2..d1496dd677 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.virtualwans.yml b/.github/workflows/ms.network.virtualwans.yml index 501463fd21..9063fa6729 100644 --- a/.github/workflows/ms.network.virtualwans.yml +++ b/.github/workflows/ms.network.virtualwans.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.vpngateways.yml b/.github/workflows/ms.network.vpngateways.yml index c31f992100..8402965380 100644 --- a/.github/workflows/ms.network.vpngateways.yml +++ b/.github/workflows/ms.network.vpngateways.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.network.vpnsites.yml b/.github/workflows/ms.network.vpnsites.yml index 4dd09491a0..0b52aeccd3 100644 --- a/.github/workflows/ms.network.vpnsites.yml +++ b/.github/workflows/ms.network.vpnsites.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.operationalinsights.workspaces.yml b/.github/workflows/ms.operationalinsights.workspaces.yml index 54d369e9ca..f712ce8fe4 100644 --- a/.github/workflows/ms.operationalinsights.workspaces.yml +++ b/.github/workflows/ms.operationalinsights.workspaces.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index c2db85b9b6..5d13141169 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.policyinsights.remediations.yml b/.github/workflows/ms.policyinsights.remediations.yml index bda9ed753b..46e7b15273 100644 --- a/.github/workflows/ms.policyinsights.remediations.yml +++ b/.github/workflows/ms.policyinsights.remediations.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.powerbidedicated.capacities.yml b/.github/workflows/ms.powerbidedicated.capacities.yml index e4ee8df6ce..54a124bde0 100644 --- a/.github/workflows/ms.powerbidedicated.capacities.yml +++ b/.github/workflows/ms.powerbidedicated.capacities.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.purview.accounts.yml b/.github/workflows/ms.purview.accounts.yml index 65fbe62b4a..0b07bde874 100644 --- a/.github/workflows/ms.purview.accounts.yml +++ b/.github/workflows/ms.purview.accounts.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.recoveryservices.vaults.yml b/.github/workflows/ms.recoveryservices.vaults.yml index 475cba7c21..48153fea2e 100644 --- a/.github/workflows/ms.recoveryservices.vaults.yml +++ b/.github/workflows/ms.recoveryservices.vaults.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.relay.namespaces.yml b/.github/workflows/ms.relay.namespaces.yml index 0a4ba11917..18863f5ae1 100644 --- a/.github/workflows/ms.relay.namespaces.yml +++ b/.github/workflows/ms.relay.namespaces.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.resourcegraph.queries.yml b/.github/workflows/ms.resourcegraph.queries.yml index bf066f3964..0d0176530e 100644 --- a/.github/workflows/ms.resourcegraph.queries.yml +++ b/.github/workflows/ms.resourcegraph.queries.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.resources.deploymentscripts.yml b/.github/workflows/ms.resources.deploymentscripts.yml index 6843b69946..b9341bcdaf 100644 --- a/.github/workflows/ms.resources.deploymentscripts.yml +++ b/.github/workflows/ms.resources.deploymentscripts.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 70c83c06b9..25717d6dfd 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.resources.tags.yml b/.github/workflows/ms.resources.tags.yml index 43dd0811ad..61c1f9fe09 100644 --- a/.github/workflows/ms.resources.tags.yml +++ b/.github/workflows/ms.resources.tags.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.search.searchservices.yml b/.github/workflows/ms.search.searchservices.yml index f0fc782c0e..f945dfa88a 100644 --- a/.github/workflows/ms.search.searchservices.yml +++ b/.github/workflows/ms.search.searchservices.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.security.azuresecuritycenter.yml b/.github/workflows/ms.security.azuresecuritycenter.yml index 44514a93b1..b18ce4e5bd 100644 --- a/.github/workflows/ms.security.azuresecuritycenter.yml +++ b/.github/workflows/ms.security.azuresecuritycenter.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.servicebus.namespaces.yml b/.github/workflows/ms.servicebus.namespaces.yml index fccfe41d0c..8984b60a74 100644 --- a/.github/workflows/ms.servicebus.namespaces.yml +++ b/.github/workflows/ms.servicebus.namespaces.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.servicefabric.clusters.yml b/.github/workflows/ms.servicefabric.clusters.yml index 9a2659af47..9f57a3327c 100644 --- a/.github/workflows/ms.servicefabric.clusters.yml +++ b/.github/workflows/ms.servicefabric.clusters.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.signalrservice.signalr.yml b/.github/workflows/ms.signalrservice.signalr.yml index de64aaf921..6dfd823925 100644 --- a/.github/workflows/ms.signalrservice.signalr.yml +++ b/.github/workflows/ms.signalrservice.signalr.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.signalrservice.webpubsub.yml b/.github/workflows/ms.signalrservice.webpubsub.yml index 4ba88d808b..460c1be832 100644 --- a/.github/workflows/ms.signalrservice.webpubsub.yml +++ b/.github/workflows/ms.signalrservice.webpubsub.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.sql.managedinstances.yml b/.github/workflows/ms.sql.managedinstances.yml index 871baf30c8..c4e5a6d327 100644 --- a/.github/workflows/ms.sql.managedinstances.yml +++ b/.github/workflows/ms.sql.managedinstances.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.sql.servers.yml b/.github/workflows/ms.sql.servers.yml index 3c85198e0a..b2a41e7018 100644 --- a/.github/workflows/ms.sql.servers.yml +++ b/.github/workflows/ms.sql.servers.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.storage.storageaccounts.yml b/.github/workflows/ms.storage.storageaccounts.yml index ef998a5985..5ef2db3c3d 100644 --- a/.github/workflows/ms.storage.storageaccounts.yml +++ b/.github/workflows/ms.storage.storageaccounts.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.synapse.privatelinkhubs.yml b/.github/workflows/ms.synapse.privatelinkhubs.yml index 9c5768321d..db61860c53 100644 --- a/.github/workflows/ms.synapse.privatelinkhubs.yml +++ b/.github/workflows/ms.synapse.privatelinkhubs.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.synapse.workspaces.yml b/.github/workflows/ms.synapse.workspaces.yml index 0fc6c8fb8d..5321736606 100644 --- a/.github/workflows/ms.synapse.workspaces.yml +++ b/.github/workflows/ms.synapse.workspaces.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml index cd741e5231..4bc1ba3d9e 100644 --- a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml +++ b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.web.connections.yml b/.github/workflows/ms.web.connections.yml index 5de8a78be5..57e841b8c4 100644 --- a/.github/workflows/ms.web.connections.yml +++ b/.github/workflows/ms.web.connections.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.web.hostingenvironments.yml b/.github/workflows/ms.web.hostingenvironments.yml index 75fe7b0180..ecb59cbbbe 100644 --- a/.github/workflows/ms.web.hostingenvironments.yml +++ b/.github/workflows/ms.web.hostingenvironments.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.web.serverfarms.yml b/.github/workflows/ms.web.serverfarms.yml index 63b3a041d2..3be3fa3788 100644 --- a/.github/workflows/ms.web.serverfarms.yml +++ b/.github/workflows/ms.web.serverfarms.yml @@ -59,7 +59,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -67,18 +67,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.web.sites.yml b/.github/workflows/ms.web.sites.yml index 6baa282c73..2c2a12108e 100644 --- a/.github/workflows/ms.web.sites.yml +++ b/.github/workflows/ms.web.sites.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/ms.web.staticsites.yml b/.github/workflows/ms.web.staticsites.yml index 5fb0e2ad02..7a32cca5ab 100644 --- a/.github/workflows/ms.web.staticsites.yml +++ b/.github/workflows/ms.web.staticsites.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' + - name: 'Get module test file paths' id: get-module-test-file-paths uses: ./.github/actions/templates/getModuleTestFiles with: @@ -68,18 +68,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} modulePath: '${{ env.modulePath }}' ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Module' + name: 'Run' needs: - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + psRuleModuleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 98e6d58081..92d4db2c5e 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -11,6 +11,10 @@ on: type: string description: 'List of relative path to the module test files in JSON format' required: true + psRuleModuleTestFilePaths: + type: string + description: "List of relative path to the PSRule module test files in JSON format" + required: true modulePath: type: string description: 'Relative path to the module folder' @@ -45,30 +49,31 @@ jobs: uses: ./.github/actions/templates/validateModulePester with: modulePath: '${{ inputs.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' ######################### # PSRule validation # ######################### job_psrule_test: # Note: Please don't change this job name. It is used by the setEnvironment action to define which PS modules to install on runners. - name: 'PSRule validation' + name: "PSRule [${{ matrix.testCases.moduleTestFileName }}]" runs-on: ubuntu-latest if: (fromJson(inputs.workflowInput)).staticValidation == 'true' strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJson(inputs.moduleTestFilePaths) }} + testCases: ${{ fromJson(inputs.psRuleModuleTestFilePaths) }} steps: - - name: Checkout + - name: 'Checkout' uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set environment uses: ./.github/actions/templates/setEnvironment with: variablesPath: ${{ env.variablesPath }} - - name: Set PSRule validation + - name: "Run PSRule validation with [${{ matrix.testCases.moduleTestFilePath }}]" uses: ./.github/actions/templates/validateModulePSRule with: - templateFilePath: '${{ inputs.modulePath }}/${{ matrix.moduleTestFilePaths }}' + templateFilePath: "${{ inputs.modulePath }}/${{ matrix.testCases.moduleTestFilePath }}" subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' @@ -76,7 +81,7 @@ jobs: # Deployment validation # ############################# job_module_deploy_validation: # Note: Please don't change this job name. It is used by the setEnvironment action to define which PS modules to install on runners. - name: 'Deployment validation' + name: 'Deploy [${{ matrix.testCases.moduleTestFileName}}]' runs-on: ubuntu-latest if: | !cancelled() && @@ -88,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJson(inputs.moduleTestFilePaths) }} + testCases: ${{ fromJson(inputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v4 @@ -99,10 +104,10 @@ jobs: with: variablesPath: ${{ env.variablesPath }} removeDeployment: '${{ fromJson(inputs.workflowInput).removeDeployment }}' - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' + - name: 'Run deployment validation with test file [${{ matrix.testCases.moduleTestFilePath }}]' uses: ./.github/actions/templates/validateModuleDeployment with: - templateFilePath: '${{ inputs.modulePath }}/${{ matrix.moduleTestFilePaths }}' + templateFilePath: '${{ inputs.modulePath }}/${{ matrix.testCases.moduleTestFilePath }}' location: '${{ env.location }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' diff --git a/.ps-rule/min-suppress.Rule.yaml b/.ps-rule/min-suppress.Rule.yaml deleted file mode 100644 index 611c5ab863..0000000000 --- a/.ps-rule/min-suppress.Rule.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -# Synopsis: Suppress Rules for min tests -apiVersion: github.com/microsoft/PSRule/v1 -kind: SuppressionGroup -metadata: - name: 'SuppressMin' -spec: - rule: - - Azure.Resource.UseTags - - Azure.KeyVault.Logs - - Azure.KeyVault.Firewall - - Azure.VMSS.AMA - - Azure.Policy.ExemptionDescriptors - - Azure.Policy.Descriptors - - Azure.Policy.AssignmentDescriptors - - Azure.PublicIP.AvailabilityZone - if: - name: '.' - contains: - - 'min' diff --git a/settings.yml b/settings.yml index c96dbe1dc2..319a8e6bb6 100644 --- a/settings.yml +++ b/settings.yml @@ -26,12 +26,6 @@ variables: vmImage: 'ubuntu-latest' # Use this for Microsoft-hosted agents poolName: '' # Use this for self-hosted agents - ####################################### - ## Common folders and file paths ## - ####################################### - - moduleTestFilePath: 'utilities/pipelines/staticValidation/module.tests.ps1' - ############################# ## Validation settings ## ############################# diff --git a/.ps-rule/dep-suppress.Rule.yaml b/utilities/pipelines/staticValidation/psrule/.ps-rule/dep-suppress.Rule.yaml similarity index 100% rename from .ps-rule/dep-suppress.Rule.yaml rename to utilities/pipelines/staticValidation/psrule/.ps-rule/dep-suppress.Rule.yaml diff --git a/utilities/pipelines/staticValidation/psrule/.ps-rule/min-suppress.Rule.yaml b/utilities/pipelines/staticValidation/psrule/.ps-rule/min-suppress.Rule.yaml new file mode 100644 index 0000000000..afdddc79b2 --- /dev/null +++ b/utilities/pipelines/staticValidation/psrule/.ps-rule/min-suppress.Rule.yaml @@ -0,0 +1,34 @@ +--- +# Synopsis: Suppress Rules for min tests +apiVersion: github.com/microsoft/PSRule/v1 +kind: SuppressionGroup +metadata: + name: 'SuppressMin' +spec: + rule: + - Azure.Resource.UseTags + # Policy specific + - Azure.Policy.ExemptionDescriptors + - Azure.Policy.Descriptors + - Azure.Policy.AssignmentDescriptors + # Cognitive Services specific + - Azure.Cognitive.ManagedIdentity + # Automation specific + - Azure.Automation.ManagedIdentity + # Key Vault specific + - Azure.KeyVault.Logs + - Azure.KeyVault.Firewall + # Traffic Manager specific + - Azure.TrafficManager.Endpoints + - Azure.TrafficManager.Protocol + # Azure Load Balancer specific + - Azure.LB.Probe + # App Managed Environment specific + - Azure.ContainerApp.PublicAccess + # Azure Virtual Machine + - Azure.VM.AMA + - Azure.VM.Standalone + if: + name: '.' + contains: + - 'min' diff --git a/.ps-rule/na-suppress.Rule.yaml b/utilities/pipelines/staticValidation/psrule/.ps-rule/na-suppress.Rule.yaml similarity index 94% rename from .ps-rule/na-suppress.Rule.yaml rename to utilities/pipelines/staticValidation/psrule/.ps-rule/na-suppress.Rule.yaml index fdb40890f7..f45f45ea41 100644 --- a/.ps-rule/na-suppress.Rule.yaml +++ b/utilities/pipelines/staticValidation/psrule/.ps-rule/na-suppress.Rule.yaml @@ -6,7 +6,7 @@ metadata: name: 'SuppressNA' spec: rule: - - Azure.Resource.UseTags + - Azure.Resource.UseTags if: type: '.' in: @@ -14,7 +14,6 @@ spec: - Microsoft.ManagedServices/registrationDefinitions - Microsoft.ManagedServices/registrationAssignments - Microsoft.Management/managementGroups - - Microsoft.Resources/resourceGroups - Microsoft.Network/networkWatchers - Microsoft.PolicyInsights/remediations - Microsoft.KubernetesConfiguration/fluxConfigurations diff --git a/utilities/pipelines/staticValidation/psrule/Set-PSRuleGitHubOutput.ps1 b/utilities/pipelines/staticValidation/psrule/Set-PSRuleGitHubOutput.ps1 new file mode 100644 index 0000000000..72e8b796e1 --- /dev/null +++ b/utilities/pipelines/staticValidation/psrule/Set-PSRuleGitHubOutput.ps1 @@ -0,0 +1,159 @@ +<# +.SYNOPSIS +Parse an input csv file containing the output of the PSRule pre-flight checks and generate formatted markdown file out of it. + +.DESCRIPTION +Parse input csv file containing the output of the PSRule pre-flight checks and generate formatted markdown file out of it. + +.PARAMETER inputFilePath +Mandatory. The path to the output file created by PSRule in csv format. + +.PARAMETER outputFilePath +Optional. The path to the formatted .md file to be created. + +.PARAMETER skipPassedRulesReport +Optional. Whether to add the detail of passed PSRule to the output markdown file or to limit the list to the failed ones. + +.EXAMPLE +Set-PSRuleGitHubOutput -inputFilePath 'C:/PSRule-output.csv' + +Generate a markdown file 'output.md' in the current folder, out of the 'C:/PSRule-output.csv' input, listing all passed and failed rules. + +.EXAMPLE +Set-PSRuleGitHubOutput -inputFilePath 'C:/PSRule-output.csv' -outputFilePath 'C:/PSRule-output.md' -skipPassedRulesReport + +Generate a markdown file 'C:/PSRule-output.md', out of the 'C:/PSRule-output.csv' input, listing only the failed rules. +#> +function Set-PSRuleGitHubOutput { + [CmdletBinding(SupportsShouldProcess)] + param ( + [Parameter(Mandatory)] + [String] $InputFilePath, + + [Parameter(Mandatory = $false)] + [string] $OutputFilePath = './output.md', + + [Parameter(Mandatory = $false)] + [switch] $SkipPassedRulesReport + ) + + ########################################### + # Import CSV output and filter by results # + ########################################### + + if (-not (Test-Path $inputFilePath)) { + Write-Warning ('Input File [{0}] not found' -f $inputFilePath) + return '' + } else { + + $results = Import-Csv -Path $inputFilePath + + $passedRules += $results | Where-Object { $_.Outcome -EQ 'Pass' } | Sort-Object -Property 'RuleName' -Unique + $failedRules += $results | Where-Object { $_.Outcome -EQ 'Fail' } | Sort-Object -Property 'RuleName' -Unique + + ###################### + # Set output content # + ###################### + + # Header + $header = [System.Collections.ArrayList]@( + '# PSRule pre-flight validation summary ', + '' + ) + Out-File -FilePath $outputFilePath -NoClobber -InputObject $header + + if ($failedRules.Count -eq 0) { + # No failure content + $noFailuresContent = ('## :rocket: All [{0}] rules passed, YAY! :rocket:' -f $results.Count) + Out-File -FilePath $outputFilePath -Append -NoClobber -InputObject $noFailuresContent + } else { + # Failure content + + ## Header table + $headerTable = [System.Collections.ArrayList]@( + '| Total No. of Processed Rules| Passed Rules :white_check_mark: | Failed Rules :x: |', + '| :-- | :-- | :-- |' + ('| {0} | {1} | {2} |' -f $results.Count, $passedRules.Count , $failedRules.Count), + '' + ) + Out-File -FilePath $outputFilePath -Append -NoClobber -InputObject $headerTable + + ## List of failed rules + $failContent = [System.Collections.ArrayList]@( + '', + '
', + 'List of Failed Rules', + '', + '## Failed Rules', + '', + '| RuleName | TargetName | Synopsis |', + '| :-- | :-- | :-- |' + ) + foreach ($content in $failedRules ) { + # Shorten the target name for deployment resoure type + if ($content.TargetType -eq 'Microsoft.Resources/deployments') { + $content.TargetName = $content.TargetName.replace('/home/runner/work/ResourceModules/ResourceModules/modules/', '') + } + + # Build hyperlinks to PSRule documentation for the rules + $TemplatesBaseUrl = 'https://azure.github.io/PSRule.Rules.Azure/en/rules' + try { + $PSRuleReferenceUrl = '{0}/{1}' -f $TemplatesBaseUrl, $content.RuleName + $null = Invoke-WebRequest -Uri $PSRuleReferenceUrl + $resourceLink = '[{0}]({1})' -f $content.RuleName, $PSRuleReferenceUrl + } catch { + Write-Warning ('Unable to build url for rule [{0}]' -f $content.RuleName) + $resourceLink = $content.RuleName + } + $failContent += ('| {0} | `{1}` | {2} | ' -f $resourceLink, $content.TargetName, $content.Synopsis) + } + $failContent += [System.Collections.ArrayList]@( + '', + '
', + '' + ) + # Append to output + Out-File -FilePath $outputFilePath -Append -NoClobber -InputObject $failContent + } + + if (($passedRules.Count -gt 0) -and -not $skipPassedRulesReport) { + # List of passed rules + $passContent = [System.Collections.ArrayList]@( + '', + '
', + 'List of Passed Rules', + '', + '## Passed Rules', + '', + '| RuleName | TargetName | Synopsis |', + '| :-- | :-- | :-- |' + ) + foreach ($content in $passedRules ) { + # Shorten the target name for deployment resoure type + if ($content.TargetType -eq 'Microsoft.Resources/deployments') { + $content.TargetName = $content.TargetName.replace('/home/runner/work/ResourceModules/ResourceModules/modules/', '') + } + + # Build hyperlinks to PSRule documentation for the rules + $TemplatesBaseUrl = 'https://azure.github.io/PSRule.Rules.Azure/en/rules' + try { + $PSRuleReferenceUrl = '{0}/{1}' -f $TemplatesBaseUrl, $content.RuleName + $null = Invoke-WebRequest -Uri $PSRuleReferenceUrl + $resourceLink = '[{0}]({1})' -f $content.RuleName, $PSRuleReferenceUrl + } catch { + Write-Warning ('Unable to build url for rule [{0}]' -f $content.RuleName) + $resourceLink = $content.RuleName + } + $passContent += ('| {0} | `{1}` | {2} | ' -f $resourceLink, $content.TargetName, $content.Synopsis) + + } + $passContent += [System.Collections.ArrayList]@( + '', + '
', + '' + ) + # Append to output + Out-File -FilePath $outputFilePath -Append -NoClobber -InputObject $passContent + } + } +} diff --git a/ps-rule.yaml b/utilities/pipelines/staticValidation/psrule/ps-rule.yaml similarity index 52% rename from ps-rule.yaml rename to utilities/pipelines/staticValidation/psrule/ps-rule.yaml index fd610c9d3f..7f938311e7 100644 --- a/ps-rule.yaml +++ b/utilities/pipelines/staticValidation/psrule/ps-rule.yaml @@ -15,8 +15,8 @@ binding: # Require minimum versions of modules. requires: - PSRule: '@pre >=2.4.0' - PSRule.Rules.Azure: '@pre >=1.27.3' + PSRule: '@pre >=2.9.0' + PSRule.Rules.Azure: '>=1.29.0' # Use PSRule for Azure. include: @@ -24,10 +24,8 @@ include: - PSRule.Rules.Azure execution: - # suppressedRuleWarning: false - no more supported in PsRule ver 3.0 - # notProcessedWarning: false - no more supported in PsRule ver 3.0 - ruleSuppressed: Warn - unprocessedObject: Warn + ruleSuppressed: Debug + unprocessedObject: Debug output: culture: @@ -35,9 +33,9 @@ output: input: pathIgnore: - # Ignore other files in the repository. - - '**/*' - # Do not ignore tests. + # Exclude all files. + - '*' + # Only process test files. - '!modules/**/*.test.bicep' configuration: @@ -50,10 +48,33 @@ configuration: # Configures the number of seconds to wait for build Bicep files. AZURE_BICEP_FILE_EXPANSION_TIMEOUT: 10 + # Custom non-sensitive parameters' names + AZURE_DEPLOYMENT_NONSENSITIVE_PARAMETER_NAMES: + [ + 'sasTokenValidityLength', + 'passwordlength', + 'secretname', + 'secreturl', + 'secreturi', + 'secretrotation', + 'secretinterval', + 'secretprovider', + 'secretsprovider', + 'secretref', + 'secretid', + 'disablepassword', + 'sync*passwords', + 'sqlAdministratorLogin', + 'tokenname', + 'ssoClientSecretKeyVaultPath', + 'ssoSecretType', + 'tokenValidityLength', + ] + rule: # Enable custom rules that don't exist in the baseline includeLocal: false exclude: - # Ignore the following rules for all resources - - Azure.KeyVault.PurgeProtect - - Azure.Resource.AllowedRegions + # Ignore the following rules for all resources + - Azure.KeyVault.PurgeProtect + - Azure.VM.UseHybridUseBenefit