Open Policy Agent (OPA)is rapidly becoming a cornerstone in the management and maintenance of secure and compliant systems that align with industry and organizational best practices. As more organizations begin — or continue — their cloud-native digital transformation, the importance of policy-as-code only increases. Sometimes, though, becoming an expert in yet another tool or language isn’t in the cards. And, that knowledge gap can lead to IT, I&O, security, compliance, governance, and general line-of-business teams becoming increasingly isolated from new technologies such as Kubernetes, microservices and other code-centric solutions.
That’s whereRego Policy Buildercomes in. Rego Policy Builder is a point-and-click policy editor inStyra Declarative Authorization Service (DAS) that provides a guided experience for developing policies in OPA’s declarative policy language, Rego. Rego’s declarative syntax and semantics are purpose-built to enable it to be extended into first-class high-level tooling, and with the addition of Rego Policy Builder, Styra DAS users have access to low-friction policy authoring, extending the ability to create policy-as-code to people and teams with more limited coding expertise.
Rego Policy Builder empowers more teams to take advantage of the speed and security of policy-as-code for unified authorization. Below are a few key features:
Embellished syntax makes each rule readable in English
Guided workflow helps add less common syntactic features (e.g., mocking up data when writing tests)
Policy rules are automatically organized into common blocks
Ability to seamlessly toggle between Policy Builder and the traditional Rego Code View provides freedom of choice
How to get started with Rego Policy Builder
To use Policy Builder, simply navigate to any of your Systems in Styra DAS, select any Rego policy, and click the “Builder” button. Use the Policy Builder as a way to get started writing policies, a way to review existing policies with added structure, or to jump back in when you’ve written a bunch of policies in the past but have a little rust to shake off.