PSRule.Rules.Azure

1.12.1

Validate Azure resources and infrastructure as code using PSRule.

This project uses GitHub Issues to track bugs and feature requests. See GitHub project for more information.

Minimum PowerShell version

5.1

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSRule.Rules.Azure -RequiredVersion 1.12.1

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PSRule.Rules.Azure -Version 1.12.1

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Microsoft Corporation. All rights reserved.

Package Details

FileList

  • PSRule.Rules.Azure.nuspec
  • en\Azure.APIM.HTTPEndpoint.md
  • ThirdPartyNotices.txt
  • en\Azure.LB.Probe.md
  • LICENSE
  • en\Azure.Template.MetadataLink.md
  • PSRule.Rules.Azure.psd1
  • en\Azure.APIM.SampleProducts.md
  • PSRule.Rules.Azure.psm1
  • en\Azure.AppGw.Prevention.md
  • Newtonsoft.Json.dll
  • en\Azure.Template.UseVariables.md
  • environments.json
  • en\Azure.AppService.ARRAffinity.md
  • YamlDotNet.dll
  • en\Azure.RBAC.CoAdministrator.md
  • providers.json
  • en\Azure.PostgreSQL.ServerName.md
  • PSRule.Rules.Azure.deps.json
  • en\Azure.AppService.NETVersion.md
  • PSRule.Rules.Azure.dll
  • en\Azure.Automation.AuditLogs.md
  • en\Azure.PostgreSQL.FirewallIPRange.md
  • PSRule.Rules.Azure.pdb
  • en\Azure.APIM.ProductSubscription.md
  • en-AU\about_PSRule_Azure_Metadata_Link.help.txt
  • en\Azure.EventGrid.DisableLocalAuth.md
  • en-AU\PSRule.Rules.Azure-help.xml
  • en\Azure.ACR.Retention.md
  • en-AU\about_PSRule_Azure_Configuration.help.txt
  • en\Azure.SQL.DBName.md
  • rules\Azure.LB.Rule.ps1
  • en\Azure.ADX.SLA.md
  • rules\Azure.Route.Rule.yaml
  • en\Azure.MySQL.MinTLS.md
  • rules\Azure.NSG.Rule.yaml
  • en\Azure.Policy.AssignmentAssignedBy.md
  • rules\Azure.PostgreSQL.Rule.ps1
  • en\Azure.PublicIP.StandardSKU.md
  • rules\Azure.VNG.Rule.yaml
  • en\Azure.PostgreSQL.AllowAzureAccess.md
  • rules\Azure.APIM.Rule.ps1
  • en\Azure.VM.ASMinMembers.md
  • rules\Azure.Subscription.Rule.ps1
  • en\Azure.AKS.AutoUpgrade.md
  • rules\Azure.CDN.Rule.ps1
  • en\Azure.RBAC.PIM.md
  • rules\Azure.Resource.Rule.ps1
  • en\Azure.Resource.UseTags.md
  • rules\Azure.EventHub.Rule.ps1
  • en\Azure.VM.Updates.md
  • rules\Azure.VMSS.Rule.ps1
  • en\Azure.VM.PromoSku.md
  • rules\Azure.AKS.Rule.ps1
  • en\Azure.Firewall.Mode.md
  • rules\Azure.ADX.Rule.yaml
  • en\Azure.VM.NICName.md
  • rules\Azure.DataFactory.Rule.ps1
  • en\Azure.KeyVault.SoftDelete.md
  • rules\Azure.Redis.Rule.ps1
  • en\Azure.PrivateEndpoint.Name.md
  • rules\Azure.VNET.Rule.ps1
  • en\Azure.AKS.SecretStore.md
  • rules\Azure.Policy.Rule.ps1
  • en\Azure.VNG.VPNActiveActive.md
  • rules\Azure.FrontDoor.Rule.ps1
  • en\Azure.ACR.Name.md
  • rules\Azure.TrafficManager.Rule.ps1
  • en\Azure.VM.DiskCaching.md
  • rules\Azure.VM.Rule.ps1
  • en\Azure.ACR.MinSku.md
  • rules\Azure.AppGw.Rule.ps1
  • en\Azure.AppGw.MinSku.md
  • rules\Azure.FrontDoor.Rule.yaml
  • en\Azure.PublicIP.DNSLabel.md
  • rules\Azure.MySQL.Rule.ps1
  • en\Azure.SQL.AllowAzureAccess.md
  • rules\Azure.Firewall.Rule.yaml
  • en\Azure.AKS.StandardLB.md
  • rules\Azure.ASG.Rule.yaml
  • en\Azure.FrontDoor.WAF.Name.md
  • rules\Azure.AKS.Rule.yaml
  • en\Azure.AKS.AuditLogs.md
  • rules\Azure.Identity.Rule.yaml
  • en\Azure.Cosmos.DisableMetadataWrite.md
  • rules\Azure.LB.Rule.yaml
  • en\Azure.VM.Agent.md
  • rules\Azure.AppService.Rule.ps1
  • en\Azure.RBAC.UseGroups.md
  • rules\Azure.Common.Rule.ps1
  • en\Azure.DataFactory.Version.md
  • rules\Azure.ServiceFabric.Rule.ps1
  • en\Azure.FrontDoor.ProbePath.md
  • rules\Azure.SQLMI.Rule.ps1
  • en\Azure.AKS.Name.md
  • rules\Azure.RSV.Rule.ps1
  • en\Azure.PostgreSQL.UseSSL.md
  • rules\Azure.AppInsights.Rule.yaml
  • en\Azure.ACR.ContainerScan.md
  • rules\Conventions.Rule.ps1
  • en\Azure.Storage.BlobAccessType.md
  • rules\Azure.Automation.Rule.yaml
  • en\Azure.FrontDoor.ProbeMethod.md
  • rules\Azure.PrivateEndpoint.Rule.yaml
  • en\Azure.APIM.ProductDescriptors.md
  • rules\Azure.Cosmos.Rule.yaml
  • en\Azure.Storage.Firewall.md
  • rules\Azure.EventHub.Rule.yaml
  • en\Azure.ServiceBus.DisableLocalAuth.md
  • rules\Azure.AppGw.Rule.yaml
  • en\Azure.AKS.AzurePolicyAddOn.md
  • rules\Baseline.Rule.yaml
  • en\Azure.ADX.DiskEncryption.md
  • rules\Azure.Search.Rule.ps1
  • en\Azure.Search.Name.md
  • rules\Azure.Automation.Rule.ps1
  • en\Azure.SQL.FirewallIPRange.md
  • rules\Azure.ServiceBus.Rule.yaml
  • en\Azure.KeyVault.PurgeProtect.md
  • rules\Azure.AppConfig.Rule.yaml
  • en\Azure.Template.TemplateFile.md
  • rules\Azure.vWAN.Rule.yaml
  • en\Azure.VNET.PeerState.md
  • rules\Azure.Storage.Rule.yaml
  • en\Azure.AppService.UseHTTPS.md
  • rules\Azure.Template.Rule.ps1
  • en\Azure.ServiceBus.Usage.md
  • rules\Azure.ACR.Rule.yaml
  • en\Azure.Automation.PlatformLogs.md
  • rules\Azure.Storage.Rule.ps1
  • en\Azure.Storage.BlobPublicAccess.md
  • rules\Azure.SignalR.Rule.ps1
  • en\Azure.AppGw.WAFEnabled.md
  • rules\Azure.ServiceBus.Rule.ps1
  • en\Azure.Template.Resources.md
  • rules\Config.Rule.yaml
  • en\Azure.AppGw.OWASP.md
  • rules\Azure.ACR.Rule.ps1
  • en\Azure.VM.ComputerName.md
  • rules\Azure.PublicIP.Rule.ps1
  • en\Azure.PostgreSQL.FirewallRuleCount.md
  • rules\Azure.EventGrid.Rule.yaml
  • en\Azure.RedisEnterprise.Zones.md
  • rules\Azure.LogicApps.Rule.ps1
  • en\Azure.VM.PublicKey.md
  • rules\Azure.SQL.Rule.ps1
  • en\Azure.AKS.ManagedIdentity.md
  • rules\Azure.VNG.Rule.ps1
  • en\Azure.Automation.ManagedIdentity.md
  • rules\Azure.Policy.Rule.yaml
  • en\Azure.AppGw.AvailabilityZone.md
  • rules\Azure.KeyVault.Rule.ps1
  • en\Azure.FrontDoor.WAF.Enabled.md
  • rules\Azure.VNET.Rule.yaml
  • en\Azure.VM.BasicSku.md
  • rules\Azure.Selector.Rule.yaml
  • en\Azure.KeyVault.Logs.md
  • rules\Azure.NSG.Rule.ps1
  • en\Azure.Storage.SoftDelete.md
  • rules\Azure.ADX.Rule.ps1
  • en\Azure.VNET.UseNSGs.md
  • en\Azure.AppService.ManagedIdentity.md
  • en\Azure.Storage.Name.md
  • en\Azure.TrafficManager.Endpoints.md
  • en\Azure.Resource.AllowedRegions.md
  • en\Azure.Automation.EncryptVariables.md
  • en\Azure.VNG.Name.md
  • en\Azure.CDN.MinTLS.md
  • en\Azure.SQL.ThreatDetection.md
  • en\Azure.APIM.AvailabilityZone.md
  • en\Azure.VNET.Name.md
  • en\Azure.VNET.LocalDNS.md
  • en\Azure.Policy.ExemptionDescriptors.md
  • en\Azure.Identity.UserAssignedName.md
  • en\Azure.AKS.SecretStoreRotation.md
  • en\Azure.RBAC.LimitMGDelegation.md
  • en\Azure.Storage.MinTLS.md
  • en\Azure.ADX.ManagedIdentity.md
  • en\Azure.APIM.EncryptValues.md
  • en\Azure.PublicIP.Name.md
  • en\Azure.AppInsights.Name.md
  • en\Azure.VM.Standalone.md
  • en\Azure.AppService.MinTLS.md
  • en\Azure.Template.UseComments.md
  • en\Azure.MySQL.UseSSL.md
  • en\Azure.APIM.Protocols.md
  • en\Azure.Redis.MinSKU.md
  • en\Azure.Template.LocationType.md
  • en\Azure.VM.Name.md
  • en\Azure.AKS.AzureRBAC.md
  • en\Azure.LogicApp.LimitHTTPTrigger.md
  • en\Azure.VNG.VPNAvailabilityZoneSKU.md
  • en\Azure.AKS.CNISubnetSize.md
  • en\Azure.SQLMI.Name.md
  • en\Azure.AppService.PlanInstanceCount.md
  • en\Azure.AppService.AlwaysOn.md
  • en\Azure.SecurityCenter.Provisioning.md
  • en\Azure.VNET.SingleDNS.md
  • en\Azure.Template.DefineParameters.md
  • en\Azure.Storage.SecureTransfer.md
  • en\Azure.VM.ASName.md
  • en\Azure.AppGw.UseWAF.md
  • en\Azure.ACR.AdminUser.md
  • en\Azure.AKS.NodeMinPods.md
  • en\Azure.NSG.Associated.md
  • en\Azure.FrontDoor.Logs.md
  • en\Azure.FrontDoor.MinTLS.md
  • en\Azure.Template.ParameterMinMaxValue.md
  • en\Azure.MySQL.ServerName.md
  • en\Azure.Template.LocationDefault.md
  • en\Azure.ACR.ContentTrust.md
  • en\Azure.Template.ParameterMetadata.md
  • en\Azure.AppConfig.Name.md
  • en\Azure.APIM.Ciphers.md
  • en\Azure.AKS.AvailabilityZone.md
  • en\Azure.NSG.DenyAllInbound.md
  • en\Azure.VM.UseHybridUseBenefit.md
  • en\Azure.VNG.VPNLegacySKU.md
  • en\Azure.Template.ValidSecretRef.md
  • en\Azure.PublicIP.AvailabilityZone.md
  • en\PSRule-rules.psd1
  • en\Azure.AppConfig.SKU.md
  • en\Azure.VM.PPGName.md
  • en\Azure.ACR.Quarantine.md
  • en\module.md
  • en\Azure.VM.NICAttached.md
  • en\Azure.VNG.ConnectionName.md
  • en\Azure.Search.ManagedIdentity.md
  • en\Azure.SecurityCenter.Contact.md
  • en\Azure.AKS.PlatformLogs.md
  • en\Azure.AKS.PodIdentity.md
  • en\Azure.ACR.ImageHealth.md
  • en\Azure.VM.UseManagedDisks.md
  • en\Azure.APIM.CertificateExpiry.md
  • en\Azure.AKS.Version.md
  • en\Azure.KeyVault.Name.md
  • en\Azure.PostgreSQL.MinTLS.md
  • en\Azure.PublicIP.IsAttached.md
  • en\Azure.FrontDoor.State.md
  • en\Azure.Template.DebugDeployment.md
  • en\Azure.KeyVault.KeyName.md
  • en\Azure.AppGw.MinInstance.md
  • en\Azure.Monitor.ServiceHealth.md
  • en\Azure.KeyVault.SecretName.md
  • en\Azure.RBAC.UseRGDelegation.md
  • en\Azure.FrontDoor.UseWAF.md
  • en\Azure.Template.TemplateSchema.md
  • en\Azure.AppService.MinPlan.md
  • en\Azure.TrafficManager.Protocol.md
  • en\Azure.AppService.HTTP2.md
  • en\Azure.Template.UseParameters.md
  • en\Azure.VM.DiskAttached.md
  • en\Azure.VMSS.ComputerName.md
  • en\Azure.EventGrid.ManagedIdentity.md
  • en\Azure.EventGrid.TopicPublicAccess.md
  • en\Azure.Storage.UseReplication.md
  • en\Azure.VM.DiskSizeAlignment.md
  • en\Azure.NSG.AnyInboundSource.md
  • en\Azure.VNET.SubnetName.md
  • en\Azure.LB.StandardSKU.md
  • en\Azure.APIM.APIDescriptors.md
  • en\Azure.Search.SKU.md
  • en\Azure.CDN.EndpointName.md
  • en\Azure.SignalR.Name.md
  • en\Azure.NSG.LateralTraversal.md
  • en\Azure.Template.UseLocationParameter.md
  • en\Azure.APIM.ProductTerms.md
  • en\Azure.LB.AvailabilityZone.md
  • en\Azure.Template.ParameterFile.md
  • en\Azure.AKS.HttpAppRouting.md
  • en\Azure.SQL.Auditing.md
  • en\Azure.VM.AcceleratedNetworking.md
  • en\Azure.AKS.MinNodeCount.md
  • en\Azure.ServiceFabric.AAD.md
  • en\Azure.NSG.Name.md
  • en\Azure.MySQL.FirewallIPRange.md
  • en\Azure.Template.TemplateScheme.md
  • en\Azure.RBAC.LimitOwner.md
  • en\Azure.Redis.NonSslPort.md
  • en\Azure.AKS.DNSPrefix.md
  • en\Azure.AppGw.UseHTTPS.md
  • en\Azure.AKS.NetworkPolicy.md
  • en\Azure.ADX.Usage.md
  • en\Azure.AppInsights.Workspace.md
  • en\Azure.Route.Name.md
  • en\Azure.Firewall.PolicyName.md
  • en\Azure.Policy.Descriptors.md
  • en\Azure.VM.DiskName.md
  • en\Azure.Template.ParameterScheme.md
  • en\Azure.AKS.ContainerInsights.md
  • en\Azure.AppService.RemoteDebug.md
  • en\Azure.Template.ParameterValue.md
  • en\Azure.VM.ADE.md
  • en\Azure.Policy.WaiverExpiry.md
  • en\Azure.Automation.WebHookExpiry.md
  • en\Azure.SQL.FirewallRuleCount.md
  • en\Azure.RSV.StorageType.md
  • en\Azure.ResourceGroup.Name.md
  • en\Azure.SQL.AAD.md
  • en\Azure.Cosmos.AccountName.md
  • en\Azure.MySQL.AllowAzureAccess.md
  • en\Azure.Redis.MaxMemoryReserved.md
  • en\Azure.AKS.PoolScaleSet.md
  • en\Azure.AKS.LocalAccounts.md
  • en\Azure.Template.ExpressionLength.md
  • en\Azure.Redis.MinTLS.md
  • en\Azure.AppGw.SSLPolicy.md
  • en\Azure.Template.ParameterStrongType.md
  • en\resource.md
  • en\Azure.Policy.AssignmentDescriptors.md
  • en\Azure.VM.UniqueDns.md
  • en\Azure.VMSS.Name.md
  • en\Azure.FrontDoor.Name.md
  • en\Azure.SQL.MinTLS.md
  • en\Azure.VNG.ERAvailabilityZoneSKU.md
  • en\Azure.AppGw.WAFRules.md
  • en\Azure.VM.ASAlignment.md
  • en\Azure.APIM.ManagedIdentity.md
  • en\Azure.LB.Name.md
  • en\Azure.KeyVault.AccessPolicy.md
  • en\Azure.Search.QuerySLA.md
  • en\Azure.MySQL.FirewallRuleCount.md
  • en\Azure.AKS.UseRBAC.md
  • en\Azure.ACR.GeoReplica.md
  • en\Azure.FrontDoor.Probe.md
  • en\Azure.APIM.ProductApproval.md
  • en\Azure.AKS.ManagedAAD.md
  • en\Azure.EventHub.Usage.md
  • en\Azure.Template.ResourceLocation.md
  • en\Azure.vWAN.Name.md
  • en\Azure.Template.UseDescriptions.md
  • en\Azure.AKS.AuthorizedIPs.md
  • en\Azure.ASG.Name.md
  • en\Azure.AppService.PHPVersion.md
  • en\Azure.CDN.HTTP.md
  • en\Azure.AKS.AutoScaling.md
  • en\Azure.VNG.ERLegacySKU.md
  • en\Azure.SQL.ServerName.md
  • en\Azure.SQL.TDE.md
  • en\Azure.FrontDoor.WAF.Mode.md
  • en\Azure.APIM.Name.md
  • en\Azure.ACR.Usage.md
  • en\Azure.Search.IndexSLA.md
  • en\Azure.Template.ParameterDataTypes.md
  • en-GB\about_PSRule_Azure_Metadata_Link.help.txt
  • en\Azure.EventHub.DisableLocalAuth.md
  • en-GB\PSRule.Rules.Azure-help.xml
  • en\Azure.APIM.HTTPBackend.md
  • en-GB\about_PSRule_Azure_Configuration.help.txt
  • en\Azure.AKS.PoolVersion.md
  • en-US\about_PSRule_Azure_Metadata_Link.help.txt
  • en\Azure.Firewall.Name.md
  • en-US\PSRule.Rules.Azure-help.xml
  • en\Azure.Redis.AvailabilityZone.md
  • en-US\about_PSRule_Azure_Configuration.help.txt
  • en\Azure.SQL.FGName.md

Version History

Version Downloads Last updated
1.40.0-B0147 5,862 11/11/2024
1.40.0-B0103 244 11/7/2024
1.40.0-B0063 1,534 11/2/2024
1.40.0-B0029 755 10/31/2024
1.39.3 43,022 10/19/2024
1.39.2 3,059 10/16/2024
1.39.1 8,144 10/12/2024
1.39.0 2,942 10/10/2024
1.38.0 106,356 7/7/2024
1.37.0 42,920 6/5/2024
1.36.0 59,741 4/30/2024
1.35.3 28,262 4/10/2024
1.35.2 6,840 4/6/2024
1.35.1 7,803 4/3/2024
1.35.0 18,010 3/30/2024
1.34.2 37,428 3/8/2024
1.34.1 2,544 3/6/2024
1.34.0 3,304 3/4/2024
1.33.2 22,262 2/17/2024
1.33.1 10,430 2/13/2024
1.33.0 10,951 2/5/2024
1.32.1 58,385 12/18/2023
1.32.0 2,499 12/16/2023
1.31.3 42,565 11/22/2023
1.31.2 3,908 11/20/2023
1.31.1 7,282 11/14/2023
1.31.0 8,440 11/8/2023
1.30.3 27,306 10/19/2023
1.30.2 13,827 10/7/2023
1.30.1 1,203 10/5/2023
1.30.0 2,725 10/3/2023
1.29.0 55,140 8/15/2023
1.28.2 23,016 7/26/2023
1.28.1 2,370 7/22/2023
1.28.0 4,633 7/17/2023
1.27.3 32,351 6/16/2023
1.27.2 7,944 6/7/2023
1.27.1 3,716 6/3/2023
1.27.0 3,015 5/30/2023
1.26.1 30,962 4/19/2023
1.26.0 2,006 4/17/2023
1.25.1 14,492 3/25/2023
1.25.0 12,970 3/10/2023
1.24.2 16,834 2/17/2023
1.24.1 3,522 2/10/2023
1.24.0 2,435 2/5/2023
1.23.0 9,938 1/9/2023
1.22.2 8,120 12/13/2022
1.22.1 1,976 12/7/2022
1.22.0 3,121 11/28/2022
1.21.2 5,438 11/7/2022
1.21.1 1,856 10/31/2022
1.21.0 1,501 10/26/2022
1.20.2 1,585 10/19/2022
1.20.1 1,017 10/16/2022
1.20.0 2,051 10/8/2022
1.19.2 5,771 9/12/2022
1.19.1 1,849 9/4/2022
1.19.0 454 9/1/2022
1.18.1 4,132 8/10/2022
1.18.0 665 8/5/2022
1.17.1 2,736 7/10/2022
1.17.0 341 7/6/2022
1.16.1 2,332 6/12/2022
1.16.0 322 6/9/2022
1.15.2 2,505 5/14/2022
1.15.1 265 5/12/2022
1.15.0 575 5/7/2022
1.14.3 1,851 4/15/2022
1.14.2 482 4/10/2022
1.14.1 169 4/8/2022
1.14.0 317 4/4/2022
1.13.4 1,425 3/17/2022
1.13.3 230 3/13/2022
1.13.2 507 3/6/2022
1.13.1 135 3/3/2022
1.13.0 348 2/28/2022
1.12.2 1,310 2/6/2022
1.12.1 (current version) 39 2/6/2022
1.12.0 233 1/29/2022
1.11.1 1,141 12/30/2021
1.11.0 80 12/27/2021
1.10.4 299 12/16/2021
1.10.3 24 12/15/2021
1.10.2 112 12/13/2021
1.10.1 327 12/4/2021
1.10.0 369 11/24/2021
1.9.1 80,590 11/8/2021
1.9.0 747 10/25/2021
1.8.1 373 10/6/2021
1.8.0 452 9/20/2021
1.7.0 523 8/25/2021
1.6.0 267 8/11/2021
1.5.1 275 7/24/2021
1.5.0 235 7/6/2021
1.4.1 356 6/3/2021
1.4.0 53 6/1/2021
1.3.2 212 5/5/2021
1.3.1 44 5/2/2021
1.3.0 58 4/26/2021
1.2.1 79 4/7/2021
1.2.0 93 3/28/2021
1.1.4 77 3/15/2021
1.1.3 45 3/14/2021
1.1.2 48 3/12/2021
1.1.1 42 3/11/2021
1.1.0 175 2/27/2021
1.0.0 490 2/3/2021
0.19.0 845 1/1/2021
0.18.0 715 11/22/2020
0.17.0 277 10/24/2020
0.16.0 79 9/21/2020
0.15.0 714 8/23/2020
0.14.1 181 8/6/2020
0.14.0 171 7/23/2020
0.13.0 402 6/23/2020
0.12.1 969 5/25/2020
0.12.0 124 5/21/2020
0.11.0 442 4/25/2020
0.10.1 317 3/26/2020
0.10.0 72 3/24/2020
0.9.0 559 2/20/2020
0.8.0 552 1/17/2020
0.7.0 216 12/20/2019
0.6.0 54 12/2/2019
0.5.0 79 10/24/2019
0.4.0 71 9/24/2019
0.3.0 94 8/17/2019
0.2.0 51 7/9/2019
0.1.0 53 6/12/2019
Show less