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

RIsk and Privilege Parameter of Entitlement API in Saviynt

heyrohan
New Contributor II
New Contributor II

Hello World,


So, I want to change the "Risk" and "Privileged" value of Entitlement :

heyrohan_0-1715605320287.png


In API this is what I am sending in Request Body and getting this Response body, In Header I have given bearer token and content-type.

heyrohan_1-1715605475469.png

Even if in response body it is showing successful in saving,
you can see the risk and privileged value they have not setted properly,
As I have sent Risk = 1 (Very Low), Privileged = 3 (Medium).

Even in Saviynt UI it is showing "None" in both of the column after hiting the API endpoint : 

heyrohan_2-1715605653992.png

Can anyone guide me out here, is this a bug in saviynt API or am I doing something incorrect way ?

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

This looks like defect.

You can set values from 0 to 5 but using API it sets 48-53 hence its not visible on UI.

 

 

 

 

rushikeshvartak_0-1715660547651.png

rushikeshvartak_2-1715660599342.png

rushikeshvartak_3-1715660610000.png

 

 

 

rushikeshvartak_1-1715660584024.png

 

 

Also API response contains typo 

priviliged 
 
Please raise support ticket for defect

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

Hi @rushikeshvartak ,
It is not a defect actually,
I just noticed that I was a mistake of mine.
I am not passing the correct value in Parameter,
So If you notice that , In Risk and Priviledge I am giving value something like : "2" and "3".
This is where problem lies, These are Integer Value and we are passing it as String.
So that's Why API is not giving correct Output.
As Soon as I corrected it, It worked Perfectly.
Here is the Example of Response Body I got : 

heyrohan_0-1715955678115.png

The output in Saviynt UI :

heyrohan_1-1715955711311.png


But one thing is Incorrect that is the spelling mistake of "privilege" in API

Irrespective api should not updated wrong or non- permutable values in database


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