Symantec Messaging Gateway provides a feature that lets you use patterns to detect policy violations. Patterns are regular expressions or system patterns that depict commonly known forms of content, such as the pattern for credit card numbers. Symantec Messaging Gateway provides predefined basic patterns and premium patterns. You can also create your own custom patterns.
All of these patterns are available in the Matches pattern/does not match pattern drop-down list on the Content Filtering Policy Conditions page when you define a policy condition.
Table: Patterns for content filtering policy conditions
Basic patterns are known and performance-tested regular expressions that you can use in a policy or as examples when you create a custom pattern. You can view basic patterns, but these patterns cannot be edited or deleted.
The predefined basic patterns and their syntax are as follows:
Premium patterns perform additional checking and validation (such as Luhn checking) beyond regular expression definitions to reduce false positives. These patterns cannot be viewed, edited, or deleted.
The predefined premium patterns and the policy templates that you can use them with are as follows:
Valid Credit Card
Credit Card Numbers; Customer Data Protection; Employee Data Protection; PIPEDA; State Data Privacy; Payment Card Industry Data Security Standard; Gramm-Leach-Bliley
Valid IP Address
Valid Social Security Number
HIPAA; Gramm-Leach-Bliley; US Social Security Numbers; Individual Taxpayer Identification Numbers (ITIN); State Data Privacy; Customer Data Protection; Employee Data Protection
The Valid Credit Card and Valid Social Security Number patterns differ from the Credit Card and Social Security Number patterns that are provided in the basic patterns. The valid patterns contain a rules checking feature to help insure their completeness and accuracy.
You can create your own custom pattern with the syntax that you copy from a basic pattern or regular expressions. You can view, edit, and delete custom patterns. An example of a custom pattern is a pattern for non-US phone numbers.
You should consult an advanced resource on regular expressions to construct your own patterns.