Load an Existing Template

Sometimes a convenient way to start coding a new template is to use code from an existing template. You can do this by loading an existing template into the Rego Playground.

To load a template to the Rego Playground:

  1. In the JFrog Platform, go to AppTrust > Lifecycle Policies > Rego Playground > Load Template.
  1. Choose a template from the list. When you click a template, you can see information about the template such as
    • Description
    • Parameters
    • Version
    • Category
    • Template Type
  1. Click Load Template. The Rego code loads into the editing pane of the Rego Playground.