PAM Event Filter by path instead of name

Avatar
  • Open

I enabled PAM for one of my Windows 11 computer and ran the UPS Worldship program as Administrator so I could approve the elevation.  I then went to create a rule out of the request so it will be autoapproved, but the request does not go by path.  It goes by the display name of the program.  Is there a way to code the Event Filter rule so it goes by path, instead of display name which might change with versions?

Here is the rule that was created:

Event.EventType = 'EncounteredElevationPrompt' AND 

GETDATAFIELD(Event.Data, 'ProgramName') = 'UPS WorldShip® Shipping System' 

AND GETDATAFIELD(Event.Data, 'User') = 'Mydomain\MyUser'

I was hoping there was a way to modify the GETDATAFIELD(Event.Data, 'ProgramName') to check for a path instead.  Is there an option for something like 'ProgramPath' or something like that?