Sonatype CLM Server - Policy Management Guide

10.3. Importing a Policy to an Application

An application inherits policies from the organization. However it can be useful to have additional policies for fine grained control.

  1. Log into your Sonatype CLM server with a user account with an Administrator role or as an Owner of the application you wish to import policy to.
  2. Next, click the Organizational Design icon figs/web/clm-server-organizational-design-icon.png to access the Organizational Design area.
  3. Two columns will be displayed on the left. Click on Applications, and then click the application you chose to import the policy to.
  4. Click the Import button in the top right corner of the application view, which is identical to the organization view displayed in Figure 10.1, “Organization View with Import Button”.
  5. Click the Choose File button in the Import Policy dialog displayed in Figure 10.2, “Import Policy Dialog” and select the policy JSON file in the file browser.
  6. Click the Import button in the Import Policy dialog.
  7. Confirm that the list of policies contains the imported policies.

The policy information will be imported, and the following rules will be applied:

  • Duplication of organization policies is invalid, so you will not be able to import the same policy file into an organization and then into an application associated to it.
  • When a policy is imported, any existing application policies will be deleted and replaced with the imported configuration.
  • For label imports, the same logic as during imports at the organization level described in Section 10.2, “Importing a Policy to an Organization” applies.
  • Attempting to import policies that contain tags will cause the entire import to fail.