Sonatype CLM Server - Policy Management Guide

7.6. Creating a Condition Based on a License Threat Group

After we have created a license threat group as described in condition Section 7.5, “Creating a License Threat Group”, lets create a condition based on it.

  1. Create a new policy with the name Legal
  2. Change the name of the initial constraint to Banned License.
  3. Click on the Add Condition button for the Banned License constraint.
  4. Choose License Threat Group from the condition drop down, select is not from the operator drop down and then select Banned Licenses as the value.
  5. Configure the Actions as desired.
  6. When everything is done you screen should look like Figure 7.2, “Creating a Condition Evaluating a Label” and you can click the Save button to finish.
figs/web/clm-server-license-threat-group-condition-create.png

Figure 7.4. Creating a Condition Evaluating a License Threat Group


The created policy will be violated by any component that is licensed under the AGPL or AGPL-3.0 license.