pspete / psPAS

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

Add -userActivityLogRetentionDays option for PAS User #473

Closed hackedbyhackerman closed 11 months ago

hackedbyhackerman commented 11 months ago

Describe the solution you'd like Add User and Update User API has an option to change the "userActivityLogRetentionDays" attribute. I cant seem to find this option in New-PASUser or Set-PASUser

Additional context https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/SDK/API-AddUser-v10.htm?tocpath=Developer%7CREST%20APIs%7CUser%20management%7CUsers%7C_____5#Bodyparameters

https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Users%20Web%20Services%20-%20Update%20User.htm?tocpath=Developer%7CREST%20APIs%7CUser%20management%7CUsers%7C_____6#Bodyparameters

pspete commented 11 months ago

Thanks for raising @hackedbyhackerman. userActivityLogRetentionDays is only introduced at 13.2, the module update for 13.2 features and capabilities is being worked on. All going well, this should be included in the next module release.

pspete commented 11 months ago

Parameters added in psPAS release 5.6.135

https://pspas.pspete.dev/commands/Set-PASUser#-useractivitylogretentiondays https://pspas.pspete.dev/commands/New-PASUser#-useractivitylogretentiondays