Skip to content

Conversation

@johannesconsulting
Copy link
Contributor

Description

  • Added a LogicalOperator parameter (with values 'AND' or 'OR') to Get-PASAccount, allowing users to specify how multiple filter criteria are combined when querying accounts. This is only applied for API version 14.6 and above. [[1]]
  • Updated ConvertTo-FilterString to accept the LogicalOperator parameter and use it to join filter conditions for API 14.6+, defaulting to 'AND' for older versions.
  • Updated Get-PASPTASecurityConfigurationCategory to support two parameter sets: listing all categories or retrieving a specific category by key. By default it will list all.
    Reason for this is to reduce the amount of functions for basic APIs.

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

@pspete pspete merged commit 68d4271 into pspete:vNext_14_6 Sep 8, 2025
1 check failed
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.

2 participants