Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/22/2024 05:12 PM
I'm looking to develop a report that compares two identities and shows the list of missing entitlements from Identity #2 when compared with Identity #1. Do you have any insights or suggestions on how I could go about creating this report? Thank you.
05/22/2024 08:03 PM
SELECT ev1.entitlement_Value
FROM (
SELECT ev.entitlement_Value
FROM accounts a
JOIN account_Entitlements1 ae ON ae.accountkey = a.accountkey
JOIN entitlement_Values ev ON ev.entitlement_Valuekey = ae.entitlement_Valuekey
WHERE a.endpointkey = 3
AND a.name = '137658'
AND ev.entitlementtypekey = 5
) ev1
LEFT JOIN (
SELECT ev.entitlement_Value
FROM accounts a
JOIN account_Entitlements1 ae ON ae.accountkey = a.accountkey
JOIN entitlement_Values ev ON ev.entitlement_Valuekey = ae.entitlement_Valuekey
WHERE a.endpointkey = 3
AND a.name = '137659'
AND ev.entitlementtypekey = 5
) ev2 ON ev1.entitlement_Value = ev2.entitlement_Value
This query will return the list of entitlements that are present for Identity #1 but missing for Identity #2.