Releases: Azure/PSRule.Rules.Azure
Releases · Azure/PSRule.Rules.Azure
v1.39.0-B0009
What's changed since v1.38.0:
- New rules:
- App Service:
- Verify that app service plans have availability zones configured by @BenjaminEngeset.
#2964
- Verify that app service plans have availability zones configured by @BenjaminEngeset.
- App Service Environment:
- Verify that app service environments have availability zones configured by @BenjaminEngeset.
#2964
- Verify that app service environments have availability zones configured by @BenjaminEngeset.
- Azure SQL Database:
- Verify that Azure SQL databases have a customer-controlled maintenance window configured by @BenjaminEngeset.
#2956
- Verify that Azure SQL databases have a customer-controlled maintenance window configured by @BenjaminEngeset.
- Azure SQL Managed Instance:
- Verify that Azure SQL Managed Instances have a customer-controlled maintenance window configured by @BenjaminEngeset.
#2979
- Verify that Azure SQL Managed Instances have a customer-controlled maintenance window configured by @BenjaminEngeset.
- Service Bus:
- Verify that service bus namespaces have geo-replication configured by @BenjaminEngeset.
#2988
- Verify that service bus namespaces have geo-replication configured by @BenjaminEngeset.
- App Service:
- Engineering:
See change log.
v1.38.0
What's changed since v1.37.0:
- New features:
- Added March 2024 baselines
Azure.GA_2024_06
andAzure.Preview_2024_06
by @BernieWhite.
#2961- Includes rules released before or during June 2024.
- Marked
Azure.GA_2024_03
andAzure.Preview_2024_03
baselines as obsolete.
- Added March 2024 baselines
- New rules:
- Azure Database for MySQL:
- Verify that Azure Database for MySQL servers have a customer-controlled maintenance window configured by @BenjaminEngeset.
#2916 - Verify that servers have zone-redundant high availability (HA) configured by @BenjaminEngeset.
#2914
- Verify that Azure Database for MySQL servers have a customer-controlled maintenance window configured by @BenjaminEngeset.
- Azure Database for PostgreSQL:
- Verify that Azure Database for PostgreSQL servers have a customer-controlled maintenance window configured by @BenjaminEngeset.
#2927 - Verify that servers have zone-redundant high availability (HA) configured by @BenjaminEngeset.
#2932
- Verify that Azure Database for PostgreSQL servers have a customer-controlled maintenance window configured by @BenjaminEngeset.
- Azure Firewall:
- Verify that firewalls have availability zones configured by @BenjaminEngeset.
#2909
- Verify that firewalls have availability zones configured by @BenjaminEngeset.
- Azure Kubernetes Service:
- Added check to automatically upgrade AKS cluster node image by @sharmilamusunuru.
#2445
- Added check to automatically upgrade AKS cluster node image by @sharmilamusunuru.
- Azure Virtual Desktop:
- Added check for scheduled agent updates on host pools by @BernieWhite.
#2946
- Added check for scheduled agent updates on host pools by @BernieWhite.
- Cosmos DB:
- Verify that Cosmos DB accounts have continuous backup configured by @BenjaminEngeset.
#2954
- Verify that Cosmos DB accounts have continuous backup configured by @BenjaminEngeset.
- Virtual Network Gateway:
- Verify that VPN/ExpressRoute gateways have a customer-controlled maintenance configuration configured by @BenjaminEngeset.
#2910
- Verify that VPN/ExpressRoute gateways have a customer-controlled maintenance configuration configured by @BenjaminEngeset.
- Virtual Machine Scale Sets:
- Verify that virtual machine scale sets have best-effort zone balance configured by @BenjaminEngeset.
#2901 - Verify that virtual machine scale sets have availability zones configured by @BenjaminEngeset.
#2902
- Verify that virtual machine scale sets have best-effort zone balance configured by @BenjaminEngeset.
- Azure Database for MySQL:
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.Version
to use1.28.9
as the minimum version by @BernieWhite.
#2930
- Updated
- Virtual Machine:
- Updated
Azure.VM.MaintenanceConfig
to align to the reliability pillar by @BernieWhite.
#2925- Promoted to GA and bumped rule set to
2024_06
.
- Promoted to GA and bumped rule set to
- Updated
- Azure Kubernetes Service:
- Engineering:
- Quality updates to rule documentation by @BernieWhite.
#2570 - Bump Pester to v5.6.0.
#2934 - Bump PSScriptAnalyzer to v1.22.0.
#2934
- Quality updates to rule documentation by @BernieWhite.
- Bug fixes:
- Fixed handling of multi-line descriptions for policy definition and assignment exports by @BernieWhite.
#2973 - Fixed support for
references
function by @BernieWhite.
#2922 - Fixed group by subscription casing when exporting in-flight resources by @BernieWhite.
#2957 - Fixed install Az.Resources warning by @BernieWhite.
#2887- Added new configuration option set by environment variable to suppress the warning.
- Set
PSRULE_AZURE_RESOURCE_MODULE_NOWARN
totrue
to suppress the warning.
- Fixed
filter
on unknown runtime property by @BernieWhite.
#2966 - Fixed failed to expand with direct outputs reference by @BernieWhite.
#2935 - Fixed identification of
list*
function false positive with resource by @BernieWhite.
#2919 - Fixed documentation bugs for container apps by @BernieWhite.
#2876
- Fixed handling of multi-line descriptions for policy definition and assignment exports by @BernieWhite.
What's changed since pre-release v1.38.0-B0068:
- No additional changes.
See change log.
v1.38.0-B0106
What's changed since pre-release v1.38.0-B0068:
- New rules:
- Cosmos DB:
- Verify that Cosmos DB accounts have continuous backup configured by @BenjaminEngeset.
#2954
- Verify that Cosmos DB accounts have continuous backup configured by @BenjaminEngeset.
- Cosmos DB:
- Bug fixes:
- Rollback Az.Resources to v6.7.0 by @BernieWhite.
#2970 - Fixed handling of multi-line descriptions for policy definition and assignment exports by @BernieWhite.
#2973
- Rollback Az.Resources to v6.7.0 by @BernieWhite.
See change log.
v1.38.0-B0068
What's changed since pre-release v1.38.0-B0034:
- New features:
- Added March 2024 baselines
Azure.GA_2024_06
andAzure.Preview_2024_06
by @BernieWhite.
#2961- Includes rules released before or during June 2024.
- Marked
Azure.GA_2024_03
andAzure.Preview_2024_03
baselines as obsolete.
- Added March 2024 baselines
- Engineering:
- Quality updates to rule documentation by @BernieWhite.
#2570
- Quality updates to rule documentation by @BernieWhite.
- Bug fixes:
- Fixed support for
references
function by @BernieWhite.
#2922 - Fixed group by subscription casing when exporting in-flight resources by @BernieWhite.
#2957 - Fixed install Az.Resources warning by @BernieWhite.
#2887- Added new configuration option set by environment variable to suppress the warning.
- Set
PSRULE_AZURE_RESOURCE_MODULE_NOWARN
totrue
to suppress the warning.
- Fixed
filter
on unknown runtime property by @BernieWhite.
#2966
- Fixed support for
See change log.
v1.38.0-B0034
What's changed since pre-release v1.38.0-B0011:
- New rules:
- Azure Kubernetes Service:
- Added check to automatically upgrade AKS cluster node image by @sharmilamusunuru.
#2445
- Added check to automatically upgrade AKS cluster node image by @sharmilamusunuru.
- Azure Virtual Desktop:
- Added check for scheduled agent updates on host pools by @BernieWhite.
#2946
- Added check for scheduled agent updates on host pools by @BernieWhite.
- Virtual Machine Scale Sets:
- Verify that virtual machine scale sets have best-effort zone balance configured by @BenjaminEngeset.
#2901 - Verify that virtual machine scale sets have availability zones configured by @BenjaminEngeset.
#2902
- Verify that virtual machine scale sets have best-effort zone balance configured by @BenjaminEngeset.
- Azure Kubernetes Service:
- Engineering:
- Quality updates to rule documentation by @BernieWhite.
#2570
- Quality updates to rule documentation by @BernieWhite.
- Bug fixes:
- Fixed failed to expand with direct outputs reference by @BernieWhite.
#2935 - Fixed identification of
list*
function false positive with resource by @BernieWhite.
#2919 - Fixed documentation bugs for container apps by @BernieWhite.
#2876
- Fixed failed to expand with direct outputs reference by @BernieWhite.
See change log.
v1.38.0-B0011
What's changed since v1.37.0:
- New rules:
- Azure Database for MySQL:
- Verify that Azure Database for MySQL servers have a customer-controlled maintenance window configured by @BenjaminEngeset.
#2916 - Verify that servers have zone-redundant high availability (HA) configured by @BenjaminEngeset.
#2914
- Verify that Azure Database for MySQL servers have a customer-controlled maintenance window configured by @BenjaminEngeset.
- Azure Database for PostgreSQL:
- Verify that Azure Database for PostgreSQL servers have a customer-controlled maintenance window configured by @BenjaminEngeset.
#2927 - Verify that servers have zone-redundant high availability (HA) configured by @BenjaminEngeset.
#2932
- Verify that Azure Database for PostgreSQL servers have a customer-controlled maintenance window configured by @BenjaminEngeset.
- Azure Firewall:
- Verify that firewalls have availability zones configured by @BenjaminEngeset.
#2909
- Verify that firewalls have availability zones configured by @BenjaminEngeset.
- Virtual Network Gateway:
- Verify that VPN/ExpressRoute gateways have a customer-controlled maintenance configuration configured by @BenjaminEngeset.
#2910
- Verify that VPN/ExpressRoute gateways have a customer-controlled maintenance configuration configured by @BenjaminEngeset.
- Azure Database for MySQL:
- Updated rules:
- Virtual Machine:
- Updated
Azure.VM.MaintenanceConfig
to align to the reliability pillar by @BernieWhite.
#2925- Promoted to GA and bumped rule set to
2024_06
.
- Promoted to GA and bumped rule set to
- Updated
- Updated
Azure.AKS.Version
to use1.28.9
as the minimum version by @BernieWhite.
#2930
- Virtual Machine:
- Engineering:
See change log.
v1.37.0
What's changed since v1.36.0:
- New features:
- Added support for new Bicep language features introduced in v0.27.1 by @BernieWhite.
#2860
#2859- Added support for
shallowMerge
,groupBy
,objectKeys
, andmapValues
. - Updated syntax for Bicep lambda usage of
map
,reduce
, andfilter
which now support indices. - Added support for spread operator.
- Added support for
- Added support for new Bicep language features introduced in v0.27.1 by @BernieWhite.
- New rules:
- App Service:
- Check that applications uses supported Node.js runtime versions by @BenjaminEngeset.
#2879
- Check that applications uses supported Node.js runtime versions by @BenjaminEngeset.
- Application Gateway:
- Check that WAF v2 doesn't use legacy WAF configuration by @BenjaminEngeset.
#2877
- Check that WAF v2 doesn't use legacy WAF configuration by @BenjaminEngeset.
- Azure Cache for Redis:
- Verify that cache instances have Entra ID authentication enabled by @BenjaminEngeset.
#2899
- Verify that cache instances have Entra ID authentication enabled by @BenjaminEngeset.
- Azure Managed Grafana:
- Check that Azure Managed Grafana workspaces uses Grafana version 10 by @BenjaminEngeset.
#2878
- Check that Azure Managed Grafana workspaces uses Grafana version 10 by @BenjaminEngeset.
- Cosmos DB:
- Check that database accounts use a paid tier by @BernieWhite.
#2845 - Check that database accounts have local authentication disabled by @BenjaminEngeset.
#2846 - Check that database accounts have public network access disabled by @BenjaminEngeset.
#2702
- Check that database accounts use a paid tier by @BernieWhite.
- Event Hub:
- Check that access to the namespace endpoints is restricted to only allowed sources by @BenjaminEngeset.
#2701
- Check that access to the namespace endpoints is restricted to only allowed sources by @BenjaminEngeset.
- Log Analytics:
- Check that workspaces have workspace replication enabled by @BenjaminEngeset.
#2893
- Check that workspaces have workspace replication enabled by @BenjaminEngeset.
- Virtual Machine Scale Sets:
- Check that automatic instance repairs are enabled by @BenjaminEngeset.
#2895
- Check that automatic instance repairs are enabled by @BenjaminEngeset.
- App Service:
- Updated rules:
- API Management:
- Important change: Updated
Azure.APIM.AvailabilityZone
to improve accuracy with non-premium SKUs by @BenjaminEngeset.
#2788- Removed the
If
Premium SKU. - Added check for Premium SKU.
- Bumped rule set to
2024_06
.
- Removed the
- Important change: Updated
Azure.APIM.MultiRegion
to improve accuracy with non-premium SKUs by @BenjaminEngeset.
#2787- Removed the
If
Premium SKU. - Added check for Premium SKU.
- Bumped rule set to
2024_06
.
- Removed the
- Important change: Updated
- Deployment:
- Add additional exclusions for
Azure.Deployment.SecureParameter
by @BernieWhite.
#2857
- Add additional exclusions for
- API Management:
- General improvements:
- Quality updates to documentation by @BernieWhite.
#2570 - Updated resource providers and policy aliases.
#2880 - Added support for
split
andconcat
functions during policy export by @BernieWhite.
#2851
- Quality updates to documentation by @BernieWhite.
- Engineering:
- Bug fixed:
- Fixed
union
does not perform deep merge or keep property order by @BernieWhite.
#2885 - Fixed dependency ordering for cross scope deployments by @BernieWhite.
#2850
- Fixed
What's changed since pre-release v1.37.0-B0071:
- No additional changes.
See change log.
v1.37.0-B0071
What's changed since pre-release v1.37.0-B0034:
- New rules:
- App Service:
- Check that applications uses supported Node.js runtime versions by @BenjaminEngeset.
#2879
- Check that applications uses supported Node.js runtime versions by @BenjaminEngeset.
- Azure Cache for Redis:
- Verify that cache instances have Entra ID authentication enabled by @BenjaminEngeset.
#2899
- Verify that cache instances have Entra ID authentication enabled by @BenjaminEngeset.
- Log Analytics:
- Check that workspaces have workspace replication enabled by @BenjaminEngeset.
#2893
- Check that workspaces have workspace replication enabled by @BenjaminEngeset.
- Virtual Machine Scale Sets:
- Check that automatic instance repairs are enabled by @BenjaminEngeset.
#2895
- Check that automatic instance repairs are enabled by @BenjaminEngeset.
- App Service:
- Updated rules:
- API Management:
- Important change: Updated
Azure.APIM.MultiRegion
to improve accuracy with non-premium SKUs by @BenjaminEngeset.
#2787- Removed the
If
Premium SKU. - Added check for Premium SKU.
- Bumped rule set to
2024_06
- Removed the
- Important change: Updated
- API Management:
- General improvements:
- Added support for
split
andconcat
functions during policy export by @BernieWhite.
#2851
- Added support for
- Engineering:
See change log.
v1.37.0-B0034
What's changed since pre-release v1.37.0-B0009:
- New features:
- Added support for new Bicep language features introduced in v0.27.1 by @BernieWhite.
#2860
#2859- Added support for
shallowMerge
,groupBy
,objectKeys
, andmapValues
. - Updated syntax for Bicep lambda usage of
map
,reduce
, andfilter
which now support indices. - Added support for spread operator.
- Added support for
- Added support for new Bicep language features introduced in v0.27.1 by @BernieWhite.
- New rules:
- Application Gateway:
- Check that WAF v2 doesn't use legacy WAF configuration by @BenjaminEngeset.
#2877
- Check that WAF v2 doesn't use legacy WAF configuration by @BenjaminEngeset.
- Azure Managed Grafana:
- Check that Azure Managed Grafana workspaces uses Grafana version 10 by @BenjaminEngeset.
#2878
- Check that Azure Managed Grafana workspaces uses Grafana version 10 by @BenjaminEngeset.
- Cosmos DB:
- Check that database accounts have local authentication disabled by @BenjaminEngeset.
#2846 - Check that database accounts have public network access disabled by @BenjaminEngeset.
#2702
- Check that database accounts have local authentication disabled by @BenjaminEngeset.
- Event Hub:
- Check that access to the namespace endpoints is restricted to only allowed sources by @BenjaminEngeset.
#2701
- Check that access to the namespace endpoints is restricted to only allowed sources by @BenjaminEngeset.
- Application Gateway:
- Updated rules:
- API Management:
- Important change: Updated
Azure.APIM.AvailabilityZone
to improve accuracy with non-premium SKUs by @BenjaminEngeset.
#2788- Removed the
If
Premium SKU. - Added check for Premium SKU.
- Bumped rule set to
2024_06
.
- Removed the
- Important change: Updated
- API Management:
- General improvements:
- Updated resource providers and policy aliases.
#2880
- Updated resource providers and policy aliases.
- Engineering:
- Bug fixed:
- Fixed
union
does not perform deep merge or keep property order by @BernieWhite.
#2885
- Fixed
See change log.
v1.37.0-B0009
What's changed since v1.36.0:
- New rules:
- Cosmos DB:
- Check that database accounts use a paid tier by @BernieWhite.
#2845
- Check that database accounts use a paid tier by @BernieWhite.
- Cosmos DB:
- Updated rules:
- Deployment:
- Add additional exclusions for
Azure.Deployment.SecureParameter
by @BernieWhite.
#2857
- Add additional exclusions for
- Deployment:
- General improvements:
- Quality updates to documentation by @BernieWhite.
#2570
- Quality updates to documentation by @BernieWhite.
- Bug fixes:
- Fixed dependency ordering for cross scope deployments by @BernieWhite.
#2850
- Fixed dependency ordering for cross scope deployments by @BernieWhite.
See change log.