regula VS terratest

Compare regula vs terratest and see what are their differences.

regula

Regula checks infrastructure as code templates (Terraform, CloudFormation, k8s manifests) for AWS, Azure, Google Cloud, and Kubernetes security and compliance using Open Policy Agent/Rego (by fugue)

terratest

Terratest is a Go library that makes it easier to write automated tests for your infrastructure code. (by gruntwork-io)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
regula terratest
3 46
923 7,306
1.2% 0.7%
3.8 8.7
15 days ago 8 days ago
Open Policy Agent Go
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

regula

Posts with mentions or reviews of regula. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-11.
  • Top 10 terraform tools you should know about.
    10 projects | dev.to | 11 Dec 2023
    Regula is a dynamic tool designed for pre-deployment security and compliance checks of infrastructure as code (IaC) for multiple cloud providers and Kubernetes. It supports an array of file types, including CloudFormation JSON/YAML templates, Terraform source code and JSON plans, Kubernetes YAML manifests, and Azure Resource Manager (ARM) JSON templates (currently in preview). Regula leverages a rule library written in Rego, the language used by the Open Policy Agent (OPA) project, offering robust policy evaluation. It integrates seamlessly with popular CI/CD tools like Jenkins, Circle CI, and AWS CodePipeline, and even includes a GitHub Actions example for easy setup. Regula’s policies are aligned with CIS Benchmarks for AWS, Azure, Google Cloud, and Kubernetes, aiding in comprehensive compliance assessments. This tool is actively developed and maintained by the team at Fugue.
  • Best static code analysis tool for Terraform?
    3 projects | /r/Terraform | 3 Feb 2021
    Fugues Regula is built on OPA. It’s worth a look. https://github.com/fugue/regula

terratest

Posts with mentions or reviews of terratest. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-26.

What are some alternatives?

When comparing regula and terratest you can also consider the following projects:

inspec - InSpec: Auditing and Testing Framework

checkov - Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.

driftctl - Detect, track and alert on infrastructure drift

terragrunt - Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.

tflint - A Pluggable Terraform Linter

atlantis - Terraform Pull Request Automation

conftest - Write tests against structured configuration data using the Open Policy Agent Rego query language

terrascan - Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure. [Moved to: https://github.com/accurics/terrascan]

terraform-cdk - Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform

LocalStack - 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline

Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages 🚀

tfsec - Security scanner for your Terraform code [Moved to: https://github.com/aquasecurity/tfsec]