PSRule.Rules.Azure
PSBicep
PSRule.Rules.Azure | PSBicep | |
---|---|---|
2 | 1 | |
369 | 130 | |
4.9% | 2.3% | |
9.6 | 7.7 | |
1 day ago | 2 months ago | |
PowerShell | PowerShell | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PSRule.Rules.Azure
-
The powershell way to validate Azure infrastructure
As devops I preferred an alternative way based on Powershell called PSRule for Azure which provides a suite of rules to validate resources and infrastructure as code (IaC) using PSRule. It provides two methods for analyzing Azure resources:
-
Can you block deployments of resources like app service using something other than policy?
I have been playing around with Azure PRSULE by your colleague Bernie White : https://github.com/Azure/PSRule.Rules.Azure . in short, you call pull azure policies, convert them to rules, you can implement in pipelines and check your code base and thus pre-deployment architecture in bicep files. Thats not all, it will also use azure well architected framework defintions to check your bicep files. Coming from c# and tdd/bdd im dying for something like this and its a small step in the right direction.
PSBicep
-
Anyone using ACR Repository for Bicep Modules with ADO?
Currently the automated testing we have in the pipeline is only building the bicep into ARM, and running psrule against the biceps (which, I think, is essentially the same thing). We used to run the Test-command of PSBicep-module (https://github.com/PSBicep/PSBicep/blob/main/Docs/Help/Test-BicepFile.md), but ran into problems with that one, as the module tends to lack behind latest bicep features a bit - same thing with a lot of tooling like psrule.
What are some alternatives?
azure-application-gateway-cert-utility - Azure App Gateway Cert Management Utility
AzureDeploymentFramework - ARM Bicep & DSC Project for Azure Infrastructure and App Environment Deployments.
CanadaPubSecALZ - This reference implementation is based on Cloud Adoption Framework for Azure and provides an opinionated implementation that enables ITSG-33 regulatory compliance by using NIST SP 800-53 Rev. 4 and Canada Federal PBMM Regulatory Compliance Policy Sets.
PSDocs - Generate documentation from Infrastructure as Code (IaC).
AzAPICall - PowerShell module Azure REST API call handler for ARM, Microsoft Graph, KeyVault, LogAnalytics
bicep-registry-modules - Bicep registry modules
PSRule.Rules.AzureDevOps - PSRule Module for Azure DevOps. Audit your Azure DevOps project configuration for best practice adoption in minutes.
ResourceModules - This repository includes a CI platform for and collection of mature and curated Bicep modules. The platform supports both ARM and Bicep and can be leveraged using GitHub actions as well as Azure DevOps pipelines.
PSRule - Validate infrastructure as code (IaC) and objects using PowerShell rules.
PSRule-pipelines - Validate infrastructure as code (IaC) and DevOps repositories using Azure Pipelines.
AzOps - AzOps is a PowerShell module which deploys (Push) ARM Resource Templates & Bicep files at all Azure scope levels and exports (Pull) ARM resource hierarchy.