API for onboarding discovered accounts

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API for onboarding discovered accounts

L1 Bithead

I have account discovery scanning in place and it picks up the accounts I want to onboard. How do I onboard them into a specific safe using apis? When I run the add discovered accounts api it adds it to the passwordmanager_pending safe without a way to move it or specify the safe and I need to onboard using the gui.

5 REPLIES 5

L6 Presenter

Do you have any automatic onboarding rules in place that the discovered accounts match? If you look at the table under the 2nd gen API in the documentation for adding a discovered account, it mentions the following: "Discovered accounts are onboarded according to matching onboarding rules. If automatic onboarding fails for any reason, the account is added to the Pending Accounts list."

You can find the relevant details here: https://docs.cyberark.com/pam-self-hosted/14.0/en/content/webservices/add%20discovered%20account%20v10.8.htm?tocpath=Developer%7CREST%20APIs%7CAccounts%7CDiscovered%20accounts%7C_____1

The accounts I’m attempting to onboard are domain service accounts. I believe domain accounts cannot have automatic onboarding rules applied, but please correct me if I’m wrong.

Yes, that's correct. Domain accounts can not be on-boarded via onboarding rules. In this case, I believe manual on-boarding via Account discovery module. I guess, there are APIs to get the details from pending safe, but not to on-board them.

L4 Transporter

I would not recommend onboarding service accounts automatically simply because of the nature of how those accounts could be used to run applications/services. Onboarding and rotating the password will cause an outage if the password is not made available to the application either push or pull.

L4 Transporter

Hi @Colin @NGA Brodie​ 

 

Since several community members answered your question, please let us know if these solutions addressed your query.

If so, it would be great if you could mark the most helpful response as 'Select as Best' to assist other community members with similar questions.

 

Thank you, Liad.

  • 214 Views
  • 5 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!