CentraSite User's Guide : Policy Management : Managing Design and Change-Time Policies through CentraSite Control : Scope of a Design/Change-Time Policy : Refining the Object Scope
Refining the Object Scope
Pre-requisites:
To refine the object scope of a design/change-time policy you must have the instance-level View permission for that particular policy. By default, all users have View permissions on the design/change-time policies in the registry.
To further restrict the set of objects to which the policy is applied, you can specify additional selection criteria in the Apply policy to objects that meet the following criteria section of the Scope tab. Using this section, you can filter objects by Name, Description, and Classification attributes.
Filtering By Name and Description
You can filter objects based on their Name and Description attributes using any of the following comparison operators:
Comparison Operator
Description
Equals
Selects objects whose Name or Description value matches a given string of characters. For example, you would use this operator if you wanted to apply a policy only to Taxonomy objects with the Description value Project IDs.
Not Equals
Selects objects whose Name or Description value does not match a given string of characters.
For example, you would you use this operator if you wanted to apply a policy to all Taxonomies except those with the Description value Project IDs.
Contains
Selects objects whose Name or Description property includes a given string of characters anywhere within the property's value. For example, you would use this operator if you wanted to apply a policy to Application Server objects that had the word Fairfax anywhere in their Description property.
Starts With
Selects objects whose Name or Description property begins with a given string. For example, you would use this operator if you wanted to apply a policy only to web services whose name begins with the characters UTIL-.
When specifying match strings for the comparison operators described above, keep the following points in mind:
*Match strings are not case-sensitive. If you define a filter for names that start with ABC, it will select names starting abc and Abc (and other variations) as well as ABC.
*Wild card characters are not supported. That is, you cannot use characters such as * or % to represent any sequence of characters. These characters, if present in the match string, are simply treated as literal characters that are to be matched.
Filtering By Classification Attribute
You can also filter objects based on the way in which they are classified. When you filter objects in this way, CentraSite applies the policy to objects that have at least one classification whose value matches a specified taxonomy category. For example, you could use a classification filter to apply a policy to those Application Servers objects that are classified as JBoss servers.
When you filter objects by classification, CentraSite inspects all of an object's classifications at enforcement time. If any of those attributes contain the exact category specified by the selection criteria, the policy is executed.
Note:  
To satisfy the selection criteria, the attribute value in the object must match the category specified in the selection criteria exactly. Sub-categories of the specified category are not considered to be matches. For example, say you have a taxonomy category called Project ABC, and that category has the subcategories Project ABC Design, Project ABC Development, and Project ABC Deployment. If you filter for category Project ABC, CentraSite will apply the policy to objects that are classified by the specific category Project ABC but not objects that are classified by that category's sub-categories.
To refine the object scope of a design/change-time policy
1. In CentraSite Control, go to Policies > Design/Change Time.
This displays a list of defined design-time and change-time policies in the Design/Change-Time Policies page.
2. Locate the policy whose object scope you want to refine, and select Details from its context menu.
This opens the Design/Change-Time Policy Details page.
3. Select the policy's Scope tab.
4. To filter by Name or Description, perform the following in the Apply policy to objects that meet the following criteria section:
a. Select Name or Description.
b. Select the comparison operator.
c. Specify the match string.
5. To filter by object classification, take the following steps in the Apply policy to objects that meet the following criteria section of the tab:
a. Select Classification.
b. Click Browse and select the category by which you want to filter objects.
6. To specify additional criteria, click the plus button and repeat steps 2 and 3.
Important:  
If you specify multiple filters, the policy is applied only if the object matches all the selection criteria (that is, the selection criteria is combined using an AND operator, not an OR).
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback