In the following example, you want to ensure that Rule 1 and at least one of the other rules matches for the category to be applied. The following diagram shows the settings on all of the elements:
By manipulating the category threshold and the rule weights, you can meet your requirement. For example, if a resource was processed that only had matches with rules one and four:
Resource Match Strength | Rule Weight | Rule Score (Match Strength x Rule Weight) | |
Rule 1 | 1 | 3 | 3 |
Rule 2 | 0 | 1 | 0 |
Rule 3 | 1 | 1 | 1 |
Rule 4 | 0 | 1 | 0 |
Total | 4 |
To determine if categorization could occur, compare the total rule scores to the category threshold:
Total rule scores | 4 |
Category threshold | 4 |
Since the total rule scores are greater than or equal to the threshold, this is a potential category for the resource, as long as other category settings allow. Note that all rules matching would also result in potential categorization, but that categorization cannot occur without a match on the first rule.
Note that other settings on a category may affect categorization. For more information, see How Categories Work Together: Mutual Exclusivity, Strict Ordering and Inheritance.
Rules do not impact your categorization until you associate them with a category, however all resources are always evaluated against all rules in the classification system once they are enabled.
You can work with rules using the following methods:
When you create a rule, by default it is disabled. Before a rule can affect categorization, it must be both enabled and associated with a category.
It is important to test a rule to ensure it is performing as desired before associating it with a category. If you plan to reuse rules across more than one category, ensure you take this into account when developing them. You should not refine it in a way that meets the needs of one situation but not all others. For more information, see Managing Rules in the Classification System.
A rule uses text extractors to identify text of interest, and then applies logic to define all necessary criteria for a rule to pass.
Quest One Identity Manager includes a number of text extractors, including some not referenced in the sample taxonomies. For a list of sample text extractors available for you to use in rules, see Sample Advanced Text Extractors Details.
To create a rule using the web portal
To add a rule to the classification system with PowerShell
You can write rules using the format described here. The following example illustrates how to write a rule using XML. In this case, the rule is designed to use text extractors to find instances of “name” and “address” as well as “ssn” within a resource, with specified strength of match values.
<if>
<and within=”500”>
<find id=”name”/>
<find id=”address”/>
</and>
<match strength=”0.75”/>
</if”>
<if>
<find id=”ssn” mincount=”10”/>
<match strenth=”1.0”/>
</if>
This rule contains two <if> elements that are evaluated in order; if the first <if> applies, then the second is not evaluated. Each <if> has two sub-elements; the first is a condition, and the second is an action. If the condition matches, then the action is applied.The <find> element is used to invoke a text extractor. In the rule XML, the text extractor is referred to by its ID.The <match> action indicates that the rule is a match, and provides a strength-of-match representing the level of certainty. For information on how match strength affects categorization, see How Rules Affect Categorization.
© 2025 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center