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.
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.
Use pattern groups to find combinations of patterns that are in close proximity to each other within a file.
- From the Reveal menu, click Rules. Click Create Rule.
- Enter a name and description for the rule.
- Select one or more rule sets to contain the rule. Click Add Rule Sets and select the rule sets you want to associate with the rule. Click Assign.
- [Optional] Add filters to limit the files to target. Under Rule Filters, 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.
- Under Rule Patterns, add one or more rule patterns. Rules must contain at least one condition.
- 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.
- For Proximity, select the maximum number of characters that the patterns can be from each other.
- 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".
- Under Rule Actions, click Add to select the action to perform when all the conditions match. To add a label to files that match the conditions of the rule, select Tag the affected files, and select one or more labels.
- Click Save.
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, navigate to the Rules page, click Deploy Rules, enter your credentials, and click OK.
Last updated: 2/7/2020 12:36 PM | Feedback