Skip to content

Releases: Azure/PSRule.Rules.Azure

v1.39.1

Choose a tag to compare

@BernieWhite BernieWhite released this 12 Oct 03:45
d8a5b8f

What's changed since v1.39.0:

  • Bug fixes:
    • Fixed GetBicepParamResources exception when expanding Microsoft.Graph/groups resource by @BernieWhite.
      #3062
    • Fixed Azure.AppGw.AvailabilityZone passes when a zonal configuration is used by @BernieWhite.
      #3061
    • Fixed conditional secret as parameter or placeholder by @BernieWhite.
      #2054

See change log.

v1.39.0

Choose a tag to compare

@BernieWhite BernieWhite released this 10 Oct 17:54
25a6389

What's changed since v1.38.0:

  • New features:
    • Added September 2024 baselines Azure.GA_2024_09 and Azure.Preview_2024_09 by @BernieWhite.
      #3048
      • Includes rules released before or during September 2024.
      • Marked Azure.GA_2024_06 and Azure.Preview_2024_06 baselines as obsolete.
  • New rules:
    • Azure Kubernetes Service:
      • Verify that clusters have kube-audit logging disabled when not required by @BenjaminEngeset.
        #2450
      • Verify that clusters have the customer-controlled maintenance windows aksManagedAutoUpgradeSchedule and aksManagedNodeOSUpgradeSchedule configured by @BenjaminEngeset.
        #2444
    • App Service:
    • App Service Environment:
    • Azure SQL Database:
      • Verify that Azure SQL databases have a customer-controlled maintenance window configured by @BenjaminEngeset.
        #2956
    • Azure SQL Managed Instance:
      • Verify that Azure SQL Managed Instances have a customer-controlled maintenance window configured by @BenjaminEngeset.
        #2979
    • Service Bus:
    • Virtual Machine:
    • Virtual Machine Scale Sets:
      • Verify that virtual machine scale set instances does not have public IPs attached by @BenjaminEngeset.
        #3014
    • Virtual Network:
      • Verify that zonal-deployed Azure firewalls uses Azure NAT Gateway for outbound access by @BenjaminEngeset.
        ##3005
      • Verify that subnets have disabled default outbound access for virtual machines by @BenjaminEngeset.
        #3001
  • Updated rules:
    • Azure Kubernetes Service:
      • Updated Azure.AKS.AuditLogs documentation to call out important specific of the kube-audit log by @BernieWhite.
        #2449
      • Updated Azure.AKS.Version to use 1.29.7 as the minimum version by @BernieWhite.
        #3042
    • Container Apps:
      • Updated Azure.ContainerApp.AvailabilityZone to check for infrastructure subnet by @BernieWhite.
        #3068
        • Configuring an infrastructure subnet is a requirement for enabling zone redundancy.
          Both rule and documentation have been updated to clearly call this out.
    • Virtual Network:
      • Updated Azure.VNET.UseNSGs to correctly handle cases for special purpose and customer-excluded subnets by @BenjaminEngeset.
        #3007
  • General improvements:
    • Important change: Replaced the Azure_AKSNodeMinimumMaxPods option with AZURE_AKS_POOL_MINIMUM_MAXPODS by @BernieWhite.
      #941
      • For compatibility, if Azure_AKSNodeMinimumMaxPods is set it will be used instead of AZURE_AKS_POOL_MINIMUM_MAXPODS.
      • If only AZURE_AKS_POOL_MINIMUM_MAXPODS is set, this value will be used.
      • The default will be used neither options are configured.
      • If Azure_AKSNodeMinimumMaxPods is set a warning will be generated until the configuration is removed.
      • Support for Azure_AKSNodeMinimumMaxPods is deprecated and will be removed in v2.
    • Important change: Replaced the Azure_MinimumCertificateLifetime option with AZURE_APIM_MINIMUM_CERTIFICATE_LIFETIME by @BernieWhite.
      #941
      • For compatibility, if Azure_MinimumCertificateLifetime is set it will be used instead of AZURE_APIM_MINIMUM_CERTIFICATE_LIFETIME.
      • If only AZURE_APIM_MINIMUM_CERTIFICATE_LIFETIME is set, this value will be used.
      • The default will be used neither options are configured.
      • If Azure_MinimumCertificateLifetime is set a warning will be generated until the configuration is removed.
      • Support for Azure_MinimumCertificateLifetime is deprecated and will be removed in v2.
    • Add binding configuration to policy as rules docs by @BernieWhite.
      #2995
    • Updated resource providers and policy aliases.
      #3074
  • Engineering:
  • Bug fixed:

What's changed since pre-release v1.39.0-B0249:

  • No additional changes.

See change log.

v1.39.0-B0249

v1.39.0-B0249 Pre-release
Pre-release

Choose a tag to compare

@BernieWhite BernieWhite released this 10 Oct 00:19
c4f067f

What's changed since pre-release v1.39.0-B0182:

  • Bug fixes:

See change log.

v1.39.0-B0182

v1.39.0-B0182 Pre-release
Pre-release

Choose a tag to compare

@BernieWhite BernieWhite released this 04 Oct 15:57
b36b859

What's changed since pre-release v1.39.0-B0118:

  • Updated rules:
    • Container Apps:
      • Updated Azure.ContainerApp.AvailabilityZone to check for infrastructure subnet by @BernieWhite.
        #3068
        • Configuring an infrastructure subnet is a requirement for enabling zone redundancy.
          Both rule and documentation have been updated to clearly call this out.
  • General improvements:
    • Updated resource providers and policy aliases.
      #3074
  • Engineering:
  • Bug fixes:
    • Fixed TLS defaults for Azure.Redis.MinTLS and Azure.RedisEnterprise.MinTLS by @BernieWhite.
      #3066

See change log.

v1.39.0-B0118

v1.39.0-B0118 Pre-release
Pre-release

Choose a tag to compare

@BernieWhite BernieWhite released this 19 Sep 17:17
7699d5e

What's changed since pre-release v1.39.0-B0072:

  • New features:
    • Added September 2024 baselines Azure.GA_2024_09 and Azure.Preview_2024_09 by @BernieWhite.
      #3048
      • Includes rules released before or during September 2024.
      • Marked Azure.GA_2024_06 and Azure.Preview_2024_06 baselines as obsolete.

See change log.

v1.39.0-B0072

v1.39.0-B0072 Pre-release
Pre-release

Choose a tag to compare

@BernieWhite BernieWhite released this 17 Sep 17:09
f7daccb

What's changed since pre-release v1.39.0-B0029:

  • New rules:
    • Virtual Machine:
    • Virtual Machine Scale Sets:
      • Verify that virtual machine scale set instances does not have public IPs attached by @BenjaminEngeset.
        #3014
  • Updated rules:
    • Azure Kubernetes Service:
      • Updated Azure.AKS.Version to use 1.29.7 as the minimum version by @BernieWhite.
        #3042
  • General improvements:
    • Important change: Replaced the Azure_AKSNodeMinimumMaxPods option with AZURE_AKS_POOL_MINIMUM_MAXPODS by @BernieWhite.
      #941
      • For compatibility, if Azure_AKSNodeMinimumMaxPods is set it will be used instead of AZURE_AKS_POOL_MINIMUM_MAXPODS.
      • If only AZURE_AKS_POOL_MINIMUM_MAXPODS is set, this value will be used.
      • The default will be used neither options are configured.
      • If Azure_AKSNodeMinimumMaxPods is set a warning will be generated until the configuration is removed.
      • Support for Azure_AKSNodeMinimumMaxPods is deprecated and will be removed in v2.
      • See [upgrade notes][1] for details.
    • Important change: Replaced the Azure_MinimumCertificateLifetime option with AZURE_APIM_MINIMUM_CERTIFICATE_LIFETIME by @BernieWhite.
      #941
      • For compatibility, if Azure_MinimumCertificateLifetime is set it will be used instead of AZURE_APIM_MINIMUM_CERTIFICATE_LIFETIME.
      • If only AZURE_APIM_MINIMUM_CERTIFICATE_LIFETIME is set, this value will be used.
      • The default will be used neither options are configured.
      • If Azure_MinimumCertificateLifetime is set a warning will be generated until the configuration is removed.
      • Support for Azure_MinimumCertificateLifetime is deprecated and will be removed in v2.
      • See [upgrade notes][1] for details.
  • Engineering:
  • Bug fixed:

See change log.

v1.39.0-B0029

v1.39.0-B0029 Pre-release
Pre-release

Choose a tag to compare

@BernieWhite BernieWhite released this 07 Aug 23:32
e4dedd8

What's changed since pre-release v1.39.0-B0009:

  • New rules:
    • Azure Kubernetes Service:
      • Verify that clusters have kube-audit logging disabled when not required by @BenjaminEngeset.
        #2450
      • Verify that clusters have the customer-controlled maintenance windows aksManagedAutoUpgradeSchedule and aksManagedNodeOSUpgradeSchedule configured by @BenjaminEngeset.
        #2444
    • Virtual Network:
      • Verify that zonal-deployed Azure firewalls uses Azure NAT Gateway for outbound access by @BenjaminEngeset.
        ##3005
      • Verify that subnets have disabled default outbound access for virtual machines by @BenjaminEngeset.
        #3001
  • Updated rules:
    • Virtual Network:
      • Updated Azure.VNET.UseNSGs to correctly handle cases for special purpose and customer-excluded subnets by @BenjaminEngeset.
        #3007
  • General improvements:

See change log.

v1.39.0-B0009

v1.39.0-B0009 Pre-release
Pre-release

Choose a tag to compare

@BernieWhite BernieWhite released this 16 Jul 03:06
721abad

What's changed since v1.38.0:

  • New rules:
    • App Service:
    • App Service Environment:
    • Azure SQL Database:
      • Verify that Azure SQL databases have a customer-controlled maintenance window configured by @BenjaminEngeset.
        #2956
    • Azure SQL Managed Instance:
      • Verify that Azure SQL Managed Instances have a customer-controlled maintenance window configured by @BenjaminEngeset.
        #2979
    • Service Bus:
  • Engineering:
    • Bump xunit to v2.9.0.
      #2982
    • Bump xunit.runner.visualstudio to v2.8.2.
      #2982

See change log.

v1.38.0

Choose a tag to compare

@BernieWhite BernieWhite released this 07 Jul 11:22
783a85f

What's changed since v1.37.0:

  • New features:
    • Added March 2024 baselines Azure.GA_2024_06 and Azure.Preview_2024_06 by @BernieWhite.
      #2961
      • Includes rules released before or during June 2024.
      • Marked Azure.GA_2024_03 and Azure.Preview_2024_03 baselines as obsolete.
  • 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
    • 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
    • Azure Firewall:
    • Azure Kubernetes Service:
    • Azure Virtual Desktop:
    • Cosmos DB:
    • Virtual Network Gateway:
      • Verify that VPN/ExpressRoute gateways have a customer-controlled maintenance configuration configured by @BenjaminEngeset.
        #2910
    • Virtual Machine Scale Sets:
  • Updated rules:
    • Azure Kubernetes Service:
      • Updated Azure.AKS.Version to use 1.28.9 as the minimum version by @BernieWhite.
        #2930
    • 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.
  • Engineering:
  • 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 to true 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

What's changed since pre-release v1.38.0-B0068:

  • No additional changes.

See change log.

v1.38.0-B0106

v1.38.0-B0106 Pre-release
Pre-release

Choose a tag to compare

@BernieWhite BernieWhite released this 06 Jul 12:19
4b6720a

What's changed since pre-release v1.38.0-B0068:

  • New rules:
  • Bug fixes:

See change log.