SCIM API endpoint /Containers times out or appears to hang
search cancel

SCIM API endpoint /Containers times out or appears to hang

book

Article ID: 244072

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM)

Issue/Introduction

The CA PAM team is working with a development group to automate accesses with ALM. We are using an API key they currently should allow them to pull user accounts, user groups, and policies from our appliances. The list of policies should be retrievable via URL/Endpoint https://<PAM server>/cspm/scim/v2/Containers, but this times out when called from our application. If we put this URL in a browser, it will sit there for hours and not give any response.

Environment

Release : Any PAM release as of June 2022.

Component : PRIVILEGED ACCESS MANAGEMENT

Cause

The list of policies was very long.

Resolution

Long lists of policies should be retrieved using pagination. The following URL will return the first 100 policies:

https://<PAM>/cspm/scim/v2/Containers/?startIndex=1&count=100

Assuming this returns 100 polices, you would proceed with https://<PAM>/cspm/scim/v2/Containers/?startIndex=101&count=100 and so on, until fewer than 100 results are returned, which means that you reached the end of the list.