Skip to content

Conversation

@johannesconsulting
Copy link
Contributor

Description

This pull request updates the Set-PASUser command and its documentation to fix a issue with loginToHour parameter and adds a missing authorized interface option.
Set-PASUser -id 22 -userActivityLogRetentionDays 7 does not work if the account is set to 24 as the function is limited to 23 hours (accounts can have 0-24, not 0-23).

  • Expanded the valid range for the loginToHour parameter from 0-23 to 0-24 in both the code (Set-PASUser.ps1) and documentation (Set-PASUser.md)

  • Added IBVSDK to the list of values for the unAuthorizedInterfaces parameter in the Set-PASUser function.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that makes existing functionality work differently)
  • Documentation update (psPAS website or command help content)
  • Other (see description)

How Has This Been Tested?

  • Pester test(s) update required
  • Pester test(s) updated
  • Pester test(s) passing

Test Configuration:

  • PowerShell version: 7
  • CyberArk PAS version: 14.6
  • OS Version: Windows Server 2022

Checklist:

  • My code follows the style guidelines of this project
  • I have followed the contributing guidelines.
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new test failures or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have opened & linked a related issue
  • I have linked a related issue

…ge from 0 to 24. Also added a missing vaultAuthorization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant