PSDocs
PSRule.Rules.Azure
PSDocs | PSRule.Rules.Azure | |
---|---|---|
1 | 2 | |
133 | 370 | |
-1.5% | 5.1% | |
4.6 | 9.6 | |
3 months ago | 3 days ago | |
C# | 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.
PSDocs
-
Anyone using ACR Repository for Bicep Modules with ADO?
For Pull Requests, it compiles bicep into ARM templates and runs PSDocs for them an accompaying json file that holds versioning information and, document title and some additional information. Then it looks for ./test/module.test.bicep -file (which is just a copy of a suitable test suite from ResourceModules) and runs psrule against that. For runs triggered from main-branch, it queues the module publishing pipeline for every changed module.bicep found.
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?
PSBicep - This is the repo for the Bicep PowerShell Module.
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.
azure-application-gateway-cert-utility - Azure App Gateway Cert Management Utility
PSRule - Validate infrastructure as code (IaC) and objects using PowerShell rules.
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.
SharePointDsc - The SharePointDsc PowerShell module provides DSC resources that can be used to deploy and manage a SharePoint farm
AzAPICall - PowerShell module Azure REST API call handler for ARM, Microsoft Graph, KeyVault, LogAnalytics