Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Endpoint query in campaign

NM
Honored Contributor II
Honored Contributor II

Hi Team,

We have a use case where we have to launch campaign via user update rule and it is supposed to be launched for all child endpoint of logical AD application not parent.

we tried few queries by using join and subquery including parent endpoint key and security system key but it didn't work.

Has anyone used query for endpoint configuration?

Query tried - 

and ep.id in (Select epc.endpointkey from endpoints epc, endpoints epp where epc.parentendpointkey = epp.endpointkey and epp.endpointname = 'Applications')

 

and ep.id in (select e.endpointkey from endpoints e where e.securitysystemkey in (select ss.systemkey from securitysystems ss where ss.systemname ='') and ep.endpointname!=''

21 REPLIES 21

rushikeshvartak
All-Star
All-Star

and ep.id in (select epc.id from Endpoints epc, Endpoints epp where epc.parentEndpointkey= epp.id and epp.endpointname = 'Applications') 

rushikeshvartak_0-1725514190616.png

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Honored Contributor II
Honored Contributor II

@rushikeshvartak didn't work. endpoint query didn't work ... sub query shows record in Saviynt data analyzer

NM_1-1725519851329.png

 

error- 

NM_0-1725519673768.png

Thanks

use simple query 

and ep.parentEndpointkey=11


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Honored Contributor II
Honored Contributor II

@rushikeshvartak shows invalid SQL Query in campaign configuration.

indra_hema_95
Regular Contributor III
Regular Contributor III

Hi @NM Can you try this once?

Select epc.endpointkey from endpoints epc where epc.parentendpointkey = (Select epp.endpointkey from endpoints epp where epp.endpointkey=epc.parentendpointkey) and epc.endpointname like '%AD%';

Regards,

Indra

NM
Honored Contributor II
Honored Contributor II

@indra_hema_95 , where in data analyzer .. endpoint query in campaign doesn't support select query.

indra_hema_95
Regular Contributor III
Regular Contributor III

@NM I have just given you the inside query to check in data analyzer first.

Then you can frame it. 

and ep.id in (Select epc.endpointkey from endpoints epc where epc.parentendpointkey = (Select epp.endpointkey from endpoints epp where epp.endpointkey=epc.parentendpointkey) and epc.endpointname like '%AD%')

Regards,

Indra

NM
Honored Contributor II
Honored Contributor II

@indra_hema_95 I have already tried similar result was same no campaign created.

I even tried with security system key .. same case.

  • I used and ep.parentEndpointkey=1 and its working 
  • rushikeshvartak_0-1725551731477.pngrushikeshvartak_1-1725551767745.pngrushikeshvartak_2-1725551783623.png

     


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Honored Contributor II
Honored Contributor II

@rushikeshvartak 2 questions 

Which version and is this entitlement owner campaign?

With user manager it doesn't give right result..

  • Yes Entitlement owner campaign
  • 23.9 
  • I will validate for UM

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Honored Contributor II
Honored Contributor II

Yes Thank you ..

Whenever I add above query it says invalid SQL for UM

NM
Honored Contributor II
Honored Contributor II

@rushikeshvartak any update??

Its working for UM also 

rushikeshvartak_0-1725628976600.png

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Honored Contributor II
Honored Contributor II

@rushikeshvartak can you please share the filter??

rushikeshvartak_0-1725629412168.png

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Honored Contributor II
Honored Contributor II

Hi @rushikeshvartak , not working for yes.. we are on 24.5 so maybe a bug in the version.

NM
Honored Contributor II
Honored Contributor II

@rushikeshvartak could it be a bug?

We are on 24.5 

You can raise support ticket they can confirm on specific version


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

dgandhi
All-Star
All-Star

Use this simple query

dgandhi_0-1725629814301.png

For all the child endpoint, set CP25='Yes'

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

NM
Honored Contributor II
Honored Contributor II

@dgandhi , we have this approach in our bucket already, but keeping it as a second option because we have around 100 child application.