Ignoring Terms

Describes how Philter can be set to ignore certain values.

Philter can optionally ignore a list of terms and prevent those terms from being filtered. For example, if the name "John Smith" is being redacted and you do not want it to be redacted, you can add "John Smith" to an ignore list. Each time Philter identifies sensitive information it will check the ignore lists to see if the sensitive information is to be ignored.

Ignore Lists

Ignore lists can be specified at the filter profile level and/or at the level of each type of filter. When set at the filter profile level, the list of ignored terms will be ignored for all filter types. When set at the level of a filter, the list of ignored terms will be ignored only for that filter.

Ignore List at the Filter Profile Level

In the filter profile shown below, an ignore list is set at the level of the filter profile. The terms specified in the list will be ignored for all filter types. Only the terms property is required. The name and caseSensitive properties are optional.

{
"name": "email-and-phone-numbers",
"ignored": [
{
"name": "names to ignore",
"terms": ["john smith", "jane doe"],
"caseSensitive": false
}
],
"identifiers": {
"emailAddress": {
"emailAddressFilterStrategies": [
{
"strategy": "REDACT",
"redactionFormat": "{{{REDACTED-%t}}}"
}
]
}
}
}

Ignore List at a Filter Level

In the filter profile shown below, an ignore list is set at the level of a filter. The terms specified in the list will be ignored only for that filter type. Each filter can have its own ignore list. The terms listed will be ignored case-sensitive, meaning, "John" will be ignored if "John" is an ignored term but will not be ignored if "john" is an ignored term.

{
"name": "email-and-phone-numbers",
"identifiers": {
"emailAddress": {
"ignored": ["john smith", "jane doe"],
"emailAddressFilterStrategies": [
{
"strategy": "REDACT",
"redactionFormat": "{{{REDACTED-%t}}}"
}
]
}
}
}