DLP has two built-in Advanced Pattern definitions for use with Social Security Numbers (SSN):
- US Social Security Number
- US Social Security Number Randomization
In 2011, the Social Security Administration (SSA) introduced randomization as a new method to create SSNs. As a result, DLP added the "
US Social Security Number Randomization" Advanced Pattern built-in definition which included
US Social Security Number Randomization Number validator.
In all currently supported versions of DLP, the
US Social Security Number built-in definition is updated to include regular expression (RegEx) patterns which support both SSN randomization and legacy (pre-June 25, 2011) SSNs.
The
US Social Security Number Randomization built-in Advanced Pattern definition is
deprecated and it contains the following statement in the definition description field:
"The Social Security Number advanced pattern now supports Social Security Number Randomization as well as the legacy Social Security Number advanced pattern. This deprecated advanced pattern will be removed in future version."
Also, while the
US Social Security Number Randomization Number validator can be used in custom Advanced Pattern definitions, it's not updated to recognize current SSNs and might not work as expected. The RegEx patterns in the
US Social Security Number built-in Advanced Pattern is designed to exclude invalid numbers and must be used in place of the validator.