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

acctEntParams not works

alvian
New Contributor III
New Contributor III

json for acctEntParams
"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"Group": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"URL": "<url>",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "Resources",
"entKeyField": "entitlementID",
"entIdPath": "id",
"acctIdPath": "members.value",
"acctKeyField": "accountID"
}
}
}
}
}

sample output

"Resources": [
        {
            "displayName": "Internal/system",
            "meta": {
                "created": "2024-08-27T03:31:06.363Z",
                "location": "<url>",
                "lastModified": "2024-08-27T03:31:06.363Z"
            },
            "members": [
                {
                    "display": "user1",
                    "value": "userid-1234"
                },
                {
                    "display": "user2",
                    "value": "userid-12345"
                }
            ],
            "id": "GROUP-1234"
        }
28 REPLIES 28

rushikeshvartak
All-Star
All-Star

Try below

"listField": "",


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

Dear @rushikeshvartak ,

still not work 

Thanks

Share logs in text format


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

JOB logs

2024-09-18T21:17:52+07:00-ecm-worker-services.JobManagementGuardRailService-quartzScheduler_Worker-1-wb548-DEBUG
-
Exit getParamFromJobData with result Job_Import_APIGATE_EGW_Access
 
2024-09-18T21:17:52+07:00-ecm-worker-services.JobManagementGuardRailService-quartzScheduler_Worker-1-wb548-DEBUG-Only one instance is running.. Trigger Name : Job_Import_APIGATE_EGW_Access
 
2024-09-18T21:17:52+07:00-ecm-worker-integration.ExternalConnectionCallService-quartzScheduler_Worker-1-wb548-DEBUG-Key=connectionname Value=APIGATE EGW DEV
 
2024-09-18T21:17:52+07:00-ecm-worker-integration.ExternalConnectionCallService-quartzScheduler_Worker-1-wb548-DEBUG-Key=jobtriggername Value=Job_Import_APIGATE_EGW_Access
 
2024-09-18T21:17:52+07:00-ecm-worker-services.ImportUtilityService-quartzScheduler_Worker-1-wb548-DEBUG-Endpoint 'APIGATE EGW DEV' found for the Security System 'APIGATE EGW DEV' with Endpointkey: 121
 
2024-09-18T21:17:52+07:00-ecm-worker-integration.ExternalConnectionCallService-quartzScheduler_Worker-1-wb548-DEBUG-*******endpoint=APIGATE EGW DEV and secSystem=APIGATE EGW DEV******************
 
2024-09-18T21:17:52+07:00-ecm-worker-rest.RestProvisioningService-quartzScheduler_Worker-1-wb548-DEBUG-Loading Start for Security System - APIGATE EGW DEV
 
2024-09-18T21:17:52+07:00-ecm-worker-rest.RestProvisioningService-quartzScheduler_Worker-1-wb548-DEBUG-Finding Endpoint for the security System - APIGATE EGW DEV
 
2024-09-18T21:17:52+07:00-ecm-worker-services.ImportUtilityService-quartzScheduler_Worker-1-wb548-DEBUG-Endpoint 'APIGATE EGW DEV' found for the Security System 'APIGATE EGW DEV' with Endpointkey: 121
 
2024-09-18T21:17:52+07:00-ecm-worker-services.ImportUtilityService-quartzScheduler_Worker-1-wb548-DEBUG-EntitlementType 'Groups' for Endpoint 'APIGATE EGW DEV' found with EntitlementTypekey - 909

Provide in text file


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

alvian
New Contributor III
New Contributor III

Can you please share with me which log needs to be provided and the key point for searching for those logs ?

Thanks

alvian
New Contributor III
New Contributor III

alvian_0-1726670300239.png

 

alvian
New Contributor III
New Contributor III
 

There are no specific keywords 


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

"acctIdPath": "members.value",
"acctKeyField": "accountID"
}
is it the correct way to map the member id on that array ? 

NM
Honored Contributor II
Honored Contributor II

@alvian try this 

"acctEntParams": {

"connection": "acctAuth",

"entTypes": {

"Group": {

"call": {

"call1": {

"callOrder": 0,

"stageNumber": 0,

"processingType": "httpEntToAcct",

"http": {

"httpHeaders": {

"Authorization": "${access_token}"

},

"URL": "<url>",

"httpContentType": "application/json",

"httpMethod": "GET"

},

"listField": "Resources.members",

"entKeyField": "entitlementID",

"acctIdPath": "value",

"acctKeyField": "accountID"

}

}

}

}

}

alvian
New Contributor III
New Contributor III

I used it already but still not works 

"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"Groups": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://url/scim2/Groups/${id}",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "Resources.members",
"entKeyField": "entitlementID",
"acctIdPath": "value",
"acctKeyField": "accountID"
}
}
}
}
}
}

is it correct right ?

Share full JSON


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

NM
Honored Contributor II
Honored Contributor II

Hi @alvian , if account id is mapped to id and name is similar to value passed use.

acctKeyField": "name"

NM
Honored Contributor II
Honored Contributor II

@alvian keep the json same just change this to name

acctKeyField": "name"

Or whichever field in account param stores this "value": "userid-1234"  in saviynt

Yes


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

okay now is getting closer, now I get an error saying the dynamic_value of ${id} is not works 

alvian_0-1726678294682.png

 

What field you have considered as account id ?

       "display": "user1",
                    "value": "userid-1234"

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

accountid = value
now I used this acctEntParams
"acctEntParams": {
"connection": "userAuth",
"entTypes": {
"Groups": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"keymanager.hub.devapi.xl.co.id": "https://url/scim2/Groups/${id}",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"entKeyField": "entitlementID",
"acctIdPath": "members.value",
"acctKeyField": "accountID"
}
}

sample response new

        {
            "displayName": "Internal/system",
            "meta": {
                "created": "2024-08-27T03:31:06.363Z",
                "location": "<url>",
                "lastModified": "2024-08-27T03:31:06.363Z"
            },
            "members": [
                {
                    "display": "user1",
                    "value": "userid-1234"
                },
                {
                    "display": "user2",
                    "value": "userid-12345"
                }
            ],
            "id": "GROUP-1234"
        }

but there is an error 
Ambiguous method overloading for method java.lang.String#. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class [B] [class [C] [class java.lang.String]



NM
Honored Contributor II
Honored Contributor II

@alvian you need to have Resources in listfield

alvian
New Contributor III
New Contributor III

after I used this url https://url/scim2/Groups/${id} the response was changed, and there is no Resources after that as you can see on the last sample responses

[This post has been edited by a Moderator to remove sensitive information.]

NM
Honored Contributor II
Honored Contributor II

@alvian then in listfield add members

This should work

"listField": "members",

"entKeyField": "entitlementID",

"acctIdPath": "value",

"acctKeyField": "accountID"

"listField": "",
"entKeyField": "entitlementID",
"acctIdPath": "members.value",
"entIdPath":"id",
"acctKeyField": "accountID"


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

still got this error


Ambiguous method overloading for method java.lang.String#. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class [B] [class [C] [class java.lang.String]

"listField": "members",
"entKeyField": "entitlementID",
"acctIdPath": "value",
"entIdPath":"id",
"acctKeyField": "accountID"


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

Still not works

alvian_0-1726680610632.png

alvian_1-1726680618886.png

 

Try permutation combinations


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

I tried to restart my EIC and then its working well now