User Guide
Also available as:

Anonymization Rule Types

Anonymization rules define regular expressions to anonymize sensitive data (like IP addresses, and so on). Each rule uses JSON format to define what to match and the value to replace.

You can define the following types of anonymization rules:

  • Pattern-based - Anonymize data by pattern, using the extract field to match and extract content to anonymize.

  • Property-based - Anonymize structured content. The supported formats are: XML, property, ini, and YAML files.

  • XPath-based - Anonymize XML data using XPATH.

  • JSONPath-based - Anonymize JSON data using JSONPATH.

In addition, there are domain-based rules that can be used to anonymize domain names. They are a special case of pattern rules where the anonymization pattern is build from local host FQDN. The domain-based rules cannot be customized.

For a detailed description of all the fields required to define annonymization rules, refer to Fields Used for Defining Anonymization Rules.


Anonymization rule formats vary between different SmartSense versions. Make sure that you consult the documentation that matches your SmartSense version.