Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/03/2024 01:20 PM
Hi,
we are currently in the process of onboarding PagerDuty. I found out that Saviynt has a an out-of-box solution to integrate Pager duty using the design tab.
I've been able to create the endpoint and the connection using the out-of-box solution. However, when I run an import Job to import accounts and entitlements, the job runs for about 30 minutes and nothing gets imported.
I've looked through the JSONs that were generated, and they look exactly like the samples provided in the docs. saviyntcloud.com website (https://docs.saviyntcloud.com/bundle/PagerDuty-Guide/page/Content/Understanding-Integration-between-...)
I've validated that the API key works in Postman and the data is coming through without problem. But it just isn't working in Saviynt. any help is much appreciated.
Thank you,
Rajan
Solved! Go to Solution.
06/04/2024 07:46 PM
Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️
06/04/2024 09:10 PM
Hi @surajan
Please follow the below steps to find out the root cause of the issue.
1. SAVE AND TEST CONNECTION - > Use testconnection params in connection JSON and see if the save and test connection is successful ?
2. ImportJSON - Once it is ensured that save and test connection is successful with test connectionparams, please check if the import JSON is correct. Headers etc. should match with the same in postman call.
Please share the JSONs here excluding the actual URL/credentials and any other sensitive info.
Regards,
Dhruv Sharma
06/06/2024 08:34 AM
Hi all thank you for your responses.
The issue was resolved. when using the PagerDuty onboarding template, the template askes for the access token. But it does not create the ConnectionJSON accesstoken in the correct format.
So we switched to the view and had to insert the Api key in the proper format ("Token token=***")
once that change was made, import worked as expected.
Thank you,
Rajan
06/09/2024 10:18 PM
Can you share final working connection json
06/10/2024 06:05 AM
Hi Rushikesh,
here is a working connection JSON for pagerDuty
{
"authentications": {
"PagerDuty": {
"authType": "oauth2",
"httpHeaders": {
"Accept": "application/vnd.PagerDuty+json;version=2",
"contentType": "application/json"
},
"url": "https://api.PagerDuty.com",
"httpMethod": "POST",
"httpContentType": "application/json",
"errorPath": "error.code",
"maxRefreshTryCount": 5,
"tokenResponsePath": "access_token",
"authHeaderName": "Authorization",
"accessToken": "Token token= u+yXXXXXXXXXXXXX",
"httpParams": "[object Object]",
"authError": [
"InvalidAuthenticationToken",
"AuthenticationFailed"
]
}
}
}