infamousjoeg / cybr-cli

A "Swiss Army Knife" command-line interface (CLI) for easy human and non-human interaction with @CyberArk suite of products.
Apache License 2.0
72 stars 16 forks source link

cybr users activation #64

Open adam0306 opened 3 years ago

adam0306 commented 3 years ago

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

Describe the solution you'd like Add the ability to Activate PAS users using cybr-cli. (not unsuspend)

Describe alternatives you've considered Briefly tested cybr users unsuspend functionality to activate PAS users but would not function.

AndrewCopeland commented 3 years ago

The Cyberark REST API currently does not support activating an inactive user. It can only unsuspend a user who have been locked out due to incorrect credentials. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/SDK/activate-user-v10.htm?tocpath=Developer%7CREST%20APIs%7CUser%20management%7CUsers%7C_____7

AndrewCopeland commented 3 years ago

I will keep this issue open for now so it can be referenced in the future.