Using Custom Attributes as Variables in email response rules

book

Article ID: 160755

calendar_today

Updated On:

Products

Data Loss Prevention Enforce

Issue/Introduction

Adding custom attribute variables to email notifications

Resolution

There is a way to use custom attributes as variables in an email response rule. The way to do it is as follows:

Note: To add a gray status bar at the bottom of the I.E. Window, Select "View from the Internet Explorer toolbar menu and make sure "Status Bar" is checked. 

 

 

 

If you did not change or add Custom Attribute Groups (e.g. Default is the only one), follow the instructions below.

1. Log on to Symantec Data Loss Prevention as an administrator.

2. Under Administration navigate to Settings, then to the Custom Attribute page.

3. For each custom attribute that you would like to add to the notification email, mouse over it or left click on it to reveal its properties. The properties may show up in a bar at the bottom of the screen or in a pop-up box. You are looking for the number of the custom attribute. The attribute numbers may appear in parentheses. For example, FirstName may reveal ("24") and LastName may reveal ("25"). Copy each attribute name and corresponding number for all the custom attributes that will be added to the notification email.

4. Under Policy, navigate to Response Rules, add an email notification response rule, and set up the email response. Wherever the custom attribute should appear, enter $ATTRIBUTE_<attribute number>$. For example, using the custom attributes FirstName and LastName, the email salutation in the rule email would appear as follows:  

Dear $ATTRIBUTE_24$ $ATTRIBUTE_25$,  

 which would yield Dear Joe Smith in the email notification to Joe Smith, if Joe Smith was the policy violator.

5. Please note that deletion of any of the custom attributes used in the email notifications, or problems with the initial attribute lookup, will prevent email notifications from working properly.

 

 

 

 

If you did change or add Custom Attribute Groups to help you better manage your custom attributes, follow the instructions below.

1. Open a command window and start SQL*Plus.

2. Log in as the Protect user and run the following query: select * from customattributedefinition.

3. Note the columnindex numbers for each custom attribute you want to use in the email.

4. Return to the Symantec Data Loss Prevention user interface and, under Policy, navigate to Response Rules, add an email notification response rule, and set up the email response. Wherever the custom attribute should appear, enter $ATTRIBUTE_<columnindex number>$. For example, using the custom attributes FirstName and LastName, the email salutation in the rule email would appear as follows:

 

 

Dear $ATTRIBUTE_2$ $ATTRIBUTE_3$,

which would yield Dear Joe Smith in the email notification to Joe Smith, if Joe Smith was the policy violator.

5. Please note that deletion of any of the custom attributes used in the email notifications, or problems with the initial attribute lookup, will prevent email notifications from working properly.

See TECH221719 for information on what variables can be used in Response Rules.