Removing deprecated APIs#610
Open
johannesconsulting wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR removed old APIs that are not included in current supported CyberArk version or are removed from documentation.
Its mostly some Gen1 APIs and some APIs that are completely removed.
Doing this cleanup will reduce the codebase and also make it easier for the user to see what parameters can actually be used without being met with errors.
Thinking that most new downloads are using modern supported version of CyberArk and they wont be impacted by these changes.
It makes it a bit easier for us to manage the project too.
I also included a small fix for Set-PASUser. Its currently bugged because the function doesn't send the allowedauthenticationmethods in a array, causing the API to complain if you don't include it.
I tested all the functions manually too, and it worked on 15.0 without issues.
For the sake of transparency, I used assistance from AI for the *.Tests.ps1.
For the actual functions, I did that manually.
Type of change
How Has This Been Tested?
Test Configuration:
Checklist: