Sonatype CLM Server - Policy Management Guide
An application inherits policies from the organization. However it can be useful to have additional policies for fine grained control.
- 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.
-
Next, click the Organizational Design icon
to access the Organizational Design area.
- Two columns will be displayed on the left. Click on Applications, and then click the application you chose to import the policy to.
- 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”.
- 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.
- Click the Import button in the Import Policy dialog.
- 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.