PSRule.Rules.Azure
PSRule.Rules.Azure copied to clipboard
Rules to validate Azure resources and infrastructure as code (IaC) using PSRule.
Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet) from 11.2.1 to 12.0.0. Release notes Sourced from YamlDotNet's releases. Release 12.0.0 Merge pull request #623 from jairbubbles/add-tostring-on-yamlexception Do not include the Start / End in the YamlException...
## PR Summary Adding code to verify if the resource type: Microsoft.Resources/deployments contains a property for `adminUsername` and what it's type is. Fixes #1479 ## PR Checklist - [ ]...
Currently a number of supporting projects within the solution target .NET Core 3.1. These projects can be upgraded to .NET 6. Including: - `PSRule.Rules.Azure.Benchmark` - `PSRule.Rules.Azure.BuildTool` - `PSRule.Rules.Azure.Tests`
Currently expansion of template files relies on triggering of a file. Instead we should be able to handle when a JSON object with a matching schema is passed. Related to...
**Is your feature request related to a problem? Please describe.** Supporting moduleception (modules in modules). We have the following set-up: _main.bicep -> local modules with resource group deployments -> acr...
Additional functions are planned to be added to ARM ~August: - `filter` - `sort` - `map` - `reduce` - `flatten` - `lambdaVariables` - `lambda` https://docs.microsoft.com/azure/azure-resource-manager/templates/template-functions https://github.com/Azure/bicep/tree/8e74bc9e42bc65c57cfd4518c321e3ca125e015a/src/Bicep.Core.Samples/Files/Lambdas_LF
**Description of the issue** For high volume subscriptions with many or complex resources, calls to `Export-AzRuleData` request may get throttled. ```text Get-AzResource: TooManyRequests : The request is being throttled as...
**Description of the issue** I think there should be a check on properties as well: ```powershell Rule 'Azure.AppGw.UseHTTPS' -Ref 'AZR-000059' -Type 'Microsoft.Network/applicationGateways' -Tag @{ release = 'GA'; ruleSet = '2021_09';...
Update rule code to provide better reporting of which property caused the rule to fail. This is related to microsoft/PSRule#1092 which is also a dependency. Since there is varying complexity...
This is tracking for adding support for Terraform HCL to PSRule originally discussed here Microsoft/PSRule#907 by @jbla9028. --- **Is your feature request related to a problem? Please describe.** It appears...