PSRule.Rules.Azure

0.6.0

Validate Azure resources using PSRule.

This project is to be considered a proof-of-concept and not a supported product.

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 0.6.0

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

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

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) Bernie White. All rights reserved.

Package Details

Author(s)

  • Bernie White

Tags

Rule PSRule Azure

Functions

Export-AzRuleData Export-AzTemplateRuleData

PSEditions

Core Desktop

Dependencies

Release Notes

https://github.com/BernieWhite/PSRule.Rules.Azure/blob/master/CHANGELOG.md

FileList

  • PSRule.Rules.Azure.nuspec
  • System.Security.Cryptography.OpenSsl.dll
  • Microsoft.Azure.Management.Dns.Fluent.dll
  • PSRule.Rules.Azure.dll
  • System.Security.Principal.dll
  • Microsoft.Azure.Management.Compute.Fluent.dll
  • Microsoft.IdentityModel.Clients.ActiveDirectory.dll
  • Microsoft.Azure.Management.Monitor.Fluent.dll
  • System.Runtime.Serialization.Primitives.dll
  • Microsoft.Azure.Management.Network.Fluent.dll
  • System.Xml.ReaderWriter.dll
  • System.Threading.ThreadPool.dll
  • System.Xml.XmlSerializer.dll
  • System.Reflection.Emit.Lightweight.dll
  • System.Xml.XmlDocument.dll
  • System.Xml.XDocument.dll
  • System.Private.DataContractSerialization.dll
  • System.Runtime.Numerics.dll
  • Microsoft.Azure.Management.EventHub.Fluent.dll
  • Microsoft.Azure.Management.CosmosDB.Fluent.dll
  • Microsoft.IdentityModel.Tokens.dll
  • Microsoft.Azure.KeyVault.dll
  • ThirdPartyNotices.txt
  • System.Reflection.Emit.dll
  • Microsoft.Azure.Management.Locks.Fluent.dll
  • System.IO.FileSystem.Primitives.dll
  • System.Security.Claims.dll
  • Microsoft.Azure.Management.ResourceManager.Fluent.dll
  • Microsoft.Azure.Management.ContainerService.Fluent.dll
  • Microsoft.Rest.ClientRuntime.dll
  • System.Threading.Tasks.Extensions.dll
  • System.Reflection.TypeExtensions.dll
  • Microsoft.Azure.KeyVault.WebKey.dll
  • System.Linq.dll
  • Microsoft.Azure.Management.ServiceBus.Fluent.dll
  • System.Runtime.Serialization.Json.dll
  • System.Security.Cryptography.Primitives.dll
  • Microsoft.Azure.Management.Fluent.dll
  • PSRule.Rules.Azure.psd1
  • Microsoft.IdentityModel.Logging.dll
  • PSRule.Rules.Azure.pdb
  • System.Threading.dll
  • Microsoft.Azure.Management.Cdn.Fluent.dll
  • Microsoft.Azure.Management.Search.Fluent.dll
  • Microsoft.Azure.Management.Storage.Fluent.dll
  • Microsoft.Azure.Management.TrafficManager.Fluent.dll
  • Microsoft.Azure.Management.AppService.Fluent.dll
  • System.Runtime.InteropServices.RuntimeInformation.dll
  • Microsoft.Azure.Management.ContainerInstance.Fluent.dll
  • Microsoft.Azure.Management.Msi.Fluent.dll
  • Microsoft.Azure.Management.Sql.Fluent.dll
  • Microsoft.Rest.ClientRuntime.Azure.dll
  • System.Text.RegularExpressions.dll
  • Microsoft.Rest.ClientRuntime.Azure.Authentication.dll
  • System.Threading.Thread.dll
  • System.Collections.Concurrent.dll
  • Microsoft.Azure.Management.BatchAI.Fluent.dll
  • Microsoft.Azure.Management.Redis.Fluent.dll
  • Microsoft.Azure.Management.ContainerRegistry.Fluent.dll
  • Microsoft.WindowsAzure.Storage.dll
  • Newtonsoft.Json.dll
  • System.Reflection.Emit.ILGeneration.dll
  • System.Diagnostics.DiagnosticSource.dll
  • Microsoft.Azure.Management.Graph.RBAC.Fluent.dll
  • PSRule.Rules.Azure.deps.json
  • PSRule.Rules.Azure.psm1
  • Microsoft.Azure.Management.KeyVault.Fluent.dll
  • rules\Azure.SQL.Rule.ps1
  • rules\Baseline.Rule.yaml
  • rules\Azure.Common.Rule.ps1
  • rules\Azure.PostgreSQL.Rule.ps1
  • rules\Azure.MySQL.Rule.ps1
  • rules\Azure.ACR.Rule.ps1
  • rules\Azure.PublicIP.Rule.ps1
  • rules\Azure.AKS.Rule.ps1
  • rules\Azure.Storage.Rule.ps1
  • rules\Azure.AppService.Rule.ps1
  • rules\Azure.DataFactory.Rule.ps1
  • rules\Azure.Redis.Rule.ps1
  • rules\Azure.Subscription.Rule.ps1
  • rules\Azure.VirtualMachine.Rule.ps1
  • rules\Azure.Resource.Rule.ps1
  • rules\Azure.VirtualNetwork.Rule.ps1
  • en-AU\Azure.MySQL.AllowAzureAccess.md
  • en-AU\Azure.Resource.AllowedRegions.md
  • en-AU\Azure.VM.AcceleratedNetworking.md
  • en-AU\Azure.PostgreSQL.FirewallRuleCount.md
  • en-AU\Azure.PostgreSQL.FirewallIPRange.md
  • en-AU\Azure.MySQL.FirewallRuleCount.md
  • en-AU\Azure.AKS.Version.md
  • en-AU\Azure.Storage.UseEncryption.md
  • en-AU\Azure.VM.PublicKey.md
  • en-AU\Azure.Subscription.LimitMGDelegation.md
  • en-AU\Azure.VM.UseManagedDisks.md
  • en-AU\Azure.PostgreSQL.AllowAzureAccess.md
  • en-AU\Azure.SQL.Auditing.md
  • en-AU\Azure.VirtualNetwork.LateralTraversal.md
  • en-AU\Azure.VirtualNetwork.UseNSGs.md
  • en-AU\Azure.SQL.ThreatDetection.md
  • en-AU\Azure.VM.DiskCaching.md
  • en-AU\Azure.DataFactory.Version.md
  • en-AU\Azure.Subscription.SecurityCenterProvisioning.md
  • en-AU\Azure.VM.Updates.md
  • en-AU\Azure.VM.PromoSku.md
  • en-AU\Azure.VirtualNetwork.AppGwMinSku.md
  • en-AU\Azure.SQL.FirewallRuleCount.md
  • en-AU\PSRule-rules.psd1
  • en-AU\Azure.VM.DiskSizeAlignment.md
  • en-AU\Azure.VirtualNetwork.LBProbe.md
  • en-AU\Azure.VirtualNetwork.AppGwWAFEnabled.md
  • en-AU\Azure.VM.ASMinMembers.md
  • en-AU\Azure.VirtualNetwork.AppGwMinInstance.md
  • en-AU\Azure.VM.BasicSku.md
  • en-AU\Azure.VirtualNetwork.NSGAnyInboundSource.md
  • en-AU\Azure.Subscription.UseRGDelegation.md
  • en-AU\Azure.Storage.SecureTransferRequired.md
  • en-AU\Azure.Storage.UseReplication.md
  • en-AU\Azure.VM.UseHybridUseBenefit.md
  • en-AU\Azure.Redis.NonSslPort.md
  • en-AU\Azure.VirtualNetwork.LocalDNS.md
  • en-AU\Azure.VirtualNetwork.AppGwPrevention.md
  • en-AU\Azure.AKS.UseRBAC.md
  • en-AU\Azure.MySQL.FirewallIPRange.md
  • en-AU\Azure.Storage.SoftDelete.md
  • en-AU\Azure.VirtualNetwork.PeerState.md
  • en-AU\Azure.SQL.AllowAzureAccess.md
  • en-AU\Azure.VM.ASAlignment.md
  • en-AU\Azure.AppService.PlanInstanceCount.md
  • en-AU\Azure.VirtualNetwork.NSGDenyAllInbound.md
  • en-AU\Azure.PublicIP.IsAttached.md
  • en-AU\Azure.VM.ADE.md
  • en-AU\Azure.VM.Agent.md
  • en-AU\Azure.VirtualNetwork.SingleDNS.md
  • en-AU\Azure.VirtualNetwork.AppGwUseWAF.md
  • en-AU\Azure.VirtualNetwork.NSGAssociated.md
  • en-AU\Azure.AppService.MinPlan.md
  • en-AU\Azure.Subscription.LimitOwner.md
  • en-AU\Azure.VirtualNetwork.NICAttached.md
  • en-AU\Azure.SQL.FirewallIPRange.md
  • en-AU\Azure.ACR.MinSku.md
  • en-AU\Azure.Resource.UseTags.md
  • en-AU\Azure.Redis.MinTLS.md
  • en-AU\Azure.VirtualNetwork.AppGwOWASP.md
  • en-AU\Azure.AppService.UseHTTPS.md
  • en-AU\Azure.VM.DiskAttached.md
  • en-AU\Azure.VM.UniqueDns.md
  • en-AU\Azure.AppService.ARRAffinity.md
  • en-AU\Azure.Subscription.UseGroups.md
  • en-AU\Azure.VirtualNetwork.AppGwWAFRules.md
  • en-AU\Azure.AppService.MinTLS.md
  • en-AU\Azure.Subscription.SecurityCenterContact.md
  • en-AU\Azure.VirtualNetwork.AppGwSSLPolicy.md
  • en-AU\Azure.MySQL.UseSSL.md
  • en-AU\Azure.VM.Standalone.md
  • en-AU\Azure.AKS.MinNodeCount.md
  • en-AU\Azure.md
  • en-AU\Azure.ACR.AdminUser.md
  • en-AU\Azure.PostgreSQL.UseSSL.md
  • en-GB\Azure.MySQL.AllowAzureAccess.md
  • en-GB\Azure.Resource.AllowedRegions.md
  • en-GB\Azure.VM.AcceleratedNetworking.md
  • en-GB\Azure.PostgreSQL.FirewallRuleCount.md
  • en-GB\Azure.PostgreSQL.FirewallIPRange.md
  • en-GB\Azure.MySQL.FirewallRuleCount.md
  • en-GB\Azure.AKS.Version.md
  • en-GB\Azure.Storage.UseEncryption.md
  • en-GB\Azure.VM.PublicKey.md
  • en-GB\Azure.Subscription.LimitMGDelegation.md
  • en-GB\Azure.VM.UseManagedDisks.md
  • en-GB\Azure.PostgreSQL.AllowAzureAccess.md
  • en-GB\Azure.SQL.Auditing.md
  • en-GB\Azure.VirtualNetwork.LateralTraversal.md
  • en-GB\Azure.VirtualNetwork.UseNSGs.md
  • en-GB\Azure.SQL.ThreatDetection.md
  • en-GB\Azure.VM.DiskCaching.md
  • en-GB\Azure.DataFactory.Version.md
  • en-GB\Azure.Subscription.SecurityCenterProvisioning.md
  • en-GB\Azure.VM.Updates.md
  • en-GB\Azure.VM.PromoSku.md
  • en-GB\Azure.VirtualNetwork.AppGwMinSku.md
  • en-GB\Azure.SQL.FirewallRuleCount.md
  • en-GB\PSRule-rules.psd1
  • en-GB\Azure.VM.DiskSizeAlignment.md
  • en-GB\Azure.VirtualNetwork.LBProbe.md
  • en-GB\Azure.VirtualNetwork.AppGwWAFEnabled.md
  • en-GB\Azure.VM.ASMinMembers.md
  • en-GB\Azure.VirtualNetwork.AppGwMinInstance.md
  • en-GB\Azure.VM.BasicSku.md
  • en-GB\Azure.VirtualNetwork.NSGAnyInboundSource.md
  • en-GB\Azure.Subscription.UseRGDelegation.md
  • en-GB\Azure.Storage.SecureTransferRequired.md
  • en-GB\Azure.Storage.UseReplication.md
  • en-GB\Azure.VM.UseHybridUseBenefit.md
  • en-GB\Azure.Redis.NonSslPort.md
  • en-GB\Azure.VirtualNetwork.LocalDNS.md
  • en-GB\Azure.VirtualNetwork.AppGwPrevention.md
  • en-GB\Azure.AKS.UseRBAC.md
  • en-GB\Azure.MySQL.FirewallIPRange.md
  • en-GB\Azure.Storage.SoftDelete.md
  • en-GB\Azure.VirtualNetwork.PeerState.md
  • en-GB\Azure.SQL.AllowAzureAccess.md
  • en-GB\Azure.VM.ASAlignment.md
  • en-GB\Azure.AppService.PlanInstanceCount.md
  • en-GB\Azure.VirtualNetwork.NSGDenyAllInbound.md
  • en-GB\Azure.PublicIP.IsAttached.md
  • en-GB\Azure.VM.ADE.md
  • en-GB\Azure.VM.Agent.md
  • en-GB\Azure.VirtualNetwork.SingleDNS.md
  • en-GB\Azure.VirtualNetwork.AppGwUseWAF.md
  • en-GB\Azure.VirtualNetwork.NSGAssociated.md
  • en-GB\Azure.AppService.MinPlan.md
  • en-GB\Azure.Subscription.LimitOwner.md
  • en-GB\Azure.VirtualNetwork.NICAttached.md
  • en-GB\Azure.SQL.FirewallIPRange.md
  • en-GB\Azure.ACR.MinSku.md
  • en-GB\Azure.Resource.UseTags.md
  • en-GB\Azure.Redis.MinTLS.md
  • en-GB\Azure.VirtualNetwork.AppGwOWASP.md
  • en-GB\Azure.AppService.UseHTTPS.md
  • en-GB\Azure.VM.DiskAttached.md
  • en-GB\Azure.VM.UniqueDns.md
  • en-GB\Azure.AppService.ARRAffinity.md
  • en-GB\Azure.Subscription.UseGroups.md
  • en-GB\Azure.VirtualNetwork.AppGwWAFRules.md
  • en-GB\Azure.AppService.MinTLS.md
  • en-GB\Azure.Subscription.SecurityCenterContact.md
  • en-GB\Azure.VirtualNetwork.AppGwSSLPolicy.md
  • en-GB\Azure.MySQL.UseSSL.md
  • en-GB\Azure.VM.Standalone.md
  • en-GB\Azure.AKS.MinNodeCount.md
  • en-GB\Azure.md
  • en-GB\Azure.ACR.AdminUser.md
  • en-GB\Azure.PostgreSQL.UseSSL.md
  • en-US\Azure.MySQL.AllowAzureAccess.md
  • en-US\Azure.Resource.AllowedRegions.md
  • en-US\Azure.VM.AcceleratedNetworking.md
  • en-US\Azure.PostgreSQL.FirewallRuleCount.md
  • en-US\Azure.PostgreSQL.FirewallIPRange.md
  • en-US\Azure.MySQL.FirewallRuleCount.md
  • en-US\Azure.AKS.Version.md
  • en-US\Azure.Storage.UseEncryption.md
  • en-US\Azure.VM.PublicKey.md
  • en-US\Azure.Subscription.LimitMGDelegation.md
  • en-US\Azure.VM.UseManagedDisks.md
  • en-US\Azure.PostgreSQL.AllowAzureAccess.md
  • en-US\Azure.SQL.Auditing.md
  • en-US\Azure.VirtualNetwork.LateralTraversal.md
  • en-US\Azure.VirtualNetwork.UseNSGs.md
  • en-US\Azure.SQL.ThreatDetection.md
  • en-US\Azure.VM.DiskCaching.md
  • en-US\Azure.DataFactory.Version.md
  • en-US\Azure.Subscription.SecurityCenterProvisioning.md
  • en-US\Azure.VM.Updates.md
  • en-US\Azure.VM.PromoSku.md
  • en-US\Azure.VirtualNetwork.AppGwMinSku.md
  • en-US\Azure.SQL.FirewallRuleCount.md
  • en-US\PSRule-rules.psd1
  • en-US\Azure.VM.DiskSizeAlignment.md
  • en-US\Azure.VirtualNetwork.LBProbe.md
  • en-US\Azure.VirtualNetwork.AppGwWAFEnabled.md
  • en-US\Azure.VM.ASMinMembers.md
  • en-US\Azure.VirtualNetwork.AppGwMinInstance.md
  • en-US\Azure.VM.BasicSku.md
  • en-US\Azure.VirtualNetwork.NSGAnyInboundSource.md
  • en-US\Azure.Subscription.UseRGDelegation.md
  • en-US\Azure.Storage.SecureTransferRequired.md
  • en-US\Azure.Storage.UseReplication.md
  • en-US\Azure.VM.UseHybridUseBenefit.md
  • en-US\Azure.Redis.NonSslPort.md
  • en-US\Azure.VirtualNetwork.LocalDNS.md
  • en-US\Azure.VirtualNetwork.AppGwPrevention.md
  • en-US\Azure.AKS.UseRBAC.md
  • en-US\Azure.MySQL.FirewallIPRange.md
  • en-US\Azure.Storage.SoftDelete.md
  • en-US\Azure.VirtualNetwork.PeerState.md
  • en-US\Azure.SQL.AllowAzureAccess.md
  • en-US\Azure.VM.ASAlignment.md
  • en-US\Azure.AppService.PlanInstanceCount.md
  • en-US\Azure.VirtualNetwork.NSGDenyAllInbound.md
  • en-US\Azure.PublicIP.IsAttached.md
  • en-US\Azure.VM.ADE.md
  • en-US\Azure.VM.Agent.md
  • en-US\Azure.VirtualNetwork.SingleDNS.md
  • en-US\Azure.VirtualNetwork.AppGwUseWAF.md
  • en-US\Azure.VirtualNetwork.NSGAssociated.md
  • en-US\Azure.AppService.MinPlan.md
  • en-US\Azure.Subscription.LimitOwner.md
  • en-US\Azure.VirtualNetwork.NICAttached.md
  • en-US\Azure.SQL.FirewallIPRange.md
  • en-US\Azure.ACR.MinSku.md
  • en-US\Azure.Resource.UseTags.md
  • en-US\Azure.Redis.MinTLS.md
  • en-US\Azure.VirtualNetwork.AppGwOWASP.md
  • en-US\Azure.AppService.UseHTTPS.md
  • en-US\Azure.VM.DiskAttached.md
  • en-US\Azure.VM.UniqueDns.md
  • en-US\Azure.AppService.ARRAffinity.md
  • en-US\Azure.Subscription.UseGroups.md
  • en-US\Azure.VirtualNetwork.AppGwWAFRules.md
  • en-US\Azure.AppService.MinTLS.md
  • en-US\Azure.Subscription.SecurityCenterContact.md
  • en-US\Azure.VirtualNetwork.AppGwSSLPolicy.md
  • en-US\Azure.MySQL.UseSSL.md
  • en-US\Azure.VM.Standalone.md
  • en-US\Azure.AKS.MinNodeCount.md
  • en-US\Azure.md
  • en-US\Azure.ACR.AdminUser.md
  • en-US\Azure.PostgreSQL.UseSSL.md
  • en-AU\PSRule.Rules.Azure\PSRule.Rules.Azure-help.xml
  • en-GB\PSRule.Rules.Azure\PSRule.Rules.Azure-help.xml
  • en-US\PSRule.Rules.Azure\PSRule.Rules.Azure-help.xml

Version History

Version Downloads Last updated
1.36.0-B0020 7,891 4/14/2024
1.35.3 21,189 4/10/2024
1.35.2 6,812 4/6/2024
1.35.1 7,727 4/3/2024
1.35.0 18,006 3/30/2024
1.34.2 30,360 3/8/2024
1.34.1 2,543 3/6/2024
1.34.0 3,303 3/4/2024
1.33.2 21,388 2/17/2024
1.33.1 10,393 2/13/2024
1.33.0 10,515 2/5/2024
1.32.1 57,206 12/18/2023
1.32.0 2,497 12/16/2023
1.31.3 31,280 11/22/2023
1.31.2 3,907 11/20/2023
1.31.1 7,281 11/14/2023
1.31.0 8,439 11/8/2023
1.30.3 27,220 10/19/2023
1.30.2 13,824 10/7/2023
1.30.1 1,196 10/5/2023
1.30.0 2,724 10/3/2023
1.29.0 55,111 8/15/2023
1.28.2 23,013 7/26/2023
1.28.1 2,368 7/22/2023
1.28.0 4,632 7/17/2023
1.27.3 28,493 6/16/2023
1.27.2 7,936 6/7/2023
1.27.1 3,715 6/3/2023
1.27.0 3,011 5/30/2023
1.26.1 30,958 4/19/2023
1.26.0 2,005 4/17/2023
1.25.1 14,489 3/25/2023
1.25.0 12,967 3/10/2023
1.24.2 16,831 2/17/2023
1.24.1 3,521 2/10/2023
1.24.0 2,434 2/5/2023
1.23.0 9,937 1/9/2023
1.22.2 7,707 12/13/2022
1.22.1 1,975 12/7/2022
1.22.0 3,120 11/28/2022
1.21.2 5,437 11/7/2022
1.21.1 1,855 10/31/2022
1.21.0 1,500 10/26/2022
1.20.2 1,584 10/19/2022
1.20.1 1,016 10/16/2022
1.20.0 2,049 10/8/2022
1.19.2 5,767 9/12/2022
1.19.1 1,848 9/4/2022
1.19.0 453 9/1/2022
1.18.1 4,117 8/10/2022
1.18.0 664 8/5/2022
1.17.1 2,716 7/10/2022
1.17.0 340 7/6/2022
1.16.1 2,331 6/12/2022
1.16.0 321 6/9/2022
1.15.2 2,504 5/14/2022
1.15.1 264 5/12/2022
1.15.0 574 5/7/2022
1.14.3 1,744 4/15/2022
1.14.2 481 4/10/2022
1.14.1 168 4/8/2022
1.14.0 316 4/4/2022
1.13.4 1,424 3/17/2022
1.13.3 229 3/13/2022
1.13.2 506 3/6/2022
1.13.1 134 3/3/2022
1.13.0 347 2/28/2022
1.12.2 1,309 2/6/2022
1.12.1 38 2/6/2022
1.12.0 232 1/29/2022
1.11.1 1,140 12/30/2021
1.11.0 79 12/27/2021
1.10.4 298 12/16/2021
1.10.3 23 12/15/2021
1.10.2 111 12/13/2021
1.10.1 326 12/4/2021
1.10.0 368 11/24/2021
1.9.1 42,421 11/8/2021
1.9.0 746 10/25/2021
1.8.1 372 10/6/2021
1.8.0 451 9/20/2021
1.7.0 522 8/25/2021
1.6.0 266 8/11/2021
1.5.1 274 7/24/2021
1.5.0 234 7/6/2021
1.4.1 355 6/3/2021
1.4.0 52 6/1/2021
1.3.2 211 5/5/2021
1.3.1 42 5/2/2021
1.3.0 57 4/26/2021
1.2.1 78 4/7/2021
1.2.0 92 3/28/2021
1.1.4 76 3/15/2021
1.1.3 44 3/14/2021
1.1.2 47 3/12/2021
1.1.1 41 3/11/2021
1.1.0 174 2/27/2021
1.0.0 489 2/3/2021
0.19.0 719 1/1/2021
0.18.0 589 11/22/2020
0.17.0 276 10/24/2020
0.16.0 78 9/21/2020
0.15.0 713 8/23/2020
0.14.1 180 8/6/2020
0.14.0 170 7/23/2020
0.13.0 401 6/23/2020
0.12.1 968 5/25/2020
0.12.0 123 5/21/2020
0.11.0 441 4/25/2020
0.10.1 316 3/26/2020
0.10.0 71 3/24/2020
0.9.0 558 2/20/2020
0.8.0 551 1/17/2020
0.7.0 215 12/20/2019
0.6.0 (current version) 53 12/2/2019
0.5.0 78 10/24/2019
0.4.0 70 9/24/2019
0.3.0 93 8/17/2019
0.2.0 50 7/9/2019
0.1.0 52 6/12/2019
Show less