Sample code you can use to quickly start using PSRule for Azure.
MIT License
This repository contains a sample code you can use to quickly start using PSRule for Azure. To learn more about PSRule for Azure, see https://aka.ms/ps-rule-azure.
This repository includes:
deployments/
folder if you are using Bicep to deploy resources.modules/
folder if you are using Bicep to create reusable modules with tests..github/workflows/
to check your Azure IaC with GitHub Actions.ms-analyze.yaml
file can be ignore or removed as this will not execute outside this repository..pipelines/
to check your Azure IaC with Azure Pipelines..ps-rule/
folder to configure custom rules and baselines.ps-rule.yaml
.[!NOTE] PSRule for Azure supports ARM templates in addition to Bicep code. However going forward this repository will focus on Bicep deployments and modules. Existing ARM templates samples are no longer maintained and have been archived. To access these samples jump to the archive/with-arm-templates branch.
This repository shows valid uses of PSRule for Azure, both pass and failure cases. Inspect the following files for instructions to test PSRule for Azure rules by creating a failure.
This project uses GitHub Issues to track bugs and feature requests. Please search the existing issues before filing new issues to avoid duplicates.
Support for this project/ product is limited to the resources listed above.
This project welcomes contributions and suggestions. If you are ready to contribute, please visit the contribution guide.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
This project is licensed under the MIT License.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.