Requester-v1 Ruby Script appears to no longer operate properly. This was used to bulk request roles or bulk remove roles from users using a csv file

This was used to bulk request roles or bulk remove roles from users using a csv file. This script was developed by Rakesh Kapoor to bulk request profiles from a user but i no longer see this on the professional services documentation site. The CSV would have the following fields:
A: Lanid
B: Role Name
C: Notes for request
D: GRANT_ACESS or REVOKE_ACCESS

This seems to be getting hung on a role hash mapping step as of the last month or so does anyone use a similar script?

We are till now using the same script for the past 3 to 4 months.
The script is still available in the professional services documentation site
https://community.sailpoint.com/t5/Professional-Services/IdentityNow-Bulk-AccessProfile-and-Role-Importer/ta-p/77382 and the bugs inside this script has been corrected i guess.

I am familiar with the Bulk Access Profile and Role importer tool. This other script the bulk requester tool was different and used to bulk create access requests or bulk create revoke requests. I do not recall this being a possible command within the script you listed above

Most likely because the script is using cc/api which are deprecated. You may have to modify the script to use current V3 or Beta APIs

1 Like

Hi @cwellman

Yes, agree with @iamnithesh. Sailpoint has depreciated the cc and v2 API last month and it was communicated as well to all their customers. There are new V3 and beta APIs that have been released as their replacement.

The final depreciation happened for us on 22nd of June,2024 but after changing the endpoints of older API the issue was resolved for us.

May be better to double check the response json structure of the new API to make sure that it works smoothly.

Do you know if there is any particular API that is failing for your case ?

Thank You.
Regards
Vikas.

2 Likes

All of the APIs within this script are v3 I verified that none of them are deprecated. I will check into the response JSON structure to ensure it operates smoothly

3 Likes

Would you mind sharing the link to download the script? Or the script itself

Here is the Requester-v1 script and the scrubbed config file. I have also attached the readme file
requesterREADME.md (5.0 KB)

configScrubbed.json (291 Bytes)
requester-v1.rb (12.4 KB)

Here is a screenshot of the ruby file you shared, and I still see cc/api being used
uri >> http >> request >> response

That is a great catch, I was vetting the script for /v1/ and /v2/ did not realize the /cc/ were also included in deprecation. I will correct these and see if it works as expected. Thanks! Would you happen to know the sufficient replacement of V3 or Beta APIs? or if it is not 1 to 1? Or a better question is there a more efficient or newly updates script for bulk role requests and bulk role removal requests?

cc APIs are the ones to be deprecated recently.

You will find beta API related to Access requests

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.