Samples#
Quick Start repository#
You can clone, download, or use as a template for your own repository. This repository contains the following samples for PSRule for Azure:
- Azure Templates — Starter Azure Resource Manager (ARM) templates and parameter files.
- Azure Bicep — Starter Azure Bicep deployments and test files.
- GitHub Actions — Starter workflow for checking Azure Infrastructure as Code (IaC).
- Azure Pipelines — Starter pipelines for checking Azure Infrastructure as Code (IaC).
- Custom rules — Example custom rules that enforce organization specific requirements.
-
PSRule options — Example options for using PSRule for Azure.
Community samples#
Baselines#
The following sample baselines for Azure are available.
Title | Description | Author |
---|---|---|
Combine WAF pillars | A baseline that combines GA rules only from the Security and Reliability pillars. | @BernieWhite |
Rules and conventions#
The following sample rules and conventions for Azure are available.
Title | Description | Author |
---|---|---|
Bicep Module Requires | Discover and test Bicep modules based on a directory structure convention. | @BernieWhite |
API Management Policy | Discover and test API Management .xml policy files. |
@BernieWhite |
Suppression groups#
The following sample suppression groups for Azure are available.
Title | Description | Author |
---|---|---|
Suppress geo-replication in dev | A suppression group to suppress geo-replication rules in dev. | @BernieWhite |