Sonatype CLM Server - Policy Management
We’ve determined that assigning a label is an important action, but how do we build policy around this? That’s actually simple, we just add a condition, based on a specific label that you have created, being present. The one caveat, is that the label needs to exist within the application or the organization in which you are creating the condition.
There are two key ways to create a label:
There is really no difference here, as both require that you have the organization or application open at the time of creation. The one advantage with using the Global Create button is that you can create no matter which tab of the currently selected organization or application you are in, whereas you will need to be on the Label tab otherwise.
When creating your label, remember to use something that is easily identifiable. If you’re following along with our example in the next section, Architecture-Approved is a good example.
Once you have entered the name, you can enter an optional description, and then click the Save button.
- Editing Labels
- To make changes to a label, click on the label and the label information will be displayed below.
- Deleting Labels
- To delete a label, just click on the X next to the label name.
A few things to remember:
- An organization’s labels can be seen by any of its applications, the reverse is not true.
- Labels can only be edited (or deleted) at the level they were created.