Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

REST Connector: ImportAccountEntJSON problem with acctEntParams

VergelVega
New Contributor
New Contributor

Hi,

I'm trying to import accounts and entitlement from AWS to Saviynt using REST Connector. I have established the ConnectionJSON and ImportAccountEntJSON successfully. I can see the accounts and entitlement I have created in AWS to Saviynt. However, under Entitlement > Accounts, I don't see the list of accounts associated with that entitlement.  Please note that I'm a beginner in Saviynt and coding using JSON so really having a hard time to debug what is wrong or missing here.

Anyone from community can help me please.

Here is my ImportAccountEntJSON

{
"accountParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Accept": "application/json",
"Authorization": "${access_token}"
},
"url": <>,
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "Resources",
"keyField": "accountID",
"statusConfig": {
"active": "true",
"inactive": "false"
},
"colsToPropsMap": {
"accountID": "id~#~char",
"customproperty1": "id~#~char",
"name": "userName~#~char",
"created_on": "created~#~date",
"displayname": "displayName~#~char",
"status": "active~#~char",
"customproperty4": "emails[0].value~#~char"
}
}
}
},

"entitlementParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"Groups": {
"entTypeOrder": 0,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 1,
"http": {
"httpHeaders": {
"Accept": "application/json",
"Authorization": "${access_token}"
},
"url": <>,
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "Resources",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "id~#~char",
"entitlement_value": "resourceType~#~char",
"displayname": "displayName~#~char",
"customproperty1": "id~#~char"
},
"disableDeletedEntitlements": false
}
}
}
}
},
"acctEntParams": {
"processingType": "acctToEntMapping",
"acctKeyField": "accountID",
"entTypes": {
"Security": {
"entKeyField": "entitlementID",
"call": {
"call1": {
"connection": "userAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": <>,
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "Resources",
"acctIdPath": "resources.id",
"entIdPath": "resources.entitlements.security"
}
}
}
}
}
}

5 REPLIES 5

rushikeshvartak
All-Star
All-Star

Share output of Account to Entitlement mapping from postman


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Not sure if this is what you're looking for.

VergelVega_0-1665115676201.png

 

Is this response of account to access ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

this is the response from AWS, not sure how to get a response from Saviynt using Postman. can you share some sample code or script to get that?

Question is in saviynt we need 3 api or 1 api 

1. Account Import

2. Account to Access Import

3. Access Import

Above Screenshot was of option #2 ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.