Edit a PaCE policy script

  • Release version: Xanadu
  • Updated August 1, 2024
  • 1 minute to read
  • Edit the PaCE policy script to apply any changes to the policy logic.

    Before you begin

    Role required: sn_pace.code_editor

    About this task

    Important:
    For further information about testing your policy script, see Use the Test Playground for PaCE policies.

    Procedure

    1. Navigate to All > Policies > My Policies.
      Note:
      To view all policies generated by admin/other users, navigate to Policies > All Policies.
    2. Select the policy for which you want to update the script.
    3. In the Details form of the relevant policy, click the Versions tab and select the version you want to edit.
    4. In the policy version page, click the Policy builder tab.
      The following image shows a sample policy script.
      Policy script.
      Note:
      The script is editable for policy versions in Draft state only. For policy versions in Current or Archived state, the script is read-only.
    5. Apply any changes to the policy script, as required.
    6. Click Save.