pspete / psPAS

PowerShell module for CyberArk Privileged Access Security REST API
https://pspas.pspete.dev
MIT License
287 stars 90 forks source link

DiscoveredAccounts Onboard API #420

Closed Jayk423 closed 1 year ago

Jayk423 commented 1 year ago

There is an API available in v12.6 that allows users to onboard discovered accounts. It's not documented but it can be found in the swagger UI.

Please add a function to interact with this API that will onboard accounts based on a keyword search and filter of discovered account properties.

Additional context

Method: POST

URI /api/DiscoveredAccounts/{discoveredAccountId}/Onboard

Response Class (Status 200) OK

Content Type application/json

Parameters discoveredAccountId (required)

body
{ "platformId": "string", "safeName": "string", "shouldReconcileAccount": true, "defaultPassword": "string" }

Screenshot 2022-08-25 141717

pspete commented 1 year ago

@Jayk423 - added this is the 5.4 release available via the usual channels now. Enjoy :)