pspete / psPAS

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

Is this possible to include Get-pasdirectoriesdetails? #336

Closed engkeen-source closed 3 years ago

engkeen-source commented 3 years ago

This is possible and support by CyberArk but haven't implement in pspas

Is your feature request related to a problem? Please describe.

It's an enhancement request. Not a problem.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] The objective is to fetch user from ldap and add to safe. This user is not exist in vault and haven't create in vault.

Describe the solution you'd like A clear and concise description of what you want to happen. Able to fetch user from ldap by get-directory details.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. There is no alternative.

Additional context Add any other context or screenshots about the feature request here.

NathanielMaier commented 3 years ago

Hi @engkeen-source, I'm not sure I understand this request completely. Are you trying to use Add-PASSafeMember to add an LDAP/directory user or group with access to a Safe? The -SearchIn parameter can be used to find that user/group within a defined directory map even if that user/group does not currently exist in the Vault.

If that's not relevant to your situation, could you share some sample code or any errors you're seeing today?

engkeen-source commented 3 years ago

Thank you so much. It's working.