Hello team,
I have more than 400+ applications I need to export them to csv file. Do we have any search or API for this?
Hello team,
I have more than 400+ applications I need to export them to csv file. Do we have any search or API for this?
Hi @rpadigae123 I have a few ideas but also a few questions:
--What exact information do you need about the applications and how much info?
--When you ask about âapplicationsâ, do you mean sources OR the âAccess Applicationsâ objects?
In the list of sources there is not a download button. Also, in the UI, although there is a download button for csv, there is not 1 specific query to JUST return application/sources. However, many different queries against multiple indices could achieve this. But it really depends on what exact data needs to be offloaded into a csv file and what query will achieve a complete list of sources from your tenant.
For example, * against the list of Entitlements will include a column option for source name" - but only those sources that contain entitlements that have been onboarded into Identity Security Cloud. What if the HR/authoritative sources/other sources do not contain entitlements? Then you would have to do a second query against identities to retrieve the authoritative âsource nameâ to collect a more complete list.
If it is just the names of the applications, then a REST API call against GET List of sources contains that info. You would need to parse the name of the object + whatever else you needed and use the script to put it into csv format.
If you need the whole object definition for sources, then you can use Configuration Hub to backup the objects then export it into JSON. You would still need to use a script to collect the ânameâ (and other data) of each source object and put it into a csv file.
Using a REST API Search, I would think a Search Query Aggregation could achieve this. It might still require some pagination of results + parsing of the specific data you seek to collect.
Hello @amy_shillinglaw ,
We are conducting the audit where we need to download all the details in excel and sent it to Audit team.
Example i ran the API call for Source, it will list all the soruces which are there in tenant i will download it and send it to audit.
Similar i used the search function for searching the access profiles and entitlment details and event logs and downloaded to the file and send it to audit team.
Same way i want to download the applications details, in which should give me application name and owner of the application and which access profile are attached to that applications
So i dont have any search function or API call for this , So want to know how to acheive this ?
Hi @rpadigae123 Got it. Thanks for confirming that you are looking for cloud Applications(not sources).
With the REST API, look for APPS in the collections. You will need at least 2 APIs to complete this task:
1.) Get a list of all Applications. The response will include name, id, and owner{}. The endpoint is available in the beta or v2024 collections (v2024 is preferred):
https://developer.sailpoint.com/docs/api/v2024/list-available-source-apps
*Note that if you use the v2024 endpoint, you will need to include the X-SailPoint-Experimental header and set it to true.
2.) To get a list of access profiles within a single source, provide the âidâ value of each source to this API - also experimental:
https://developer.sailpoint.com/docs/api/v2024/list-access-profiles-for-source-app
NOTE: The list of APs within each source is not part of the âlist allâ response data.
Also, these do not currently appear in the Postman collections. But I tested, and they both work to return the desired data.
Happy scripting! I hope this achieves the goal of the task.
Hello @amy_shillinglaw ,
this is not working for me please find the attached screen shot and let me know if am doing it correctly
Hi @rpadigae123 When using Postman, the experimental header goes in the headers page/tab, not the Query Parameters. Try this and let me know if the request is successful for you:
Wait wait It worked @amy_shillinglaw I was using the source id.
i used application id it was able to fetch the information.
@rpadigae123 NICE! So glad it worked for you!
Thanks @amy_shillinglaw you are really awesome reaching out sailpoint compass community is very easy, I always post questions within no time I get a response from you. Thank you so much once again. I have one last question see if you can help with this
Question : I need to pull the system activity details do we have search function or API call for this ?
Hi Rajesh, Thanks so much! Iâm glad to help, truly.
For this question, it depends on what âsystem activityâ means to this task - what kind and how much. You could simply download all Event and Account Activity data or offload it into an Integration. With Events, you get login and password reset info, source aggregations, etc. A lot of data.
If you know the TECHNICAL NAME of the event you need to capture, you can search for it. This document outlines them:
https://community.sailpoint.com/t5/IdentityNow-Forum/Audit-Events-and-Search-Equivalents/m-p/259802
For example:
technicalName:SOURCE_CREATE_PASSED OR technicalName:SOURCE_PASSWORD_INTERCEPT_PROCESSED OR technicalName:PROVISION_CHANGE_PASSED
Hopefully you find the audit events you need in that doc above?