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

Security System Creation Using API

jsatish
Regular Contributor II
Regular Contributor II

Hi Team,

We are trying to create a security system using Saviynt API, it's creating but connection and provisioning connection details are not being updated.

Payload we are using 

{
    "systemname" : "NewSecSystemForTest9",
    "displayName" : "NewSecSystemForTest9",
    "hostname":"https://test.test_test",
    "port" : "1000",
    "accessAddWorkflow": "Auto_Approve",
    "accessRemoveWorkflow" : "Auto_Approve",
    "addServiceAccountWorkflow" : "Auto_Approve",
    "removeServiceAccountWorkflow" : "Auto_Approve",
    "connectionparameters" : "{\"conn params\":\"Sav4Sav\"}",
    "connectionname" : "Sav4Sav",
    "provisioningconnection" : "Sav4Sav",
    "provisioningcomments" :"prov comm",
    "automatedProvisioning" : "true"
}

we have followed the Saviynt API documentation, but no luck. Could you please let us know the correct payload. 

Regards,

SJ

5 REPLIES 5

rushikeshvartak
All-Star
All-Star

You need to create connection first using testConnection API then it will be attached to security system. 

https://documenter.getpostman.com/view/1797923/Uz5KmEhE#1e3e1e9f-2c2e-4a7c-ba52-3006130e0175

Considering connection is not exist


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

jsatish
Regular Contributor II
Regular Contributor II

Hi Rushikesh,

Connection is already created and it's visible while updating from UI.

Regards,
Satish Jogi

{
    "systemname""sys1",
    "displayName""sys1Disp",
    "hostname""https://test_test.test",
    "port""1001",
    "accessAddWorkflow""SampleManagerApproval",
    "accessRemoveWorkflow""SampleManagerApproval",
    "addServiceAccountWorkflow""SampleManagerApproval",
    "removeServiceAccountWorkflow""SampleManagerApproval",
    "connectionparameters""{\"conn params\":\"test1\"}",
    "automatedProvisioning""true",
    "connectionname""CN_DDF",
    "provisioningConnection""SAP_HANA",
    "serviceDeskConnection""CN_Saviynt",
    "provisioningcomments""prov comm",
    "action""enable",
    "defaultSystem""true",
    "reconApplication""true"
}

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

jsatish
Regular Contributor II
Regular Contributor II

This we have tried already, but no luck. It's still not added the connection and provisioning connection details in SS

Regards,SJ

Yes createSecuritySystem API its giving error can 

rushikeshvartak_2-1663213599488.png

 

You can try updateSecuritySystem API

{
    "systemname": "TestingAPI",
    "displayName": "TestingAPI_DisplayName",
    "accessAddWorkflow": "AutoApprove",
    "accessRemoveWorkflow": "AutoApprove",
    "connectionparameters": "{\"conn params\":\"test1\"}",
    "automatedProvisioning": "true",
    "connectionname": "TestingAPI_Connection",
    "provisioningConnection": "SavTestingAPI_Connectioniynt1",
    "serviceDeskConnection": "TestingAPI_Connection",
    "provisioningcomments": "Rushi",
    "action": "enable",
    "defaultSystem": "true",
    "reconApplication": "true"
}

rushikeshvartak_1-1663213517122.png

 

rushikeshvartak_0-1663213440941.png

 


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