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

Thycotic Connector - Group to folder mapping

AliW
New Contributor
New Contributor

Somewhat to linked to this post:

Thycotic Connector - Group and folder association - Saviynt Forums - 33444

We are trying to achieve group to folder mapping with our Thycotic connector.

The API used to extract the folder-permissions is https://abctest.secretservercloud.com/api/v1/folder-permissions?filter.folderId=${id} and the API requires filter.folder to specify a folderID.

Is there any way of iterating through this API with the folderID? We can identify the folderID with the following API: https://abctest.secretservercloud.com/api/v1/folders?getAllChildren=true 

We envision that Groups would appear as entitlements and have the Folders as child entitlements under the Groups. Is there anything that we can do to support this?  

Below is a snippet of the ImportAccountJSON:

"entMappingParams": {
"processingType": "SequentialAndIterative",
"successResponses": {
"statusCode": [
200
]
},
"entTypes": {
"Folders": {
"ent1KeyField": "entitlementID",
"call": {
"call1": {
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://abctest.secretservercloud.com/api/v1/folders?getAllChildren=true",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "records",
"ent1IdPath": "parentFolderId",
"ent2IdPath": "id",
"ent2KeyField": "entitlementID",
"targetEntType": "Folders",
"mappingTypes": [
"ENT2"
],
"pagination": {
"offset": {
"offsetParam": "skip",
"batchParam": "take",
"batchSize": 100,
"totalCountPath": "completeResponseMap.total"
}
}
},
"call2": {
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://abctest.secretservercloud.com/api/v1/secrets?filter.includeInactive=true&filter.includeActiv...",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "records",
"ent1IdPath": "folderId",
"ent2IdPath": "id",
"ent2KeyField": "entitlementID",
"targetEntType": "Secrets",
"mappingTypes": [
"ENT2"
],
"pagination": {
"offset": {
"offsetParam": "skip",
"batchParam": "take",
"batchSize": 100,
"totalCountPath": "completeResponseMap.total"
}
}
},
"call3": {
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://abctest.secretservercloud.com/api/v1/folder-permissions?filter.folderId=${id}",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "records",
"ent1IdPath": "groupId",
"ent2IdPath": "folder",
"ent2KeyField": "entitlementID",
"targetEntType": "Group",
"mappingTypes": [
"ENT2"
],
"pagination": {
"offset": {
"offsetParam": "skip",
"batchParam": "take",
"batchSize": 100,
"totalCountPath": "completeResponseMap.total"
}
}
}
}
}
}
}

1 REPLY 1

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @AliW,

Currently, this is not supported, would request you to raise the enhanement in the idea portal.

Thanks.

If you find the above response useful, Kindly Mark it as "Accept As Solution".