Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6.1 Update 1 #525

Merged
merged 14 commits into from
Feb 7, 2024
Merged

6.1 Update 1 #525

merged 14 commits into from
Feb 7, 2024

Conversation

pspete
Copy link
Owner

@pspete pspete commented Feb 7, 2024

Description

Added

  • N/A

Updated

  • Get-PASPSMRecording
    • Removes Offset Parameter
    • Updates FromTime & ToTime parameters to [datetime] types
    • Returns all pages of results instead of only the first page of results
  • Get-PASPSMSession
    • Removes Offset Parameter
    • Updates FromTime & ToTime parameters to [datetime] types
    • Returns all pages of results instead of only the first page of results
  • Get-PASAccount
    • Removes Offset Parameter
  • Get-PASDiscoveredAccount
    • Removes Offset Parameter

Fixed

  • Get-PASSession
    • Removes UserName from command output, avoiding error condition on expired session.
  • Get-PASPlatform
    • Adds search parameter to the default targets parameterset
  • ISPSS Error Handling
    • Fixes issue where error returned from ISPSS solution may not be handled properly

Fixes #522
Fixes #521

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.4
  • CyberArk PAS version: 14.0
  • OS Version: W11

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

Updates functions to behave in the same way as the rest of the module.
- Changes functions to use PowerShell `[datetime]` objects instead of expecting UNIX Time values to be provided for the `fromTime` & `toTime` parameters.
- Functions now page for all results instead of only returning the first page of results.
Redundant `offset` parameters removed.
NextLink values for results are always fetched automatically
General Updates for new version and new year
- `Get-PASPTARiskEvent`
  - New filter parameters `FromTime` & `ToTime`
  - Fixes output and result paging
- `Set-PASPTARiskEvent`
  - New parameters `closeReason` & `reasonText`
  - General Fixes
- `New-PASDirectoryMapping`
  - New parameters `UsedQuota`, `AuthorizedInterfaces` & `EnableENEWhenDisconnected`
- `Set-PASDirectoryMapping`
  - New parameters `UsedQuota`, `AuthorizedInterfaces` & `EnableENEWhenDisconnected`
- `Add-PASPTAExcludedTarget`
  - New command, supported from 14.0
- `Add-PASPTAIncludedTarget`
  - New command, supported from 14.0
- `Add-PASPTAPrivilegedGroup`
  - New command, supported from 14.0
- `Add-PASPTAPrivilegedUser`
  - New command, supported from 14.0
- `Get-PASPTAExcludedTarget`
  - New command, supported from 14.0
- `Get-PASPTAIncludedTarget`
  - New command, supported from 14.0
- `Get-PASPTAPrivilegedGroup`
  - New command, supported from 14.0
- `Get-PASPTAPrivilegedUser`
  - New command, supported from 14.0
- `Remove-PASPTAExcludedTarget`
  - New command, supported from 14.0
- `Remove-PASPTAIncludedTarget`
  - New command, supported from 14.0
- `Remove-PASPTAPrivilegedGroup`
  - New command, supported from 14.0
- `Remove-PASPTAPrivilegedUser`
  - New command, supported from 14.0
Removes `username` from returned output.
Purpose of function is to retrieve variable values from the internal module scope.
Username is not held in a module scope variable.
Functionality and purpose of command remains unchanged
Adds `Search` to default `targets` parameterset.
Fixes issue handling errors encountered when operating against ISPSS solutions.
Adds logic to handle `ErrorMessage` + `ErrorCode` properties in addition to `error` + `error_description`.
@pspete pspete merged commit faf0d6a into master Feb 7, 2024
1 check passed
@pspete pspete deleted the dev branch February 7, 2024 00:48
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.

Get-PASPlatform does not return the ID field
1 participant