Edit a draft PaCE policy version
You can edit a Draft PaCE policy version at any time. The Draft version can be published to become the Current version. You can also create multiple different Draft versions from different Archived versions.
Avant de commencer
Role required: sn_pace.code_editor
Procédure
-
Navigate to All > Policies > My Policies.
Remarque :To view all policies generated by admin/other users, navigate to Policies > All Policies.
- Click the Policy name for the policy that includes the version you want to edit.
- In the Policy Details page, click the Versions tab.
- Click the Version name that you want to edit.
-
Edit the information and inputs in the Details and
Policy Builder tabs.
Tab Editable options Details Update the Description field. Remarque :The Description field is the only editable field in the Details tab. The version and revision numbering are generated automatically and cannot be modified.Policy Builder In the Define Variables section, select Config Parameters. You can: - Click New to add a new input variable. See Create a new variable for a policy version for details on adding input variables.
- Select an existing variable and click Delete to remove the variable from the list.
-
Perform one of the following actions.
Option Description Save the version Click Save. The policy version is saved and the version page is refreshed. Publish the version Click Publish Policy. In the displayed confirmation message, click Publish. The policy version becomes the Current version and is used the next time the policy is invoked. Test your updates Click the Test Playground tab. The Test Playground page is displayed, where you can update the policy script and test your changes. For further information, see Use the Test Playground for PaCE policies. Delete the version Click Delete. Only versions that have never been used can be deleted. Review execution activity Click the Executions tab to review the execution activity for this version. See Review executed policy activity for details.