PSRule.Rules.Azure
PSRule.Rules.Azure copied to clipboard
Rules to validate Azure resources and infrastructure as code (IaC) using PSRule.
# Rule request ## Suggested rule change Use the latest supported version of Redis with Azure Cache for Redis. ## Applies to the following The rule applies to the following:...
Configuration setting name should only use caps to align to how environment variables are set. On Linux environment variables are case-sensitive. As a result, environment variables are commonly expressed with...
# Rule request ## Suggested rule change Similar to `Azure.Redis.MinTLS`, we should include `Microsoft.Cache/redisEnterprise` type as well to check the `minumumTlsVersion` property: https://docs.microsoft.com/en-us/azure/templates/microsoft.cache/redisenterprise?tabs=bicep#clusterproperties. I guess we need to decide if...
# Rule request ## Suggested rule change Like blob storage, file shares should also have soft delete enabled. ## Applies to the following The rule applies to the following: -...
# Rule request ## Suggested rule change Policy definitions and initiatives can set the `version` metadata. This is used by built-in policies and recommended in Azure docs. [Reference](https://github.com/Azure/azure-policy/blob/master/built-in-policies/README.md) ## Applies...
Most rules are currently written in PowerShell. YAML based rules added in PSRule v1.6.0 provide some advantages including: - Easier to adopt for non-PowerShell engineers. - Better performance. We should...
# Rule request ## Suggested rule change A number rule refer to Advanced Threat Protection or Azure Security Center Standard. This is now know as Microsoft Defender.
**Description of the issue** I'm trying to run in-flight validation of already deployed resources using Azure Pipelines. **To Reproduce** Steps to reproduce the issue: Below is the stage which runs...
# Rule request ## Suggested rule change API management services should support multi region deployments for globally distrubuted API consumers. ## Applies to the following The rule applies to the...
# Rule request ## Suggested rule change The `providers` template function is deprecated and not recommended for use. Instead of using `providers`, specify the API version that has been tested...