Inconsistent Credential Source IDs in Device Group API Output
search cancel

Inconsistent Credential Source IDs in Device Group API Output

book

Article ID: 275381

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM)

Issue/Introduction

The GET /api.php/v1/deviceGroups.json API is used to search for a specific device group name in order to get the credential source names and IDs associated with it. However, the IDs listed in the output do not always match the names.

Here is the output of a device group with three credential sources:

"credentialSources": [
{ "
name": "test-rh79", "id": "3994001" },
{ "
name": "test-rh87", "id": "3991001" },
{ "
name": "test-rh91", "id": "4002001" }
]

And here is the output of the same device group with four credential sources:

"credentialSources": [
{ "
name": "test-Win2012", "id": "3994001" },
{ "
name": "test-rh79", "id": "3991001" },
{ "
name": "test-rh87", "id": "4002001" },
{ "
name": "test-rh91", "id": "3985001" }
]

Environment

Privileged Access Manager, versions 4.1.0-4.1.5

Cause

There was an issue with the SQL query made internally when the API was called.

Resolution

The issue is resolved as DE581696 in the 4.1.6 release. All 4.2.x releases also have the code change in them.

Additional Information