Software AG Products 10.7 | Using CentraSite | Policy Management | Managing Design Time Policies through CentraSite Business UI | Scope of a Design Time Policy | Refining the Object Scope
 
Refining the Object Scope
To further restrict the set of objects to which the policy is applicable, you can specify additional selection criteria in the Filter criteria section of the Scope profile. 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 want to apply a policy only to Taxonomy objects with the Description value Project IDs.
Contains
Selects objects whose Name or Description property includes a given string of characters anywhere within the value of the property. For example, you would type Fairfax in the Value field to use this operator if you wanted to apply a policy to Application Server objects that has the word Fairfax anywhere in their Description property.
StartsWith
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, remember these points:
*Match strings are not case-sensitive. If you define a filter for names that start with ABC, it will select names with 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 the classifications for an object 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, if 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 the sub-categories of that category.
*To refine the object scope of a design time policy
1. Open the Design Time Policy Details page to view the Design Time policies. For more information, see Viewing Design Time Policy List.
2. Click the policy whose object scope you want to refine.
This opens the Design Time Policy Details page.
3. Select the Scope profile of the policy.
4. To filter by Name or Description, perform the following in the Filter criteria section:
You cannot modify a policy that is in Active state. You must first deactivate a policy before you make any changes.
a. Select Name or Description.
b. Select the comparison operator.
c. Specify the match string.
5. To filter by object classification, perform the following steps in the Filter 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 6 and 7.
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).