Symantec IGA

  • 1.  Get Assigned Access Role with Policy Xpress

    Posted Jan 03, 2012 07:32 AM
    Hello everyone,

    First of all, happy new year.

    Now the question.

    I'm trying to use the policy xpress to get an assigned access role and to execute an specific action depending the role.

    The policy is being evaluated After the AssignAccessRoleEvent. The policy is being correctly executed but I don't know how I can get the name of the role.

    Does anyone know how can I get the role name that was previously added to a user?

    Thanks in advance.


    Best regards,
    Fábio Santos


  • 2.  RE: Get Assigned Access Role with Policy Xpress
    Best Answer

    Posted Jan 04, 2012 01:53 AM
    Hello, Fabio!

    Your best bet here is to use a BLTH to obtain the name of the role for that event.

    Unfortunately Policy Xpress does not currently provide the capability to access secondary objects passed to an event. On each of the Assigned or Revoked role events within Identity Manager, the role itself is passed as the secondary object (with the user or subject of the event passed as the primary object). If you really want to pursue using Policy Xpress for this type of functionality, an alternative approach could be to "stamp" a hidden screen logical attribute on Set Subject for a task with the user's existing set of roles and then compare that user's set of roles to the stamp when the event is raised. Where this alternative becomes a little more complex is when differing roles can be assigned automatically in other asynchronous Policy Xpress policies. This can lead to a situation where the AssignAccessRoleEvent can be raised more than once at the same time and execute your policy at the same time. In this scenario your policy may not be able to actually determine which role has been added without a good set of logical checks.


  • 3.  RE: Get Assigned Access Role with Policy Xpress

    Posted Jan 04, 2012 06:47 AM
    Hello dane_jones,

    First of all thanks for your answer.

    That was my suspect, I looked at all the available options in the policy xpress and none of them were able to get the secondary object passed in an event.

    I will implement this with a Listener that will be "listening" for the AssignAccesRoleEvent/RevokeAccessRoleEvent.

    From my point of view, Policy Xpress has great potential but CA needs to improve it, implementing more functionalities.

    Once again, thanks.


    Best regards,
    Fábio Santos

    dane_jones wrote:

    Hello, Fabio!

    Your best bet here is to use a BLTH to obtain the name of the role for that event.

    Unfortunately Policy Xpress does not currently provide the capability to access secondary objects passed to an event. On each of the Assigned or Revoked role events within Identity Manager, the role itself is passed as the secondary object (with the user or subject of the event passed as the primary object). If you really want to pursue using Policy Xpress for this type of functionality, an alternative approach could be to "stamp" a hidden screen logical attribute on Set Subject for a task with the user's existing set of roles and then compare that user's set of roles to the stamp when the event is raised. Where this alternative becomes a little more complex is when differing roles can be assigned automatically in other asynchronous Policy Xpress policies. This can lead to a situation where the AssignAccessRoleEvent can be raised more than once at the same time and execute your policy at the same time. In this scenario your policy may not be able to actually determine which role has been added without a good set of logical checks.


  • 4.  RE: Get Assigned Access Role with Policy Xpress

    Posted Jan 04, 2012 03:09 PM
    I've forwarded your comments along to the development team. Thanks for the feedback, Fabio.


  • 5.  Re: Get Assigned Access Role with Policy Xpress

    Posted May 26, 2016 06:00 PM

    Can you access any secondary object within any of the PX policy event types, specifically the UI event type, or is it only possible within a BLTH? This becomes even more of a challenge when considering services, within Identity Manager, since all services are treated as secondary objects within the standard service request tasks i.e. task tag ManageMyAccessRequest.

     

    When reviewing this document:

    https://communities.ca.com/docs/DOC-97906232

    it stipulates that secondary events can't be accessed via event and task event types but it doesn't say it isn't possible with UI event type.