discussion | link_users |
---|---|
false |
true |
See upgrade notes for helpful information when upgrading from previous versions.
Important notes:
- Issue #741:
Could not load file or assembly YamlDotNet
. See troubleshooting guide for a workaround to this issue. - The configuration option
Azure_AKSMinimumVersion
is replaced withAZURE_AKS_CLUSTER_MINIMUM_VERSION
. If you have this option configured, please update it toAZURE_AKS_CLUSTER_MINIMUM_VERSION
. Support forAzure_AKSMinimumVersion
will be removed in v2. See upgrade notes for more information. - The
SupportsTag
PowerShell function has been replaced with theAzure.Resource.SupportsTags
selector. Update PowerShell rules to use theAzure.Resource.SupportsTags
selector instead. Support for theSupportsTag
function will be removed in v2. See upgrade notes for more information.
What's changed since pre-release v1.20.0-B0148:
- Engineering:
- Bug fixes:
- Handle key collision with duplicate definitions using same parameters by @ArmaanMcleod. #1653
What's changed since pre-release v1.20.0-B0085:
- New rules:
- App Configuration:
- Check app configuration store audit diagnostic logs are enabled by @bengeset96. #1690
- App Configuration:
- Engineering:
- Bump Microsoft.NET.Test.Sdk to v17.3.2. #1719
- Bug fixes:
- Fixed error expanding with
json()
and single quotes by @BernieWhite. #1656
- Fixed error expanding with
What's changed since pre-release v1.20.0-B0028:
- New rules:
- Azure Cache for Redis:
- App Configuration:
- Check identity-based authentication is used for configuration stores by @pazdedav. #1691
- Container Registry:
- Check soft delete policy is enabled by @bengeset96. #1674
- Defender for Cloud:
- Check Microsoft Defender for Cloud is enabled for Containers by @jdewisscher. #1632
- Check Microsoft Defender for Cloud is enabled for Virtual Machines by @jdewisscher. #1632
- Check Microsoft Defender for Cloud is enabled for SQL Servers by @jdewisscher. #1632
- Check Microsoft Defender for Cloud is enabled for App Services by @jdewisscher. #1632
- Check Microsoft Defender for Cloud is enabled for Storage Accounts by @jdewisscher. #1632
- Check Microsoft Defender for Cloud is enabled for SQL Servers on machines by @jdewisscher. #1632
- Network Security Group:
- Check AKS managed NSGs don't contain custom rules by @ms-sambell. #8
- Storage Account:
- Updated rules:
- Important change: Updated rules, tests and docs with Microsoft Defender for Cloud by @jonathanruiz.
#545
- The following rules have been renamed with aliases:
- Renamed
Azure.SQL.ThreatDetection
toAzure.SQL.DefenderCloud
. - Renamed
Azure.SecurityCenter.Contact
toAzure.DefenderCloud.Contact
. - Renamed
Azure.SecurityCenter.Provisioning
toAzure.DefenderCloud.Provisioning
.
- Renamed
- If you are referencing the old names please consider updating to the new names.
- The following rules have been renamed with aliases:
- Updated documentation examples for Front Door and Key Vault rules by @lluppesms. #1667
- Improved the way we check that VM or VMSS has Linux by @verabe. #1704
- Important change: Updated rules, tests and docs with Microsoft Defender for Cloud by @jonathanruiz.
#545
- General improvements:
- Updated NSG documentation with code snippets and links by @simone-bennett. #1607
- Updated Application Gateway documentation with code snippets by @ms-sambell. #1608
- Updated SQL firewall rules documentation by @ms-sambell. #1569
- Updated Container Apps documentation and rule to new resource type by @marie-schmidt. #1672
- Updated KeyVault and FrontDoor documentation with code snippets by @lluppesms. #1667
- Added tag and annotation metadata from policy for rules generation by @BernieWhite. #1652
- Bug fixes:
What's changed since pre-release v1.20.0-B0004:
- New rules:
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.Version
to use latest stable version1.23.8
by @BernieWhite. #1627- Use
AZURE_AKS_CLUSTER_MINIMUM_VERSION
to configure the minimum version of the cluster.
- Use
- Updated
- Event Grid:
- Promoted
Azure.EventGrid.DisableLocalAuth
to GA rule set by @BernieWhite. #1628
- Promoted
- Key Vault:
- Promoted
Azure.KeyVault.AutoRotationPolicy
to GA rule set by @BernieWhite. #1629
- Promoted
- Azure Kubernetes Service:
- Engineering:
- Bug fixes:
What's changed since v1.19.1:
- New rules:
- Azure Resources:
- Check that nested deployments securely pass through administrator usernames by @ms-sambell. #1479
- Azure Resources:
- Engineering:
- Bump Microsoft.NET.Test.Sdk to v17.3.1. #1603
What's changed since v1.19.1:
- Bug fixes:
- Fixed function
dateTimeAdd
errors handlingutcNow
output by @BernieWhite. #1637
- Fixed function
What's changed since v1.19.0:
- Bug fixes:
- Fixed
Azure.VNET.UseNSGs
is missing exceptions by @BernieWhite. #1609- Added exclusions for
RouteServerSubnet
and any subnet with a dedicated HSM delegation.
- Added exclusions for
- Fixed
What's changed since v1.18.1:
- New rules:
- Azure Kubernetes Service:
- Check clusters use uptime SLA by @bengeset96. #1601
- Azure Kubernetes Service:
- General improvements:
- Updated rule level for the following rules by @BernieWhite.
#1551
- Set
Azure.APIM.APIDescriptors
to warning from error. - Set
Azure.APIM.ProductDescriptors
to warning from error. - Set
Azure.Template.UseLocationParameter
to warning from error. - Set
Azure.Template.UseComments
to information from error. - Set
Azure.Template.UseDescriptions
to information from error.
- Set
- Improve reporting of failing resource property for rules by @BernieWhite. #1429
- Updated rule level for the following rules by @BernieWhite.
#1551
- Engineering:
- Added publishing of symbols for NuGet packages by @BernieWhite. #1549
- Bump Az.Resources to v6.1.0. #1557
- Bump Microsoft.NET.Test.Sdk to v17.3.0. #1563
- Bump PSRule to v2.3.2. #1574
- Bump support projects to .NET 6 by @BernieWhite. #1560
- Bump BenchmarkDotNet to v0.13.2. #1593
- Bump BenchmarkDotNet.Diagnostics.Windows to v0.13.2. #1594
- Updated provider data for analysis. #1598
- Bug fixes:
What's changed since pre-release v1.19.0-B0077:
- No additional changes.
What's changed since pre-release v1.19.0-B0042:
- New rules:
- Azure Kubernetes Service:
- Check clusters use uptime SLA by @bengeset96. #1601
- Azure Kubernetes Service:
What's changed since pre-release v1.19.0-B0010:
- General improvements:
- Improve reporting of failing resource property for rules by @BernieWhite. #1429
- Engineering:
- Bug fixes:
What's changed since v1.18.1:
- General improvements:
- Updated rule level for the following rules by @BernieWhite.
#1551
- Set
Azure.APIM.APIDescriptors
to warning from error. - Set
Azure.APIM.ProductDescriptors
to warning from error. - Set
Azure.Template.UseLocationParameter
to warning from error. - Set
Azure.Template.UseComments
to information from error. - Set
Azure.Template.UseDescriptions
to information from error.
- Set
- Updated rule level for the following rules by @BernieWhite.
#1551
- Engineering:
What's changed since v1.18.0:
- Bug fixes:
What's changed since v1.17.1:
- New rules:
- Cognitive Services:
- Check accounts use network access restrictions by @BernieWhite. #1532
- Check accounts use managed identities to access Azure resources by @BernieWhite. #1532
- Check accounts only accept requests using Azure AD identities by @BernieWhite. #1532
- Check accounts disable access using public endpoints by @BernieWhite. #1532
- Cognitive Services:
- General improvements:
- Engineering:
- Bug fixes:
- Fixed
Azure.SQL.TDE
is not required to enable Transparent Data Encryption for IaC by @BernieWhite. #1530
- Fixed
What's changed since pre-release v1.18.0-B0027:
- No additional changes.
What's changed since pre-release v1.18.0-B0010:
- New rules:
- Cognitive Services:
- Check accounts use network access restrictions by @BernieWhite. #1532
- Check accounts use managed identities to access Azure resources by @BernieWhite. #1532
- Check accounts only accept requests using Azure AD identities by @BernieWhite. #1532
- Check accounts disable access using public endpoints by @BernieWhite. #1532
- Cognitive Services:
- General improvements:
- Engineering:
- Bug fixes:
- Fixed
Azure.SQL.TDE
is not required to enable Transparent Data Encryption for IaC by @BernieWhite. #1530
- Fixed
What's changed since pre-release v1.18.0-B0002:
- General improvements:
- Improved output of full path to emitted resources by @BernieWhite. #1523
- Engineering:
- Bump Az.Resources to v6.0.1. #1521
What's changed since v1.17.1:
- Engineering:
- Added readme and tags to NuGet by @BernieWhite. #1513
What's changed since v1.17.0:
- Bug fixes:
What's changed since v1.16.1:
- New features:
- Added more field count expression support for Azure Policy JSON rules by @ArmaanMcleod. #181
- Added June 2022 baselines
Azure.GA_2022_06
andAzure.Preview_2022_06
by @BernieWhite. #1499- Includes rules released before or during June 2022.
- Marked
Azure.GA_2022_03
andAzure.Preview_2022_03
baselines as obsolete.
- New rules:
- Deployment:
- Check for secure values in outputs by @BernieWhite. #297
- Deployment:
- Engineering:
- Bug fixes:
What's changed since pre-release v1.17.0-B0064:
- No additional changes.
What's changed since pre-release v1.17.0-B0035:
- Engineering:
- Bug fixes:
- Fixed TDE property status to state by @Dylan-Prins. #1505
What's changed since pre-release v1.17.0-B0014:
- New features:
- Added June 2022 baselines
Azure.GA_2022_06
andAzure.Preview_2022_06
by @BernieWhite. #1499- Includes rules released before or during June 2022.
- Marked
Azure.GA_2022_03
andAzure.Preview_2022_03
baselines as obsolete.
- Added June 2022 baselines
- Engineering:
What's changed since v1.16.1:
- New features:
- Added more field count expression support for Azure Policy JSON rules by @ArmaanMcleod. #181
- New rules:
- Deployment:
- Check for secure values in outputs by @BernieWhite. #297
- Deployment:
- Engineering:
- Updated NuGet packaging metadata by @BernieWhite. #1428
- Bug fixes:
- Fixed the language expression value fails in outputs by @BernieWhite. #1485
What's changed since v1.16.0:
- Bug fixes:
What's changed since v1.15.2:
- New rules:
- Updated rules:
- Public IP:
- Updated
Azure.PublicIP.AvailabilityZone
to exclude IP addresses for Azure Bastion by @BernieWhite. #1442- Public IP addresses with the
resource-usage
tag set toazure-bastion
are excluded.
- Public IP addresses with the
- Updated
- Public IP:
- General improvements:
- Added support for
dateTimeFromEpoch
anddateTimeToEpoch
ARM functions by @BernieWhite. #1451
- Added support for
- Engineering:
- Updated built documentation to include rule ref and metadata by @BernieWhite. #1432
- Added ref properties for several rules by @BernieWhite. #1430
- Updated provider data for analysis. #1453
- Bump Microsoft.NET.Test.Sdk to v17.2.0. #1410
- Update CI checks to include required ref property by @BernieWhite. #1431
- Added ref properties for rules by @BernieWhite. #1430
- Bug fixes:
- Fixed
Azure.Template.UseVariables
does not accept function variables names by @BernieWhite. #1427 - Fixed dependency issue within Azure Pipelines
AzurePowerShell
task by @BernieWhite. #1447- Removed dependency on
Az.Accounts
andAz.Resources
from manifest. Pre-install these modules to use export cmdlets.
- Removed dependency on
- Fixed
What's changed since pre-release v1.16.0-B0072:
- No additional changes.
What's changed since pre-release v1.16.0-B0041:
- Engineering:
- Bug fixes:
- Fixed dependency issue within Azure Pipelines
AzurePowerShell
task by @BernieWhite. #1447- Removed dependency on
Az.Accounts
andAz.Resources
from manifest. Pre-install these modules to use export cmdlets.
- Removed dependency on
- Fixed dependency issue within Azure Pipelines
What's changed since pre-release v1.16.0-B0017:
- Updated rules:
- Public IP:
- Updated
Azure.PublicIP.AvailabilityZone
to exclude IP addresses for Azure Bastion by @BernieWhite. #1442- Public IP addresses with the
resource-usage
tag set toazure-bastion
are excluded.
- Public IP addresses with the
- Updated
- Public IP:
- General improvements:
- Added support for
dateTimeFromEpoch
anddateTimeToEpoch
ARM functions by @BernieWhite. #1451
- Added support for
- Engineering:
What's changed since v1.15.2:
- New rules:
- Engineering:
- Bump Microsoft.NET.Test.Sdk to v17.2.0. #1410
- Bug fixes:
- Fixed
Azure.Template.UseVariables
does not accept function variables names by @BernieWhite. #1427
- Fixed
What's changed since v1.15.1:
- Bug fixes:
- Fixed
Azure.AppService.ManagedIdentity
does not accept both system and user assigned by @BernieWhite. #1415- This also applies to:
Azure.ADX.ManagedIdentity
Azure.APIM.ManagedIdentity
Azure.EventGrid.ManagedIdentity
Azure.Automation.ManagedIdentity
- This also applies to:
- Fixed Web apps with .NET 6 do not meet version constraint of
Azure.AppService.NETVersion
by @BernieWhite. #1414- This also applies to
Azure.AppService.PHPVersion
.
- This also applies to
- Fixed
What's changed since v1.15.0:
- Bug fixes:
What's changed since v1.14.3:
- New features:
- Important change: Added
Azure.Resource.SupportsTags
selector by @BernieWhite. #1339- Use this selector in custom rules to filter rules to only run against resources that support tags.
- This selector replaces the
SupportsTags
PowerShell function. - Using the
SupportsTag
function will now result in a warning. - The
SupportsTags
function will be removed in v2. - See upgrade notes for more information.
- Important change: Added
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.Version
to use latest stable version1.22.6
by @BernieWhite. #1386- Use
AZURE_AKS_CLUSTER_MINIMUM_VERSION
to configure the minimum version of the cluster.
- Use
- Updated
- Azure Kubernetes Service:
- Engineering:
- Added code signing of module by @BernieWhite. #1379
- Added SBOM manifests to module by @BernieWhite. #1380
- Embedded provider and alias information as manifest resources by @BernieWhite.
#1383
- Resources are minified and compressed to improve size and speed.
- Added additional
nodeps
manifest that does not include dependencies for Az modules by @BernieWhite. #1392 - Bump Az.Accounts to 2.7.6. #1338
- Bump Az.Resources to 5.6.0. #1338
- Bump PSRule to 2.1.0. #1338
- Bump Pester to 5.3.3. #1338
- Bug fixes:
What's changed since pre-release v1.15.0-B0053:
- Bug fixes:
- Fixed error calling SupportsTags function by @BernieWhite. #1401
What's changed since pre-release v1.15.0-B0022:
- New features:
- Important change: Added
Azure.Resource.SupportsTags
selector. #1339- Use this selector in custom rules to filter rules to only run against resources that support tags.
- This selector replaces the
SupportsTags
PowerShell function. - Using the
SupportsTag
function will now result in a warning. - The
SupportsTags
function will be removed in v2. - See upgrade notes for more information.
- Important change: Added
- Engineering:
- Embedded provider and alias information as manifest resources. #1383
- Resources are minified and compressed to improve size and speed.
- Added additional
nodeps
manifest that does not include dependencies for Az modules. #1392 - Bump Az.Accounts to 2.7.6. #1338
- Bump Az.Resources to 5.6.0. #1338
- Bump PSRule to 2.1.0. #1338
- Bump Pester to 5.3.3. #1338
- Embedded provider and alias information as manifest resources. #1383
What's changed since v1.14.3:
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.Version
to use latest stable version1.22.6
. #1386- Use
AZURE_AKS_CLUSTER_MINIMUM_VERSION
to configure the minimum version of the cluster.
- Use
- Updated
- Azure Kubernetes Service:
- Engineering:
- Bug fixes:
- Fixed dependency chain order when dependsOn copy. #1381
What's changed since v1.14.2:
- Bug fixes:
What's changed since v1.14.1:
- Bug fixes:
- Fixed handling of parent resources when sub resource is in a separate deployment. #1360
What's changed since v1.14.0:
- Bug fixes:
- Fixed unable to set parameter defaults option with type object. #1355
What's changed since v1.13.4:
- New features:
- Added support for referencing resources in template. #1315
- The
reference()
function can be used to reference resources in template. - A placeholder value is still used for resources outside of the template.
- The
- Added March 2022 baselines
Azure.GA_2022_03
andAzure.Preview_2022_03
. #1334- Includes rules released before or during March 2022.
- Marked
Azure.GA_2021_12
andAzure.Preview_2021_12
baselines as obsolete.
- Experimental: Cmdlets to validate objects with Azure policy conditions:
Export-AzPolicyAssignmentData
- Exports policy assignment data. #1266Export-AzPolicyAssignmentRuleData
- Exports JSON rules from policy assignment data. #1278Get-AzPolicyAssignmentDataSource
- Discovers policy assignment data. #1340- See cmdlet help for limitations and usage.
- Additional information will be posted as this feature evolves here.
- Added support for referencing resources in template. #1315
- New rules:
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.Version
to use latest stable version1.21.9
. #1318- Use
AZURE_AKS_CLUSTER_MINIMUM_VERSION
to configure the minimum version of the cluster.
- Use
- Updated
- Azure Kubernetes Service:
- Engineering:
- Bug fixes:
What's changed since pre-release v1.14.0-B2204013:
- No additional changes.
What's changed since pre-release v1.14.0-B2204007:
- Engineering:
- Cleanup of additional alias metadata. #1351
What's changed since pre-release v1.14.0-B2203117:
- Bug fixes:
What's changed since pre-release v1.14.0-B2203088:
- New features:
- Experimental: Cmdlets to validate objects with Azure policy conditions:
Export-AzPolicyAssignmentData
- Exports policy assignment data. #1266Export-AzPolicyAssignmentRuleData
- Exports JSON rules from policy assignment data. #1278Get-AzPolicyAssignmentDataSource
- Discovers policy assignment data. #1340- See cmdlet help for limitations and usage.
- Additional information will be posted as this feature evolves here.
- Experimental: Cmdlets to validate objects with Azure policy conditions:
- Engineering:
- Cache Azure Policy Aliases. #1277
- Bug fixes:
- Fixed index was out of range with split on mock properties. #1327
What's changed since pre-release v1.14.0-B2203066:
- New features:
- Added March 2022 baselines
Azure.GA_2022_03
andAzure.Preview_2022_03
. #1334- Includes rules released before or during March 2022.
- Marked
Azure.GA_2021_12
andAzure.Preview_2021_12
baselines as obsolete.
- Added March 2022 baselines
- Bug fixes:
- Fixed expand of runtime properties on reference objects. #1324
What's changed since v1.13.4:
- New features:
- Added support for referencing resources in template. #1315
- The
reference()
function can be used to reference resources in template. - A placeholder value is still used for resources outside of the template.
- The
- Added support for referencing resources in template. #1315
- New rules:
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.Version
to use latest stable version1.21.9
. #1318- Use
AZURE_AKS_CLUSTER_MINIMUM_VERSION
to configure the minimum version of the cluster.
- Use
- Updated
- Azure Kubernetes Service:
- Bug fixes:
- Fixed processing of deployment outputs. #1316
What's changed since v1.13.3:
- Bug fixes:
What's changed since v1.13.2:
- Bug fixes:
- Fixed bicep build timeout for complex deployments. #1299
What's changed since v1.13.1:
- Engineering:
- Bump PowerShellStandard.Library to 5.1.1. #1295
- Bug fixes:
- Fixed nested resource loops. #1293
What's changed since v1.13.0:
- Bug fixes:
- Fixed parsing of nested quote pairs within JSON function. #1288
What's changed since v1.12.2:
- New features:
- New rules:
- Engineering:
- Bug fixes:
What's changed since pre-release v1.13.0-B2202113:
- No additional changes.
What's changed since pre-release v1.13.0-B2202108:
- Bug fixes:
- Fixed resource id is incorrectly built for sub resource types. #1279
What's changed since pre-release v1.13.0-B2202103:
- Bug fixes:
- Fixed mapping default configuration causes cast exception. #1274
What's changed since pre-release v1.13.0-B2202090:
- Engineering:
- Bump PSRule dependency to v1.11.1. #1269
- Bug fixes:
- Fixed out of order parameters. #1257
What's changed since pre-release v1.13.0-B2202063:
- New rules:
- Azure Cache for Redis:
- Limit public access for Azure Cache for Redis instances. #935
- Azure Cache for Redis:
- Engineering:
- Automatically build baseline docs. #1242
- Bug fixes:
- Fixed empty value with strong type. #1258
What's changed since v1.12.2:
- New features:
- New rules:
- Bug fixes:
- Fixed error with empty logic app trigger. #1249
What's changed since v1.12.1:
- Bug fixes:
- Fixed detect strong type requirements for nested deployments. #1235
What's changed since v1.12.0:
- Bug fixes:
- Fixed Bicep already exists with PSRule v2. #1232
What's changed since v1.11.1:
- New rules:
- Data Explorer:
- Event Hub:
- Azure Recovery Services Vault:
- Check vaults use geo-redundant storage. #5
- Service Bus:
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.Version
to use latest stable version1.21.7
. #1188- Pinned latest GA baseline
Azure.GA_2021_12
to previous version1.20.5
. - Use
AZURE_AKS_CLUSTER_MINIMUM_VERSION
to configure the minimum version of the cluster.
- Pinned latest GA baseline
- Updated
- Azure API Management:
- Check service disabled insecure ciphers. #1128
- Refactored the cipher and protocol rule into individual rules.
Azure.APIM.Protocols
Azure.APIM.Ciphers
- Azure Kubernetes Service:
- General improvements:
- Important change: Replaced
Azure_AKSMinimumVersion
option withAZURE_AKS_CLUSTER_MINIMUM_VERSION
. #941- For compatibility, if
Azure_AKSMinimumVersion
is set it will be used instead ofAZURE_AKS_CLUSTER_MINIMUM_VERSION
. - If only
AZURE_AKS_CLUSTER_MINIMUM_VERSION
is set, this value will be used. - The default will be used neither options are configured.
- If
Azure_AKSMinimumVersion
is set a warning will be generated until the configuration is removed. - Support for
Azure_AKSMinimumVersion
is deprecated and will be removed in v2. - See upgrade notes for details.
- For compatibility, if
- Important change: Replaced
- Bug fixes:
- Fixed false positive of blob container with access unspecified. #1212
What's changed since pre-release v1.12.0-B2201086:
- No additional changes.
What's changed since pre-release v1.12.0-B2201067:
- New rules:
What's changed since pre-release v1.12.0-B2201054:
- New rules:
- Bug fixes:
- Fixed false positive of blob container with access unspecified. #1212
What's changed since v1.11.1:
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.Version
to use latest stable version1.21.7
. #1188- Pinned latest GA baseline
Azure.GA_2021_12
to previous version1.20.5
. - Use
AZURE_AKS_CLUSTER_MINIMUM_VERSION
to configure the minimum version of the cluster.
- Pinned latest GA baseline
- Updated
- Azure API Management:
- Check service disabled insecure ciphers. #1128
- Refactored the cipher and protocol rule into individual rules.
Azure.APIM.Protocols
Azure.APIM.Ciphers
- Azure Kubernetes Service:
- General improvements:
- Important change: Replaced
Azure_AKSMinimumVersion
option withAZURE_AKS_CLUSTER_MINIMUM_VERSION
. #941- For compatibility, if
Azure_AKSMinimumVersion
is set it will be used instead ofAZURE_AKS_CLUSTER_MINIMUM_VERSION
. - If only
AZURE_AKS_CLUSTER_MINIMUM_VERSION
is set, this value will be used. - The default will be used neither options are configured.
- If
Azure_AKSMinimumVersion
is set a warning will be generated until the configuration is removed. - Support for
Azure_AKSMinimumVersion
is deprecated and will be removed in v2. - See upgrade notes for details.
- For compatibility, if
- Important change: Replaced
What's changed since v1.11.0:
- Bug fixes:
- Fixed
Azure.AKS.CNISubnetSize
rule to use CNI selector. #1178
- Fixed
What's changed since v1.10.4:
- New features:
- Added baselines containing only Azure preview features. #1129
- Added baseline
Azure.Preview_2021_09
. - Added baseline
Azure.Preview_2021_12
.
- Added baseline
- Added
Azure.GA_2021_12
baseline. #1146- Includes rules released before or during December 2021 for Azure GA features.
- Marked baseline
Azure.GA_2021_09
as obsolete.
- Bicep support promoted from experimental to generally available (GA). #1176
- Added baselines containing only Azure preview features. #1129
- New rules:
- All resources:
- Check comments for each template resource. #969
- Automation Account:
- Automation accounts should enable diagnostic logs. #1075
- Azure Kubernetes Service:
- Azure Redis Cache:
- Use availability zones for Azure Cache for Redis for regions that support it. #1078
Azure.Redis.AvailabilityZone
Azure.RedisEnterprise.Zones
- Use availability zones for Azure Cache for Redis for regions that support it. #1078
- Application Security Group:
- Check Application Security Groups meet naming requirements. #1110
- Firewall:
- Private Endpoint:
- Check Private Endpoints meet naming requirements. #1110
- Virtual WAN:
- Check Virtual WANs meet naming requirements. #1110
- All resources:
- Updated rules:
- Azure Kubernetes Service:
- Promoted
Azure.AKS.AutoUpgrade
to GA rule set. #1130
- Promoted
- Azure Kubernetes Service:
- General improvements:
- Engineering:
- Rule refactoring of rules from PowerShell to YAML. #1109
- The following rules were refactored:
Azure.LB.Name
Azure.NSG.Name
Azure.Firewall.Mode
Azure.Route.Name
Azure.VNET.Name
Azure.VNG.Name
Azure.VNG.ConnectionName
Azure.AppConfig.SKU
Azure.AppConfig.Name
Azure.AppInsights.Workspace
Azure.AppInsights.Name
Azure.Cosmos.AccountName
Azure.FrontDoor.State
Azure.FrontDoor.Name
Azure.FrontDoor.WAF.Mode
Azure.FrontDoor.WAF.Enabled
Azure.FrontDoor.WAF.Name
Azure.AKS.MinNodeCount
Azure.AKS.ManagedIdentity
Azure.AKS.StandardLB
Azure.AKS.AzurePolicyAddOn
Azure.AKS.ManagedAAD
Azure.AKS.AuthorizedIPs
Azure.AKS.LocalAccounts
Azure.AKS.AzureRBAC
- The following rules were refactored:
- Rule refactoring of rules from PowerShell to YAML. #1109
- Bug fixes:
- Fixed output of Bicep informational and warning messages in error stream. #1157
What's changed since pre-release v1.11.0-B2112112:
- New features:
- Bicep support promoted from experimental to generally available (GA). #1176
What's changed since pre-release v1.11.0-B2112104:
- New rules:
- Azure Redis Cache:
- Use availability zones for Azure Cache for Redis for regions that support it. #1078
Azure.Redis.AvailabilityZone
Azure.RedisEnterprise.Zones
- Use availability zones for Azure Cache for Redis for regions that support it. #1078
- Azure Redis Cache:
What's changed since pre-release v1.11.0-B2112073:
- New rules:
- Azure Kubernetes Service:
- Check clusters use Azure AD Pod Managed Identities (preview). #991
- Azure Kubernetes Service:
- Engineering:
- Rule refactoring of rules from PowerShell to YAML. #1109
- The following rules were refactored:
Azure.AppConfig.SKU
Azure.AppConfig.Name
Azure.AppInsights.Workspace
Azure.AppInsights.Name
Azure.Cosmos.AccountName
Azure.FrontDoor.State
Azure.FrontDoor.Name
Azure.FrontDoor.WAF.Mode
Azure.FrontDoor.WAF.Enabled
Azure.FrontDoor.WAF.Name
Azure.AKS.MinNodeCount
Azure.AKS.ManagedIdentity
Azure.AKS.StandardLB
Azure.AKS.AzurePolicyAddOn
Azure.AKS.ManagedAAD
Azure.AKS.AuthorizedIPs
Azure.AKS.LocalAccounts
Azure.AKS.AzureRBAC
- The following rules were refactored:
- Rule refactoring of rules from PowerShell to YAML. #1109
- Bug fixes:
What's changed since pre-release v1.11.0-B2112024:
- New features:
- Added baselines containing only Azure preview features. #1129
- Added baseline
Azure.Preview_2021_09
. - Added baseline
Azure.Preview_2021_12
.
- Added baseline
- Added
Azure.GA_2021_12
baseline. #1146- Includes rules released before or during December 2021 for Azure GA features.
- Marked baseline
Azure.GA_2021_09
as obsolete.
- Added baselines containing only Azure preview features. #1129
- New rules:
- All resources:
- Check comments for each template resource. #969
- All resources:
- Bug fixes:
What's changed since pre-release v1.11.0-B2111014:
- New rules:
- Azure Kubernetes Service:
- Automation Account:
- Automation accounts should enable diagnostic logs. #1075
- Updated rules:
- Azure Kubernetes Service:
- Promoted
Azure.AKS.AutoUpgrade
to GA rule set. #1130
- Promoted
- Azure Kubernetes Service:
- General improvements:
- Bug fixes:
- Fixed
Azure.Policy.WaiverExpiry
date conversion. #1118
- Fixed
What's changed since v1.10.0:
- New rules:
- Engineering:
- Rule refactoring of rules from PowerShell to YAML. #1109
- The following rules were refactored:
Azure.LB.Name
Azure.NSG.Name
Azure.Firewall.Mode
Azure.Route.Name
Azure.VNET.Name
Azure.VNG.Name
Azure.VNG.ConnectionName
- The following rules were refactored:
- Rule refactoring of rules from PowerShell to YAML. #1109
What's changed since v1.10.3:
- Bug fixes:
- Fixed outer copy loop of nested deployment. #1154
What's changed since v1.10.2:
- Bug fixes:
- Fixed copy loop on nested deployment parameters is not handled. #1144
What's changed since v1.10.1:
- Bug fixes:
- Fixed template function
equals
parameter count mismatch. #1137
- Fixed template function
What's changed since v1.10.0:
- Bug fixes:
- Fixed
Azure.Policy.WaiverExpiry
date conversion. #1118
- Fixed
What's changed since v1.9.1:
- New features:
- Added support for parameter strong types. #1083
- The value of string parameters can be tested against the expected type.
- When configuring a location strong type, the parameter value must be a valid Azure location.
- When configuring a resource type strong type, the parameter value must be a matching resource Id.
- Added support for parameter strong types. #1083
- New rules:
- General improvements:
- Updated default baseline to use module configuration. #1089
- Engineering:
- Bug fixes:
What's changed since pre-release v1.10.0-B2111081:
- No additional changes.
What's changed since pre-release v1.10.0-B2111072:
- New rules:
- Automation Service:
- Automation accounts should use managed identities for authentication. #1074
- Automation Service:
What's changed since pre-release v1.10.0-B2111058:
- New rules:
- All resources:
- Check template expressions do not exceed a maximum length. #1006
- All resources:
- Bug fixes:
What's changed since pre-release v1.10.0-B2111040:
- New rules:
- General improvements:
- Updated default baseline to use module configuration. #1089
What's changed since v1.9.1:
- New features:
- Added support for parameter strong types. #1083
- The value of string parameters can be tested against the expected type.
- When configuring a location strong type, the parameter value must be a valid Azure location.
- When configuring a resource type strong type, the parameter value must be a matching resource Id.
- Added support for parameter strong types. #1083
- Engineering:
What's changed since v1.9.0:
- Bug fixes:
What's changed since v1.8.1:
- New rules:
- API Management Service:
- Check API management services are using availability zones when available. #1017
- Public IP Address:
- User Assigned Managed Identity:
- Check identities meet naming requirements. #1021
- Virtual Network Gateway:
- Check VPN/ExpressRoute gateways are configured with availability zone SKU. #926
- API Management Service:
- General improvements:
- Engineering:
- Bug fixes:
- Fixed AKS Network Policy should accept calico. #1046
- Fixed
Azure.ACR.AdminUser
fails whenadminUserEnabled
not set. #1014 - Fixed
Azure.KeyVault.Logs
reports cannot index into a null array. #1024 - Fixed template function empty returns object reference not set exception. #1025
- Fixed delayed binding of
and
template function. #1026 - Fixed template function array nests array with array parameters. #1027
- Fixed property used by
Azure.ACR.MinSKU
to work more reliably with templates. #1034 - Fixed could not determine JSON object type for MockMember using CreateObject. #1035
- Fixed Bicep convention ordering. #1053
What's changed since pre-release v1.9.0-B2110087:
- No additional changes.
What's changed since pre-release v1.9.0-B2110082:
- Bug fixes:
- Fixed Bicep convention ordering. #1053
What's changed since pre-release v1.9.0-B2110059:
- General improvements:
- Bicep is now installed when using PSRule GitHub Action. #1050
- Engineering:
- Added automated PR workflow to bump
providers.json
monthly. #1041
- Added automated PR workflow to bump
- Bug fixes:
- Fixed AKS Network Policy should accept calico. #1046
What's changed since pre-release v1.9.0-B2110040:
- New rules:
- API Management Service:
- Check API management services are using availability zones when available. #1017
- API Management Service:
- Bug fixes:
What's changed since pre-release v1.9.0-B2110025:
- New rules:
- User Assigned Managed Identity:
- Check identities meet naming requirements. #1021
- User Assigned Managed Identity:
- Bug fixes:
What's changed since pre-release v1.9.0-B2110014:
- Engineering:
- Bump PSRule dependency to v1.8.0. #1018
- Bug fixes:
- Fixed
Azure.ACR.AdminUser
fails whenadminUserEnabled
not set. #1014
- Fixed
What's changed since pre-release v1.9.0-B2110009:
- Bug fixes:
What's changed since pre-release v1.9.0-B2109027:
- Bug fixes:
What's changed since v1.8.0:
- New rules:
- General improvements:
- Improved processing of AzOps generated templates. #799
Azure.Template.DefineParameters
is ignored for AzOps generated templates.Azure.Template.UseLocationParameter
is ignored for AzOps generated templates.
- Improved processing of AzOps generated templates. #799
- Bug fixes:
- Fixed
ToUpper
fails to convert character. #986
- Fixed
What's changed since v1.8.0:
- Bug fixes:
- Fixed handling of comments with template and parameter file rules. #996
- Fixed
Azure.Template.UseLocationParameter
to only apply to templates deployed as RG scope #995 - Fixed expand template fails with
createObject
when no parameters are specified. #1000 - Fixed
ToUpper
fails to convert character. #986 - Fixed expression out of range of valid values. #1005
- Fixed template expand fails in nested reference expansion. #1007
What's changed since v1.7.0:
- New features:
- Added
Azure.GA_2021_09
baseline. #961- Includes rules released before or during September 2021 for Azure GA features.
- Marked baseline
Azure.GA_2021_06
as obsolete.
- Added
- New rules:
- Application Gateway:
- Check App Gateways should use availability zones when available. Thanks @ArmaanMcleod. #928
- Azure Kubernetes Service:
- Check clusters have control plane audit logs enabled. Thanks @ArmaanMcleod. #882
- Check clusters have control plane diagnostics enabled. Thanks @ArmaanMcleod. #922
- Check clusters use Container Insights for monitoring workloads. Thanks @ArmaanMcleod. #881
- Check clusters use availability zones when available. Thanks @ArmaanMcleod. #880
- Cosmos DB:
- Load Balancer:
- Check Load balancers are using Standard SKU. Thanks @ArmaanMcleod. #957
- Check Load Balancers are configured with zone-redundancy. Thanks @ArmaanMcleod. #927
- Application Gateway:
- Engineering:
- Bump PSRule dependency to v1.7.2. #951
- Automated update of availability zone information in providers.json. #907
- Increased test coverage of rule reasons. Thanks @ArmaanMcleod. #960
- Bug fixes:
- Fixed export of in-flight AKS related subnets for kubenet clusters. Thanks @ArmaanMcleod. #920
- Fixed plan instance count is not applicable to Elastic Premium plans. #946
- Fixed minimum App Service Plan fails Elastic Premium plans. #945
- Fixed App Service Plan should include PremiumV3 plan. #944
- Fixed Azure.VM.NICAttached with private endpoints. #932
- Fixed Bicep CLI fails with unexpected end of content. #889
- Fixed incomplete reason message for
Azure.Storage.MinTLS
. #971 - Fixed false positive of
Azure.Storage.UseReplication
with large file storage. #965
What's changed since pre-release v1.8.0-B2109060:
- No additional changes.
What's changed since pre-release v1.8.0-B2109060:
- New rules:
- Load Balancer:
- Check Load balancers are using Standard SKU. Thanks @ArmaanMcleod. #957
- Load Balancer:
- Engineering:
- Increased test coverage of rule reasons. Thanks @ArmaanMcleod. #960
- Bug fixes:
What's changed since pre-release v1.8.0-B2109046:
- New features:
- Added
Azure.GA_2021_09
baseline. #961- Includes rules released before or during September 2021 for Azure GA features.
- Marked baseline
Azure.GA_2021_06
as obsolete.
- Added
- New rules:
- Load Balancer:
- Check Load Balancers are configured with zone-redundancy. Thanks @ArmaanMcleod. #927
- Load Balancer:
What's changed since pre-release v1.8.0-B2109020:
- New rules:
- Application Gateway:
- Check App Gateways should use availability zones when available. Thanks @ArmaanMcleod. #928
- Cosmos DB:
- Application Gateway:
- Bug fixes:
- Engineering:
- Bump PSRule dependency to v1.7.2. #951
What's changed since pre-release v1.8.0-B2108026:
- New rules:
- Azure Kubernetes Service:
- Check clusters have control plane audit logs enabled. Thanks @ArmaanMcleod. #882
- Check clusters have control plane diagnostics enabled. Thanks @ArmaanMcleod. #922
- Azure Kubernetes Service:
- Engineering:
- Bump PSRule dependency to v1.7.0. #938
What's changed since pre-release v1.8.0-B2108013:
- New rules:
- Azure Kubernetes Service:
- Check clusters use Container Insights for monitoring workloads. Thanks @ArmaanMcleod. #881
- Azure Kubernetes Service:
- Bug fixes:
- Fixed export of in-flight AKS related subnets for kubenet clusters. Thanks @ArmaanMcleod. #920
What's changed since v1.7.0:
- New rules:
- Azure Kubernetes Service:
- Check clusters use availability zones when available. Thanks @ArmaanMcleod. #880
- Azure Kubernetes Service:
- Engineering:
What's changed since v1.6.0:
- New rules:
- All resources:
- Check template parameter files use metadata links. #846
- Configure the
AZURE_PARAMETER_FILE_METADATA_LINK
option to enable this rule.
- Configure the
- Check template files use a recent schema. #845
- Check template files use a https schema scheme. #894
- Check template parameter files use a https schema scheme. #894
- Check template parameters set a value. #896
- Check template parameters use a valid secret reference. #897
- Check template parameter files use metadata links. #846
- Azure Kubernetes Service:
- Check clusters using Azure CNI should use large subnets. Thanks @ArmaanMcleod. #273
- Check clusters use auto-scale node pools. Thanks @ArmaanMcleod. #218
- By default, a minimum of a
/23
subnet is required. - Configure
AZURE_AKS_CNI_MINIMUM_CLUSTER_SUBNET_SIZE
to change the default minimum subnet size.
- By default, a minimum of a
- Storage Account:
- Check Storage Accounts only accept explicitly allowed network traffic. #884
- All resources:
- Updated rules:
- Virtual Network:
- Excluded
AzureFirewallManagementSubnet
fromAzure.VNET.UseNSGs
. #869
- Excluded
- Virtual Network:
- General improvements:
- Added version information to bicep compilation exceptions. #903
- Engineering:
- Bump PSRule dependency to v1.6.0. #871
- Bug fixes:
What's changed since pre-release v1.7.0-B2108059:
- No additional changes.
What's changed since pre-release v1.7.0-B2108049:
- General improvements:
- Added version information to bicep compilation exceptions. #903
- Bug fixes:
- Fixed
Azure.Template.ParameterValue
failing on empty value. #901
- Fixed
What's changed since pre-release v1.7.0-B2108040:
- New rules:
- Bug fixes:
- Fixed DateTimeAdd function and tests within timezones with DST. #891
What's changed since pre-release v1.7.0-B2108020:
- New rules:
- All resources:
- Check template parameter files use metadata links. #846
- Configure the
AZURE_PARAMETER_FILE_METADATA_LINK
option to enable this rule.
- Configure the
- Check template parameter files use metadata links. #846
- Azure Kubernetes Service:
- Check clusters using Azure CNI should use large subnets. Thanks @ArmaanMcleod. #273
- By default, a minimum of a
/23
subnet is required. - Configure
AZURE_AKS_CNI_MINIMUM_CLUSTER_SUBNET_SIZE
to change the default minimum subnet size.
- By default, a minimum of a
- Check clusters using Azure CNI should use large subnets. Thanks @ArmaanMcleod. #273
- Storage Account:
- Check Storage Accounts only accept explicitly allowed network traffic. #884
- All resources:
What's changed since v1.6.0:
- New rules:
- Azure Kubernetes Service:
- Check clusters use auto-scale node pools. Thanks @ArmaanMcleod. #218
- Azure Kubernetes Service:
- Updated rules:
- Virtual Network:
- Excluded
AzureFirewallManagementSubnet
fromAzure.VNET.UseNSGs
. #869
- Excluded
- Virtual Network:
- Engineering:
- Bump PSRule dependency to v1.6.0. #871
What's changed since v1.5.1:
- New features:
- Experimental: Added support for expansion from Bicep source files. #848 #670 #858
- Bicep support is currently experimental.
- To opt-in set the
AZURE_BICEP_FILE_EXPANSION
configuration totrue
. - For more information see Using Bicep.
- Experimental: Added support for expansion from Bicep source files. #848 #670 #858
- New rules:
- Application Gateways:
- Check Application Gateways publish endpoints by HTTPS. #841
- Application Gateways:
- Engineering:
- Bump PSRule dependency to v1.5.0. #832
- Migration of Pester v4 tests to Pester v5. Thanks @ArmaanMcleod. #395
What's changed since pre-release v1.6.0-B2108038:
- Bug fixes:
- Fixed Bicep expand creates deadlock and times out. #863
What's changed since pre-release v1.6.0-B2108023:
- Bug fixes:
- Fixed Bicep expand hangs analysis. #858
What's changed since pre-release v1.6.0-B2107028:
- New features:
- Experimental: Added support for expansion from Bicep source files. #848 #670
- Bicep support is currently experimental.
- To opt-in set the
AZURE_BICEP_FILE_EXPANSION
configuration totrue
. - For more information see Using Bicep.
- Experimental: Added support for expansion from Bicep source files. #848 #670
What's changed since v1.5.1:
- New rules:
- Application Gateways:
- Check Application Gateways publish endpoints by HTTPS. #841
- Application Gateways:
- Engineering:
- Bump PSRule dependency to v1.5.0. #832
What's changed since v1.5.0:
- Bug fixes:
- Fixed rule does not detect more restrictive NSG rules. #831
What's changed since v1.4.1:
- New features:
- Added
Azure.GA_2021_06
baseline. #822- Includes rules released before or during June 2021 for Azure GA features.
- Marked baseline
Azure.GA_2021_03
as obsolete.
- Added
- New rules:
- General improvements:
- Engineering:
- Bug fixes:
- Fixed detection of parameters and variables with line breaks. #811
What's changed since pre-release v1.5.0-B2107002:
- No additional changes.
What's changed since pre-release v1.5.0-B2106018:
- New features:
- Added
Azure.GA_2021_06
baseline. #822- Includes rules released before or during June 2021 for Azure GA features.
- Marked baseline
Azure.GA_2021_03
as obsolete.
- Added
- General improvements:
- Updated rule help to use docs pages for online version. #824
- Engineering:
What's changed since v1.4.1:
- New rules:
- General improvements:
- Exclude not applicable rules for templates generated with Bicep and PSArm. #815
- Engineering:
- Bug fixes:
- Fixed detection of parameters and variables with line breaks. #811
What's changed since v1.4.0:
- Bug fixes:
What's changed since v1.3.2:
- New features:
- Automatically expand template from parameter files for analysis. #772
- Previously templates needed to be exported with
Export-AzRuleTemplateData
. - To export template data automatically use PSRule cmdlets with
-Format File
.
- Previously templates needed to be exported with
- Automatically expand template from parameter files for analysis. #772
- New rules:
- Cognitive Search:
- Azure Kubernetes Service:
- Check clusters use AKS-managed Azure AD integration. #436
- Check clusters have local account disabled (preview). #786
- Check clusters have an auto-upgrade channel set (preview). #787
- Check clusters limit access network access to the API server. #788
- Check clusters used Azure RBAC for Kubernetes authorization. #789
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.Version
to 1.20.5. #767
- Updated
- Azure Kubernetes Service:
- General improvements:
- Automatically nest template sub-resources for analysis. #746
- Sub-resources such as diagnostic logs or configurations are automatically nested.
- Automatic nesting a resource requires:
- The parent resource is defined in the same template.
- The sub-resource depends on the parent resource.
- Added support for source location references to template files. #781
- Output includes source location to resources exported from a templates.
- Automatically nest template sub-resources for analysis. #746
- Bug fixes:
- Engineering:
- Added source link to project. #783
What's changed since pre-release v1.4.0-B2105057:
- No additional changes.
What's changed since pre-release v1.4.0-B2105050:
- New rules:
- Azure Kubernetes Service:
- Check clusters use AKS-managed Azure AD integration. #436
- Check clusters have local account disabled (preview). #786
- Check clusters have an auto-upgrade channel set (preview). #787
- Check clusters limit access network access to the API server. #788
- Check clusters used Azure RBAC for Kubernetes authorization. #789
- Azure Kubernetes Service:
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.Version
to 1.20.5. #767
- Updated
- Azure Kubernetes Service:
- Engineering:
- Added source link to project. #783
What's changed since pre-release v1.4.0-B2105044:
- General improvements:
- Added support for source location references to template files. #781
- Output includes source location to resources exported from a templates.
- Added support for source location references to template files. #781
What's changed since pre-release v1.4.0-B2105027:
- New features:
- Automatically expand template from parameter files for analysis. #772
- Previously templates needed to be exported with
Export-AzRuleTemplateData
. - To export template data automatically use PSRule cmdlets with
-Format File
.
- Previously templates needed to be exported with
- Automatically expand template from parameter files for analysis. #772
- Bug fixes:
What's changed since pre-release v1.4.0-B2105020:
- New rules:
What's changed since v1.3.2:
- General improvements:
- Automatically nest template sub-resources for analysis. #746
- Sub-resources such as diagnostic logs or configurations are automatically nested.
- Automatic nesting a resource requires:
- The parent resource is defined in the same template.
- The sub-resource depends on the parent resource.
- Automatically nest template sub-resources for analysis. #746
What's changed since v1.3.1:
- Bug fixes:
- Fixed rule reason reported the parameter inputObject is null. #753
What's changed since v1.3.0:
What's changed since v1.2.1:
- New rules:
- Removed rules:
- Storage:
- Remove
Azure.Storage.UseEncryption
as Storage Service Encryption (SSE) is always on. #630- SSE is on by default and can not be disabled.
- Remove
- Storage:
- General improvements:
- Engineering:
- Bug fixes:
- Fixed could not load file or assembly YamlDotNet. #741
- This fix pins the PSRule version to v1.2.0 until the next stable release of PSRule for Azure.
- Fixed could not load file or assembly YamlDotNet. #741
What's changed since pre-release v1.3.0-B2104040:
- No additional changes.
What's changed since pre-release v1.3.0-B2104034:
- Bug fixes:
- Fixed could not load file or assembly YamlDotNet. #741
- This fix pins the PSRule version to v1.2.0 until the next stable release of PSRule for Azure.
- Fixed could not load file or assembly YamlDotNet. #741
What's changed since pre-release v1.3.0-B2104023:
- New rules:
- Engineering:
What's changed since pre-release v1.3.0-B2104013:
- General improvements:
What's changed since pre-release v1.3.0-B2103007:
- Engineering:
- Bump PSRule dependency to v1.2.0. #713
- Bug fixes:
- Fixed export not expanding nested deployments. #715
What's changed since v1.2.0:
- Removed rules:
- Storage:
- Remove
Azure.Storage.UseEncryption
as Storage Service Encryption (SSE) is always on. #630- SSE is on by default and can not be disabled.
- Remove
- Storage:
- General improvements:
- Additional metadata added in parameter files is passed through with
Get-AzRuleTemplateLink
. #706
- Additional metadata added in parameter files is passed through with
What's changed since v1.2.0:
- Bug fixes:
- Fixed export not expanding nested deployments. #715
What's changed since v1.1.4:
- New features:
- Added
Azure.GA_2021_03
baseline. #673- Includes rules released before or during March 2021 for Azure GA features.
- Marked baseline
Azure.GA_2020_12
as obsolete.
- Added
- New rules:
- Key Vault:
- Check vaults, keys, and secrets meet name requirements. #646
- Key Vault:
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.Version
to 1.19.7. #696
- Updated
- Azure Kubernetes Service:
- General improvements:
- Added support for user defined functions in templates. #682
- Engineering:
- Bump PSRule dependency to v1.1.0. #692
What's changed since pre-release v1.2.0-B2103044:
- No additional changes.
What's changed since pre-release v1.2.0-B2103032:
- New features:
- Added
Azure.GA_2021_03
baseline. #673- Includes rules released before or during March 2021 for Azure GA features.
- Marked baseline
Azure.GA_2020_12
as obsolete.
- Added
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.Version
to 1.19.7. #696
- Updated
- Azure Kubernetes Service:
What's changed since pre-release v1.2.0-B2103024:
- New rules:
- Key Vault:
- Check vaults, keys, and secrets meet name requirements. #646
- Key Vault:
- Engineering:
- Bump PSRule dependency to v1.1.0. #692
What's changed since v1.1.4:
- General improvements:
- Added support for user defined functions in templates. #682
What's changed since v1.1.3:
- Bug fixes:
What's changed since v1.1.2:
- Bug fixes:
- Fixed parsing of property names for functions across multiple lines. #683
What's changed since v1.1.1:
- Bug fixes:
What's changed since v1.1.0:
- Bug fixes:
- Fixed support for parameter file schemas. #674
What's changed since v1.0.0:
- New features:
- Exporting template with
Export-AzRuleTemplateData
supports custom resource group and subscription. #651- Subscription and resource group used for deployment can be specified instead of using defaults.
ResourceGroupName
parameter ofExport-AzRuleTemplateData
has been renamed toResourceGroup
.- Added a parameter alias for
ResourceGroupName
onExport-AzRuleTemplateData
.
- Exporting template with
- New rules:
- All resources:
- Check template parameters are defined. #631
- Check location parameter is type string. #632
- Check template parameter
minValue
andmaxValue
constraints are valid. #637 - Check template resources do not use hard coded locations. #633
- Check resource group location not referenced instead of location parameter. #634
- Check increased debug detail is disabled for nested deployments. #638
- All resources:
- General improvements:
- Added support for matching template by name. #661
Get-AzRuleTemplateLink
discovers<templateName>.json
from<templateName>.parameters.json
.
- Added support for matching template by name. #661
- Engineering:
- Bump PSRule dependency to v1.0.3. #648
- Bug fixes:
- Fixed
Azure.VM.ADE
to limit rule to exports only. #644 - Fixed
if
condition values evaluation order. #652 - Fixed handling of
int
parameters with large values. #653 - Fixed handling of expressions split over multiple lines. #654
- Fixed handling of bool parameter values within logical expressions. #655
- Fixed copy loop value does not fall within the expected range. #664
- Fixed template comparison functions handling of large integer values. #666
- Fixed handling of
createArray
function with no arguments. #667
- Fixed
What's changed since pre-release v1.1.0-B2102034:
- No additional changes.
What's changed since pre-release v1.1.0-B2102023:
- General improvements:
- Added support for matching template by name. #661
Get-AzRuleTemplateLink
discovers<templateName>.json
from<templateName>.parameters.json
.
- Added support for matching template by name. #661
- Bug fixes:
What's changed since pre-release v1.1.0-B2102015:
- New features:
- Exporting template with
Export-AzRuleTemplateData
supports custom resource group and subscription. #651- Subscription and resource group used for deployment can be specified instead of using defaults.
ResourceGroupName
parameter ofExport-AzRuleTemplateData
has been renamed toResourceGroup
.- Added a parameter alias for
ResourceGroupName
onExport-AzRuleTemplateData
.
- Exporting template with
What's changed since pre-release v1.1.0-B2102010:
- Bug fixes:
What's changed since pre-release v1.1.0-B2102001:
- Engineering:
- Bump PSRule dependency to v1.0.3. #648
- Bug fixes:
- Fixed
Azure.VM.ADE
to limit rule to exports only. #644
- Fixed
What's changed since v1.0.0:
- New rules:
- All resources:
- Check template parameters are defined. #631
- Check location parameter is type string. #632
- Check template parameter
minValue
andmaxValue
constraints are valid. #637 - Check template resources do not use hard coded locations. #633
- Check resource group location not referenced instead of location parameter. #634
- Check increased debug detail is disabled for nested deployments. #638
- All resources:
- Engineering:
- Bump PSRule dependency to v1.0.2. #635
What's changed since v0.19.0:
- New rules:
- All resources:
- Front Door:
- Service Fabric:
- Check Service Fabric clusters use AAD client authentication. #619
- Updated rules:
- Azure Kubernetes Service:
- Updated
Azure.AKS.Version
to 1.19.6. #603
- Updated
- Azure Kubernetes Service:
- General improvements:
- Renamed
Export-AzTemplateRuleData
toExport-AzRuleTemplateData
. #596- New name
Export-AzRuleTemplateData
aligns with prefix of other cmdlets. - Use of
Export-AzTemplateRuleData
is now deprecated and will be removed in the next major version. - Added alias to allow
Export-AzTemplateRuleData
to continue to be used. - Using
Export-AzTemplateRuleData
returns a deprecation warning.
- New name
- Added support for
environment
template function. #517
- Renamed
- Engineering:
- Bump PSRule dependency to v1.0.1. #611
What's changed since pre-release v1.0.0-B2101028:
- No additional changes.
What's changed since pre-release v1.0.0-B2101016:
- New rules:
- All resources:
- Check parameter default value type matches type. #311
- All resources:
- General improvements:
- Renamed
Export-AzTemplateRuleData
toExport-AzRuleTemplateData
. #596- New name
Export-AzRuleTemplateData
aligns with prefix of other cmdlets. - Use of
Export-AzTemplateRuleData
is now deprecated and will be removed in the next major version. - Added alias to allow
Export-AzTemplateRuleData
to continue to be used. - Using
Export-AzTemplateRuleData
returns a deprecation warning.
- New name
- Renamed
What's changed since pre-release v1.0.0-B2101006:
- New rules:
- Service Fabric:
- Check Service Fabric clusters use AAD client authentication. #619
- Service Fabric:
- Bug fixes:
- Fixed reason
Azure.FrontDoor.ProbePath
so the probe name is included. #617
- Fixed reason
What's changed since v0.19.0: