Rules Genie

The Rules Genie option is a feature added in the Global Policies page. It is an option backed by ChatGPT using which you can create your own custom rules.

  • Navigate to Policies and click on it. The various rules are displayed.

  • Click Rules Genie present at the top right corner.

  • A popup is displayed as shown below:

  • Enter a description for the rule you want to create as shown below:

  • You can enter an example input in the space provided as shown below. This is an optional field that can be used to improve the accuracy of the rule you create.

  • Click Generate Rule.

  • A Rule Rego File for the given rule condition is created as shown below:

  • Click Download .rego file to download the generated file.

  • Click Restart to generate another rule.

Last updated