Skip to content

Add CyberArk 15.2 feature support - #622

Merged
pspete merged 2 commits into
pspete:devfrom
johannesconsulting:15.2
Jul 20, 2026
Merged

Add CyberArk 15.2 feature support#622
pspete merged 2 commits into
pspete:devfrom
johannesconsulting:15.2

Conversation

@johannesconsulting

@johannesconsulting johannesconsulting commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Description

Adds some Self-Hosted 15.2 commands and extends existing ones with tests and command documentation.
I have only tested these changes on a 15.2 environment!

Added:

  • New-PASPlatformSecret: generate a secret for a platform
  • Stop-PASCPMTask: cancel a pending CPM task for an account
  • Resume-PASCPMAutoManagement: resume CPM auto management for an account

Updated:

  • Set-PASSafe: add Quota parameter, allow NumberOfVersionsRetention value of 0
  • Add-PASSafe: add Quota parameter, allow NumberOfVersionsRetention value of 0
  • Get/Start/Stop/Restart-PASVRMService: add ENE serviceName value

Got some help by AI to create the tests and documentation, for info.

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: 15.2
  • OS Version: Windows Server 2025

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

Adds new Self-Hosted (15.2+) commands and extends existing ones with
tests, command documentation, regenerated external help and changelog
entries.

Added:
- New-PASPlatformSecret: generate a secret for a platform
- Stop-PASCPMTask: cancel a pending CPM task for an account
- Resume-PASCPMAutoManagement: resume CPM auto management for an account

Updated:
- Set-PASSafe: add Quota parameter (15.2+), remove Gen1 API/UseGen1API,
  allow NumberOfVersionsRetention value of 0
- Get/Start/Stop/Restart-PASVRMService: add ENE serviceName value (15.2+)

Stop-PASCPMTask and New-PASPlatformSecret implement SupportsShouldProcess
to satisfy analyzer rules for state-changing functions.
Comment thread Tests/Set-PASSafe.Tests.ps1
Comment thread psPAS/Functions/Safes/Set-PASSafe.ps1
Comment thread docs/collections/_commands/Set-PASSafe.md
@pspete

pspete commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Happy to accept the 15.2 updates - just needs a confirmation of update on the commented files above

@johannesconsulting

Copy link
Copy Markdown
Contributor Author

I have updated the PR to not include the cleanup part, now it should only contain 15.2 related updates while keeping legacy support

@pspete
pspete merged commit 150a052 into pspete:dev Jul 20, 2026
1 check passed
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