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

Assigning owners to the serviceaccount from the savrole users

Neeharika008
New Contributor
New Contributor

Hi Team,

As per the saviynt only account owner can modify the service account. As we want the users that are assigned to one savrole should also has the access to modify service account. 

To achieve that we have created run time analytics to get the service accounts with the users assigned to that role. 

Using SAV4SAV rest with account import we are calling the analytics and mapping the securitysystem, endpoint username and rank and using update account we are trying to add the owners to the account. Result of first call is as below.

responseText:{"displaycount":5,"msg":"success","totalcount":5,"results":[{"accountid":"TestAccount","ownerRank":"5","systemName":"Test","name":"TestAccount","endPointName":"Test","ownerAction":"add","username":"121"},{"accountid":"TestAccount","ownerRank":"5","systemName":"Test","name":"TestAccount","endPointName":"Test","ownerAction":"add","username":"122"},{"accountid":"TestAccount","ownerRank":"5","systemName":"Test","name":"TestAccount","endPointName":"Test","ownerAction":"add","username":"123"},{"accountid":"TestAccount","ownerRank":"5","systemName":"Test","name":"TestAccount","endPointName":"Test","ownerAction":"add","username":"124"},{"accountid":"TestAccount","ownerRank":"5","systemName":"Test","name":"TestAccount","endPointName":"Test","ownerAction":"add","username":"125"}],"errorcode":"0"}

And we have to use the above result as a input to the update account API as below :

{
    "securitysystem": "Test",
    "endpoint": "Test",
    "name": "TestAccount",
    "accountowner": [
        {
            "type": "user",
            "value": "121",
            "rank": "5",
            "action":"add"
        }
    ]
Can someone let us know how can we provide in the httpparms with the multiple owners for multiple accounts.
 

 

1 REPLY 1

rushikeshvartak
All-Star
All-Star
  • Instead of individual user map User group

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