PSBicep
PSRule.Rules.Azure
Our great sponsors
PSBicep | PSRule.Rules.Azure | |
---|---|---|
1 | 2 | |
129 | 368 | |
3.1% | 6.5% | |
7.7 | 9.6 | |
about 2 months ago | 5 days 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.
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.
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.
What are some alternatives?
AzureDeploymentFramework - ARM Bicep & DSC Project for Azure Infrastructure and App Environment Deployments.
azure-application-gateway-cert-utility - Azure App Gateway Cert Management Utility
PSDocs - Generate documentation from Infrastructure as Code (IaC).
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.
bicep-registry-modules - Bicep registry modules
AzAPICall - PowerShell module Azure REST API call handler for ARM, Microsoft Graph, KeyVault, LogAnalytics
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.Rules.AzureDevOps - PSRule Module for Azure DevOps. Audit your Azure DevOps project configuration for best practice adoption in minutes.
PSRule - Validate infrastructure as code (IaC) and objects using PowerShell rules.
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.
PSRule-pipelines - Validate infrastructure as code (IaC) and DevOps repositories using Azure Pipelines.