Skip to main content

Policy Engine RegoScript Examples

Introduction

Customer looking for some guidance on Policy Engine scripts and creating policies should first look to the OPA/Rego Script guidance page.  However, customers may want some examples to get started and the guidance below can be a good reference to start with.

Prerequisites

Customers should first install the Policy Engine Plugin before proceeding

Instructions

Below are some standard examples.  If customers would like additional assistance beyond the below information, we recommend discussing options for a Professional Services engagement with the customer's account manager. https://docs.armory.io/armory-enterprise/armory-admin/policy-engine/policy-engine-use/example-policies/