diff --git a/docs/CHANGELOG-v1.md b/docs/CHANGELOG-v1.md index f4268498a3..50d0122e2e 100644 --- a/docs/CHANGELOG-v1.md +++ b/docs/CHANGELOG-v1.md @@ -17,6 +17,8 @@ What's changed since pre-release v1.8.0-B2109020: - Fixed minimum App Service Plan fails Elastic Premium plans. [#945](https://github.com/Azure/PSRule.Rules.Azure/issues/945) - Fixed App Service Plan should include PremiumV3 plan. [#944](https://github.com/Azure/PSRule.Rules.Azure/issues/944) - Fixed Azure.VM.NICAttached with private endpoints. [#932](https://github.com/Azure/PSRule.Rules.Azure/issues/932) +- Engineering: + - Bump PSRule dependency to v1.7.2. [#951](https://github.com/Azure/PSRule.Rules.Azure/issues/951) ## v1.8.0-B2109020 (pre-release) diff --git a/docs/en/baselines/Azure.All.md b/docs/en/baselines/Azure.All.md index a8a94a681c..a666d895b4 100644 --- a/docs/en/baselines/Azure.All.md +++ b/docs/en/baselines/Azure.All.md @@ -76,7 +76,7 @@ Name | Synopsis | Severity [Azure.AppService.MinTLS](../rules/Azure.AppService.MinTLS.md) | App Service should reject TLS versions older then 1.2. | Critical [Azure.AppService.NETVersion](../rules/Azure.AppService.NETVersion.md) | Configure applications to use newer .NET Framework versions. | Important [Azure.AppService.PHPVersion](../rules/Azure.AppService.PHPVersion.md) | Configure applications to use newer PHP runtime versions. | Important -[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | Use an App Service Plan with at least two (2) instances. | Important +[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | App Service Plan should use a minimum number of instances for failover. | Important [Azure.AppService.RemoteDebug](../rules/Azure.AppService.RemoteDebug.md) | Disable remote debugging on App Service apps when not in use. | Important [Azure.AppService.UseHTTPS](../rules/Azure.AppService.UseHTTPS.md) | Azure App Service apps should only accept encrypted connections. | Important [Azure.Automation.EncryptVariables](../rules/Azure.Automation.EncryptVariables.md) | Azure Automation variables should be encrypted. | Important diff --git a/docs/en/baselines/Azure.Default.md b/docs/en/baselines/Azure.Default.md index cfee1bea51..0ea8f46276 100644 --- a/docs/en/baselines/Azure.Default.md +++ b/docs/en/baselines/Azure.Default.md @@ -72,7 +72,7 @@ Name | Synopsis | Severity [Azure.AppService.MinTLS](../rules/Azure.AppService.MinTLS.md) | App Service should reject TLS versions older then 1.2. | Critical [Azure.AppService.NETVersion](../rules/Azure.AppService.NETVersion.md) | Configure applications to use newer .NET Framework versions. | Important [Azure.AppService.PHPVersion](../rules/Azure.AppService.PHPVersion.md) | Configure applications to use newer PHP runtime versions. | Important -[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | Use an App Service Plan with at least two (2) instances. | Important +[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | App Service Plan should use a minimum number of instances for failover. | Important [Azure.AppService.RemoteDebug](../rules/Azure.AppService.RemoteDebug.md) | Disable remote debugging on App Service apps when not in use. | Important [Azure.AppService.UseHTTPS](../rules/Azure.AppService.UseHTTPS.md) | Azure App Service apps should only accept encrypted connections. | Important [Azure.Automation.EncryptVariables](../rules/Azure.Automation.EncryptVariables.md) | Azure Automation variables should be encrypted. | Important diff --git a/docs/en/baselines/Azure.GA_2020_06.md b/docs/en/baselines/Azure.GA_2020_06.md index cc4cfeca4a..e7585746bc 100644 --- a/docs/en/baselines/Azure.GA_2020_06.md +++ b/docs/en/baselines/Azure.GA_2020_06.md @@ -44,7 +44,7 @@ Name | Synopsis | Severity [Azure.AppService.ARRAffinity](../rules/Azure.AppService.ARRAffinity.md) | Disable client affinity for stateless services. | Awareness [Azure.AppService.MinPlan](../rules/Azure.AppService.MinPlan.md) | Use at least a Standard App Service Plan. | Important [Azure.AppService.MinTLS](../rules/Azure.AppService.MinTLS.md) | App Service should reject TLS versions older then 1.2. | Critical -[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | Use an App Service Plan with at least two (2) instances. | Important +[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | App Service Plan should use a minimum number of instances for failover. | Important [Azure.AppService.UseHTTPS](../rules/Azure.AppService.UseHTTPS.md) | Azure App Service apps should only accept encrypted connections. | Important [Azure.Automation.EncryptVariables](../rules/Azure.Automation.EncryptVariables.md) | Azure Automation variables should be encrypted. | Important [Azure.Automation.WebHookExpiry](../rules/Azure.Automation.WebHookExpiry.md) | Do not create webhooks with an expiry time greater than 1 year (default). | Awareness diff --git a/docs/en/baselines/Azure.GA_2020_09.md b/docs/en/baselines/Azure.GA_2020_09.md index 63bfc6650f..c3005eddc9 100644 --- a/docs/en/baselines/Azure.GA_2020_09.md +++ b/docs/en/baselines/Azure.GA_2020_09.md @@ -48,7 +48,7 @@ Name | Synopsis | Severity [Azure.AppService.ARRAffinity](../rules/Azure.AppService.ARRAffinity.md) | Disable client affinity for stateless services. | Awareness [Azure.AppService.MinPlan](../rules/Azure.AppService.MinPlan.md) | Use at least a Standard App Service Plan. | Important [Azure.AppService.MinTLS](../rules/Azure.AppService.MinTLS.md) | App Service should reject TLS versions older then 1.2. | Critical -[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | Use an App Service Plan with at least two (2) instances. | Important +[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | App Service Plan should use a minimum number of instances for failover. | Important [Azure.AppService.UseHTTPS](../rules/Azure.AppService.UseHTTPS.md) | Azure App Service apps should only accept encrypted connections. | Important [Azure.Automation.EncryptVariables](../rules/Azure.Automation.EncryptVariables.md) | Azure Automation variables should be encrypted. | Important [Azure.Automation.WebHookExpiry](../rules/Azure.Automation.WebHookExpiry.md) | Do not create webhooks with an expiry time greater than 1 year (default). | Awareness diff --git a/docs/en/baselines/Azure.GA_2020_12.md b/docs/en/baselines/Azure.GA_2020_12.md index 2e3beea0e1..646c3b6936 100644 --- a/docs/en/baselines/Azure.GA_2020_12.md +++ b/docs/en/baselines/Azure.GA_2020_12.md @@ -61,7 +61,7 @@ Name | Synopsis | Severity [Azure.AppService.MinTLS](../rules/Azure.AppService.MinTLS.md) | App Service should reject TLS versions older then 1.2. | Critical [Azure.AppService.NETVersion](../rules/Azure.AppService.NETVersion.md) | Configure applications to use newer .NET Framework versions. | Important [Azure.AppService.PHPVersion](../rules/Azure.AppService.PHPVersion.md) | Configure applications to use newer PHP runtime versions. | Important -[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | Use an App Service Plan with at least two (2) instances. | Important +[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | App Service Plan should use a minimum number of instances for failover. | Important [Azure.AppService.RemoteDebug](../rules/Azure.AppService.RemoteDebug.md) | Disable remote debugging on App Service apps when not in use. | Important [Azure.AppService.UseHTTPS](../rules/Azure.AppService.UseHTTPS.md) | Azure App Service apps should only accept encrypted connections. | Important [Azure.Automation.EncryptVariables](../rules/Azure.Automation.EncryptVariables.md) | Azure Automation variables should be encrypted. | Important diff --git a/docs/en/baselines/Azure.GA_2021_03.md b/docs/en/baselines/Azure.GA_2021_03.md index 72f1f70c80..3de0d1127a 100644 --- a/docs/en/baselines/Azure.GA_2021_03.md +++ b/docs/en/baselines/Azure.GA_2021_03.md @@ -61,7 +61,7 @@ Name | Synopsis | Severity [Azure.AppService.MinTLS](../rules/Azure.AppService.MinTLS.md) | App Service should reject TLS versions older then 1.2. | Critical [Azure.AppService.NETVersion](../rules/Azure.AppService.NETVersion.md) | Configure applications to use newer .NET Framework versions. | Important [Azure.AppService.PHPVersion](../rules/Azure.AppService.PHPVersion.md) | Configure applications to use newer PHP runtime versions. | Important -[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | Use an App Service Plan with at least two (2) instances. | Important +[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | App Service Plan should use a minimum number of instances for failover. | Important [Azure.AppService.RemoteDebug](../rules/Azure.AppService.RemoteDebug.md) | Disable remote debugging on App Service apps when not in use. | Important [Azure.AppService.UseHTTPS](../rules/Azure.AppService.UseHTTPS.md) | Azure App Service apps should only accept encrypted connections. | Important [Azure.Automation.EncryptVariables](../rules/Azure.Automation.EncryptVariables.md) | Azure Automation variables should be encrypted. | Important diff --git a/docs/en/baselines/Azure.GA_2021_06.md b/docs/en/baselines/Azure.GA_2021_06.md index 492ee539c4..e0620d2d77 100644 --- a/docs/en/baselines/Azure.GA_2021_06.md +++ b/docs/en/baselines/Azure.GA_2021_06.md @@ -64,7 +64,7 @@ Name | Synopsis | Severity [Azure.AppService.MinTLS](../rules/Azure.AppService.MinTLS.md) | App Service should reject TLS versions older then 1.2. | Critical [Azure.AppService.NETVersion](../rules/Azure.AppService.NETVersion.md) | Configure applications to use newer .NET Framework versions. | Important [Azure.AppService.PHPVersion](../rules/Azure.AppService.PHPVersion.md) | Configure applications to use newer PHP runtime versions. | Important -[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | Use an App Service Plan with at least two (2) instances. | Important +[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | App Service Plan should use a minimum number of instances for failover. | Important [Azure.AppService.RemoteDebug](../rules/Azure.AppService.RemoteDebug.md) | Disable remote debugging on App Service apps when not in use. | Important [Azure.AppService.UseHTTPS](../rules/Azure.AppService.UseHTTPS.md) | Azure App Service apps should only accept encrypted connections. | Important [Azure.Automation.EncryptVariables](../rules/Azure.Automation.EncryptVariables.md) | Azure Automation variables should be encrypted. | Important diff --git a/docs/en/baselines/Azure.Preview.md b/docs/en/baselines/Azure.Preview.md index 22a0496308..aaac33b8ee 100644 --- a/docs/en/baselines/Azure.Preview.md +++ b/docs/en/baselines/Azure.Preview.md @@ -76,7 +76,7 @@ Name | Synopsis | Severity [Azure.AppService.MinTLS](../rules/Azure.AppService.MinTLS.md) | App Service should reject TLS versions older then 1.2. | Critical [Azure.AppService.NETVersion](../rules/Azure.AppService.NETVersion.md) | Configure applications to use newer .NET Framework versions. | Important [Azure.AppService.PHPVersion](../rules/Azure.AppService.PHPVersion.md) | Configure applications to use newer PHP runtime versions. | Important -[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | Use an App Service Plan with at least two (2) instances. | Important +[Azure.AppService.PlanInstanceCount](../rules/Azure.AppService.PlanInstanceCount.md) | App Service Plan should use a minimum number of instances for failover. | Important [Azure.AppService.RemoteDebug](../rules/Azure.AppService.RemoteDebug.md) | Disable remote debugging on App Service apps when not in use. | Important [Azure.AppService.UseHTTPS](../rules/Azure.AppService.UseHTTPS.md) | Azure App Service apps should only accept encrypted connections. | Important [Azure.Automation.EncryptVariables](../rules/Azure.Automation.EncryptVariables.md) | Azure Automation variables should be encrypted. | Important diff --git a/pipeline.build.ps1 b/pipeline.build.ps1 index 54c6ddd15d..408604d038 100644 --- a/pipeline.build.ps1 +++ b/pipeline.build.ps1 @@ -119,7 +119,7 @@ task VersionModule ModuleDependencies, { $manifest = Test-ModuleManifest -Path $manifestPath; $requiredModules = $manifest.RequiredModules | ForEach-Object -Process { if ($_.Name -eq 'PSRule' -and $Configuration -eq 'Release') { - @{ ModuleName = 'PSRule'; ModuleVersion = '1.7.0' } + @{ ModuleName = 'PSRule'; ModuleVersion = '1.7.2' } } else { @{ ModuleName = $_.Name; ModuleVersion = $_.Version } @@ -169,8 +169,8 @@ task PSScriptAnalyzer NuGet, { # Synopsis: Install PSRule task PSRule NuGet, { - if ($Null -eq (Get-InstalledModule -Name PSRule -MinimumVersion 1.7.0 -ErrorAction Ignore)) { - Install-Module -Name PSRule -Repository PSGallery -MinimumVersion 1.7.0 -Scope CurrentUser -Force; + if ($Null -eq (Get-InstalledModule -Name PSRule -MinimumVersion 1.7.2 -ErrorAction Ignore)) { + Install-Module -Name PSRule -Repository PSGallery -MinimumVersion 1.7.2 -Scope CurrentUser -Force; } if ($Null -eq (Get-InstalledModule -Name PSRule.Rules.MSFT.OSS -MinimumVersion 0.1.0 -AllowPrerelease -ErrorAction Ignore)) { Install-Module -Name PSRule.Rules.MSFT.OSS -Repository PSGallery -MinimumVersion 0.1.0 -AllowPrerelease -Scope CurrentUser -Force; diff --git a/ps-project.yaml b/ps-project.yaml index 3ceabf2944..24488afd7f 100644 --- a/ps-project.yaml +++ b/ps-project.yaml @@ -16,7 +16,7 @@ bugs: url: https://github.com/Azure/PSRule.Rules.Azure/issues modules: - PSRule: ^1.7.0 + PSRule: ^1.7.2 tasks: clear: