Environment
GWAVA 4/4.5 All builds
Situation
How do I block social security numbers in GWAVA?
Resolution
To block social security numbers we will need to use regular expression in a text filter. For more information about regular expression please go to the following KB article.
https://support.microfocus.com/kb/doc.php?id=7019785
1) Log in to the GWAVA management console
Open the GWAVA Management Console and browse to Server/Scanner Management -> Manage Scanner -> Scanning Configuration -> Text filtering -> subject+body filter.
2) Enter the SSN filter
In 'Add New Filter' field, enter this text:3) Enter the events and Save
/(^|\s)([0-6]\d\d|7[0-6]\d|77[0-2])(-\d\d-|\s\d\d\s|\d\d)(\d\d\d\d)(\s|$)/This filter will block any valid SSN that is separated by spaces and may have spaces or dashes between each number set.
Check the block and quarantine boxFrom this point forward messages with social security numbers will not be allowed to be delivered and the message will be quarantined. It is always a good idea to quarantine these messages at first in case of any false positives and to verify that the filter works correctly.
Click the Green + icon to add the new entry and then Save.
For further customization of the filter please see the regex article mentioned at the beginning of this article.
For further customization of the filter please see the regex article mentioned at the beginning of this article.
For further customization of the filter please see the regex article mentioned at the beginning of this article.
Additional Information
This article was originally published in the GWAVA knowledgebase as article ID 1688.