dlpcustom
Create customized expressions if none of the predefined expressions meet your requirements.
Expressions are a powerful string-matching tool. Ensure that you are comfortable with expression syntax before creating expressions. Poorly written expressions can dramatically impact performance.
When creating expressions:
Refer to the predefined expressions for guidance on how to define valid expressions. For example, if you are creating an expression that includes a date, you can refer to the expressions prefixed with "Date".
Note that OfficeScan follows the expression formats defined in Perl Compatible Regular Expressions (PCRE). For more information on PCRE, visit the following website:
Start with simple expressions. Modify the expressions if they are causing false alarms or fine tune them to improve detections.
There are several criteria that you can choose from when creating expressions. An expression must satisfy your chosen criteria before OfficeScan subjects it to a Digital Asset Control policy. Choose one of the following criteria for each expression:
Criteria for Expressions |
Criteria |
Rule |
Example |
None |
None |
American people’s names
|
Specific characters |
An expression must include the characters you have specified. In addition, the number of characters in the expression must be within the minimum and maximum limits. |
ABA routing number
|
Suffix |
Suffix refers to the last segment of an expression. A suffix must include the characters you have specified and contain a certain number of characters. In addition, the number of characters in the expression must be within the minimum and maximum limits. |
Home address, with zip code as the suffix
|
Single- |
An expression must have two segments separated by a character. The character must be 1 byte in length. In addition, the number of characters left of the separator must be within the minimum and maximum limits. The number of characters right of the separator must not exceed the maximum limit. |
Email address
|
To add an expression:
Networked Computers > Digital Asset Control > Definitions
Click the Expressions tab.
Click Add. A new screen displays.
Type a name for the expression. The name must not exceed 100 bytes in length and cannot contain the following characters:
> < * ^ | & ? \ /
Type a description that does not exceed 256 bytes in length.
Type the expression and specify whether it is case-sensitive.
Type the displayed data. For example, if you are creating an expression for ID numbers, type a sample ID number. This data is used for reference purposes only and will not appear elsewhere in the product.
Choose one of the following criteria and configure additional settings for the chosen criteria:
None
Specific characters
Suffix
Single-character separator
See Customized Expressions for details about the criteria and additional settings.
Test the expression against an actual data. For example, if the expression is for a national ID, type a valid ID number in the Test data text box, click Test, and then check the result.
Click Save if you are satisfied with the result.
Save the settings only if the testing was successful. An expression that cannot detect any data wastes system resources and may impact performance.
A message appears, reminding you to deploy the settings to clients. Click Close.
Back in the Digital Asset Definitions screen, click Apply to All Clients.
To add an expression using the "copy" option:
Use this option if an expression you want to add has similar settings with an existing expression.
Networked Computers > Digital Asset Control > Definitions
Click the Expressions tab.
Select a customized expression and then click Copy. A new screen appears.
Type a unique name for the expression. The name must not exceed 100 bytes in length and cannot contain the following characters:
> < * ^ | & ? \ /
Accept or modify the other settings.
Click Save.
A message appears, reminding you to deploy the settings to clients. Click Close.
Back in the Digital Asset Definitions screen, click Apply to All Clients.
To add expressions using the "import" option:
Use this option if you have a properly-formatted .dat file containing the expressions. You can generate the file by exporting the expressions from either the OfficeScan server you are currently accessing or from another OfficeScan server. For details about exporting expressions, see To export expressions:.
Networked Computers > Digital Asset Control > Definitions
Click the Expressions tab.
Click Import and then locate the .dat file containing the expressions.
Click Open. A message appears, informing you if the import was successful. If an expression to be imported already exists in the list, it will be skipped.
Click Apply to All Clients.
To modify an expression:
Networked Computers > Digital Asset Control > Definitions
Click the Expressions tab.
Click the name of the expression that you want to modify. A new screen appears.
Modify the settings.
Click Save.
A message appears, reminding you to deploy the settings to clients. Click Close.
Back in the Digital Asset Definitions screen, click Apply to All Clients.
Use the "export" option to back up the customized expressions or to import them to another OfficeScan server.
All customized expressions will be exported. It is not possible to export individual customized expressions.
Networked Computers > Digital Asset Control > Definitions
Click the Expressions tab.
Click Export.
Save the resulting .dat file to your preferred location.
To delete expressions:
It is not possible to delete an expression that is being used in a digital asset template. Delete the template before deleting the expression.
Networked Computers > Digital Asset Control > Definitions
Click the Expressions tab.
Select the expressions that you want to delete and click Delete.
Click Apply to All Clients.
See also: