Privileged Account request notification mail start_date is not correct
search cancel

Privileged Account request notification mail start_date is not correct

book

Article ID: 7353

calendar_today

Updated On:

Products

CA Virtual Privilege Manager CA Privileged Identity Management Endpoint (PIM) CA Privileged Access Manager (PAM)

Issue/Introduction

We are using TEC1679547 for to set date/times to have the local timezone in approval emails.

The Day for start_date is 1 day ahead.

 

For example, in the email:

Request start date: June 13, 2017 8:57:00 AM EST

Request valid until: June 12, 2017 11:57:00 AM EST

 

This should be:

Request start date: June 12, 2017 8:57:00 AM EST

Request valid until: June 12, 2017 11:57:00 AM EST

 

Environment

Release: ACP1M005900-12.9-Privileged Identity Manager
Component:

Resolution

From 12.9 and above, and if you apply fix T51S038 to 12.8CF3, you need to replace the following:

 

_eventContextInformation.getSecondaryObjectAttribute("START_DATE", ""); 

_eventContextInformation.getSecondaryObjectAttribute("VALID_UNTIL", ""); 

 

With:

 

_eventContextInformation.getSecondaryObjectAttributeForDate("START_DATE", ""); 

_eventContextInformation.getSecondaryObjectAttributeForDate("VALID_UNTIL", ""); 

 

This will insure correct conversion of datetimes to localtime.