Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Query to fetch Other entitlement details

Sakshi2806
New Contributor
New Contributor

We have a case where we are required to build one query that should fetch entitlement value along with other entitlement details (it has a tab called Parent entitlement)

Sakshi2806_0-1711603403395.png

I know there is a way around to fetch child parent entitlement .However, I still want to fetch details from other entitlement details tab.

Is it possible, can anyone guide me to correct table I should use?

Thanks

Sakshi 

 

4 REPLIES 4

rushikeshvartak
All-Star
All-Star

Refer https://forums.saviynt.com/t5/identity-governance/analytics-report-of-entitlement-map/m-p/83502


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Sakshi2806
New Contributor
New Contributor

Hi Rushikesh,

This will only help to fetch entitlement map values. How can I fetch parent entitlement value . I am unable to find table for it.

Sakshi2806_0-1711612909350.png

 

 

SELECT DISTINCT pep.endpointname      AS 'Parent Entitlement Endpoint',
                pev.entitlement_value AS 'Parent Entitlement Name',
                pet.displayname       AS 'Parent Entitlement Type',
                cep.endpointname      AS 'Child Entitlement Endpoint',
                cev.entitlement_value AS 'Child Entitlement Name',
                cet.displayname       AS 'Child Entitlement Type'
FROM   entitlements2 e2,
       entitlement_values pev,
       entitlement_types pet,
       endpoints pep,
       entitlement_values cev,
       entitlement_types cet,
       endpoints cep
WHERE  e2.entitlement_value1key = pev.entitlement_valuekey
       AND pet.entitlementtypekey = pev.entitlementtypekey
       AND pet.endpointkey = pep.endpointkey
       AND e2.entitlement_value2key = cev.entitlement_valuekey
       AND cet.entitlementtypekey = cev.entitlementtypekey
       AND cet.endpointkey = cep.endpointkey
       AND pep.status = 1 

rushikeshvartak_0-1711634237196.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Sakshi2806
New Contributor
New Contributor

Thanks @rushikeshvartak , entitlements2 is the table I was looking for.