Maximum number of terms for expression filtering

This knowledge article does not apply to expression filtering V3.

Companies can enforce Expression Filtering (EF) to reduce the risk of employees sending inappropriate content, like profanity, which would negatively impact their firm's reputation or compliance rules.

  • The maximum number of terms for an active Expression Filtering policy is 1000.
  • Only active policies are taken into consideration when calculating the number of terms in use.
    • For these active policies, only those that have rules of variable TEXT_MATCH are collected and their associated dictionaries IDs retrieved. 
  • A policy includes rules and dictionaries.
    • Dictionaries are only associated with a rule. That means when a dictionary is added to a policy, this dictionary is then associated with all the rules under the policy.

Example: Policy with 2 rules, where both rules refer to the same dictionary ID (highlighted in red)

{
'_id' : ObjectId('5b775df097a1c000018caaf1'),
'policyId' : '5b775df097a1c000018caaf1',
'version' : '1.3',
'name' : 'msgRegexPolicy',
'creatorId' : '68719476737',
'scopes' : [
'Internal'
],
'appliesTo' : [
{
'dataType' : 'Messages',
'action' : 'LogOnly',
'rules' : [
{
'id' : 'ab7df28f-c1cd-4b4a-85af-eab4f69e7146',
'type' : 'TEXT_MATCH',
'name' : '',
'textMatchConfig' : {
'dictionaries' : [
{
'dictId' : '5b775dc097a1c000018caaed',
'version' : '1.1',
'name' : '1regex'
}
],
'countUniqueOccurrences' : 1,
'applicableFileTypes' : []
}
}
]
},
{
'dataType' : 'FileContent',
'action' : 'LogOnly',
'rules' : [
{
'id' : 'c2493873-6632-4e9e-a167-f520b132477f',
'type' : 'TEXT_MATCH',
'name' : '',
'textMatchConfig' : {
'dictionaries' : [
{
'dictId' : '5b775dc097a1c000018caaed',
'version' : '1.1',
'name' : '1regex'
}
],
'countUniqueOccurrences' : 1,
'applicableFileTypes' : [
'PDF',
'WORD',
'EXCEL',
'POWERPOINT',
'ZIP',
'TXT'
]
}
}
]
}
],
'active' : true,
'deleted' : false,
'creationDate' : '1534549488972',
'lastUpdateDate' : '1534806661682',
'lastDisabledDate' : '1534552416437',
'systemPolicy' : false
}
  • Total active terms are calculated for both messages and files. For example, if a dictionary has 10 terms, the Expression Filtering for these 10 terms is applied to both messages and files. This means the total active terms for the policy is 20.