Skip to content

Example: Debugging a rule with Regula⚓︎

Best viewed as a PDF.

Debugging a rule with Regula screenshot

This tutorial explains how to use Regula to debug a simple custom rule written in Rego, a policy-as-code language for securing infrastructure-as-code. I wrote the Terraform configuration and the custom rule, consulted an engineer for details about using Regula's REPL, and then documented the process step by step.

Links