Creating rules

A rule is a combination of conditions that you define and an action to perform when the conditions are met. Rules are evaluated every hour on all files that have been hashed by Taniumâ„¢ Index. When all of the conditions of a rule are matched, an action is triggered. For example, you can label files that contain matches to social security number patterns as confidential. You can apply multiple rules to target the same files so you can discover many types of sensitive information in the same file set.

Criteria for rule evaluation

See Reference: Supported file types for rule evaluation.

Rule conditions

Rule conditions are criteria that determine if a file matches the rule. The following are the types of conditions that you can apply to a rule:


Use filters to limit the rule to files that match. Filters include file type, file location, file modification date, and file size. If you do not specify any filters, the rule applies to all eligible files on the endpoints from the computer groups specified in the rule set.


Use patterns to find sensitive data in files that match the filters. Patterns include credit cards, social security numbers, email addresses, passwords, and phone numbers.

Pattern group

Use pattern groups to find combinations of patterns that are in close proximity to each other within a file.

Create a rule

  1. From the Reveal menu, click Rules. Click New Rule.
  2. Enter a name and description for the rule.
  3. Select one or more rule sets to contain the rule. Click Add Rule Set and select the rule sets you want to associate with the rule. Click Save.
  4. Add one or more conditions. Rules must contain at least one condition.
    • For file conditions, click Add Filter and select the criteria that you want the rule to cover. Repeat to add another filter. For a list of file types, see Reference: Supported file types for rule evaluation.
    • To match a pattern, click Add Pattern and select the pattern to match. Repeat to add another pattern.
    • To add a proximal pattern match, click Add Pattern Group. A rule can contain one pattern group.
      1. For Proximity, select the maximum number of characters that the patterns can be from each other.
      2. In the pattern group, click Add Pattern and select a pattern to include in the match. Repeat to add a second pattern. A pattern group must contain at least two patterns.

      Each instance that matches the pattern group results in a rule match. For example, you can create a pattern group that searches for email addresses and password text that appear within 100 characters of each other. If there are four email addresses that appear within 100 characters of the word "password", Reveal creates five rule matches: four for the email addresses and one for the word "password".

  5. Select the action to perform when all the conditions match. To add a label to files that match the conditions of the rule, click Label the affected files, select one or more labels, and click Apply.
  6. Click Save.

Deploy rules

Reveal deploys rules to endpoints through a rules package. Rules packages also contain information that maps rules to rule sets and determines how endpoints in specific computer groups monitor for rules. Multiple rule sets can apply to an endpoint; and all rules in all of the applicable rule sets are evaluated.

Rules are automatically included in the next scheduled deployment when you update existing rules or create new rules. To immediately deploy updated rules, click Deploy Rules, enter your credentials, and click OK .

Last updated: 8/28/2019 8:36 AM | Feedback