How do you determine the Proxy Agent ID in a PAM's API, so you can create a PAM Windows Proxy Application with it?
Release : 3.4.x, 4.0.x
Component : PRIVILEGED ACCESS MANAGER
To get the ProxyID or AgentId for the Proxy Agent, unfortunately there is no option to just get that ID, so you have to have a Windows Proxy Application, with that Proxy selected.
Then run the following API:
GET /api.php/v1/devices.json/{id}/targetApplications
and in the "fields" section, also put and "*" and you will get the following parameters:
"attributes": {
"ldapConnectTimeout": "3000",
"agentId": "5001",
"adSite": "",
"accountType": "local",
"useDNS": "noDNS",
"replicationTime": "",
"accountFilter": "",
"ldapReadTimeout": "3000",
"discoverTasks": "f",
"domainName": "",
"extensionType": "windows",
"specifiedServersList": "",
"dnsServer": "",
"discoverServices": "f"
},
which than you know your AgentID to create in the future.