PolicyForge
github.com
- Free plan
- Linux
- Web
- Self-hosted
What PolicyForge is
PolicyForge is an open-source policy-as-code scanner for infrastructure-as-code. It scans Terraform, Bicep, Kubernetes manifests, and Helm charts through a unified resource model, using Rego policies evaluated by OPA. Since the policy engine is embedded at build time, scans do not require a network connection. Teams can supply additional `.rego` rules at scan time with `--policy-dir` without forking or rebuilding the project. The 11 built-in rules cover Azure CIS Foundations, AWS, and Kubernetes Pod Security. Each scan generates an SBOM, and the project supports SLSA provenance predicates, cosign signing, and attestations. For Azure, it compares declared code with live state through Resource Graph, limited to the resource types and attributes its rules understand. CI/CD options include a GitHub Action that uploads SARIF to GitHub code scanning and an Azure DevOps task that publishes SARIF as a build artifact. An optional self-hosted portal adds dashboards, audit trails, organization-wide policy management, and SOC2/PCI rollups. Helm charts require a local `helm template`; otherwise the scanner warns and skips charts it finds.
Who it suits
PolicyForge is aimed at teams scanning infrastructure-as-code, particularly those working with Azure and Bicep alongside Terraform, Kubernetes, or Helm. The optional portal is for teams seeking self-hosted policy management and compliance rollups.
Good to know, and what to watch
- Scans four listed infrastructure-as-code formats
- Adds custom Rego rules at scan time
- Scans without a network dependency
- Generates an SBOM on every scan
- Includes GitHub and Azure DevOps CI/CD options
- Helm must be installed to render charts
- Azure drift checks cover only understood resource attributes
- Portal retention policy remains unresolved
- Portal real multi-tenancy remains unresolved
Plans
Every plan and priceOpen source
Open source
The verdict
PolicyForge offers offline scanning, customizable Rego rules, and CI/CD reporting for infrastructure-as-code. Teams considering the portal should account for its listed unresolved questions and configure Helm locally for chart scanning.
What the maker publishes
- Built-in policies
- The project lists 11 built-in rules covering Azure CIS Foundations, AWS, and Kubernetes Pod Security. source
- CI/CD integrations
- The repository describes a GitHub Action that uploads SARIF to GitHub code scanning and an Azure DevOps task that publishes SARIF as a build artifact. source
- Custom rules
- Users can add `.rego` rules at scan time with `--policy-dir` without forking or rebuilding. source
- Drift detection
- It compares declared infrastructure code with live Azure state through Resource Graph, limited to resource types and attributes its rules understand. source
- Enterprise portal
- An optional self-hosted portal provides a dashboard, audit trail, org-wide policy management, and SOC2/PCI compliance rollups. source
- Intended users
- The project is aimed at teams scanning infrastructure-as-code, with Azure and Bicep given first-class support alongside Terraform, Kubernetes, and Helm. source
- License and availability
- The core scanner, rule packs, and CI/CD integrations use Apache 2.0, and the self-hosted enterprise portal is source-available under the same license. source
- Policy engine
- Policy rules are Rego evaluated by OPA and embedded at build time; scans have no network dependency. source
- Portal authentication
- The portal uses HTTP Basic Auth for ingestion and supports per-user OIDC or Entra ID SSO when configured. source
- Portal limitations
- The repository lists retention policy, attestation verification, and real multi-tenancy as unresolved portal questions. source
- Purpose
- PolicyForge is an open-source policy-as-code scanner for infrastructure-as-code. source
- Runtime requirements
- Helm charts are rendered through a locally installed `helm template`; without Helm, PolicyForge warns and skips charts it finds. source
- Supply chain
- It generates an SBOM on every scan and supports SLSA provenance predicates and cosign signing and attestations. source
- Supported formats
- It scans Terraform, Bicep, Kubernetes manifests, and Helm charts through a unified resource model. source
Checked against the maker's pages on 9 Oct 2026.