Releases: pspete/IdentityCommand
Releases · pspete/IdentityCommand
v0.2.58
v0.2.55
IdentityCommand v0.2.55
[0.2 - Update 2] - 2024-02-19
Added
- N/A
Changed
- N/A
Fixed
Invoke-IDRestMethod
- Fixes a variable declaration which prevented certain error conditions from being reported.
- Updated to report more errors recieved in various formats from Identity and also DPA.
v0.2.49
IdentityCommand v0.2.49
[0.2 - Update 1] - 2024-02-18
Added
- N/A
Changed
New-IDSession
- Adds
Authorization
header with Bearer token to WebSession object.
- Adds
New-IDPlatformToken
- Adds
Authorization
header with Bearer token to WebSession object. - Updates values in script scope object in-line with the previous module update.
- Adds
- Internal Functions & Error Handling
- Adds additional logic to handle error messages from Identity and other ISPSS services.
- Adds
LastError
details to script scope variable object returned withGet-IDSession
. - Makes contentType matching less stringent to accommodate data returned from other ISPSS services.
Fixed
New-IDPlatformToken
- Updated
GetWebSession
method to utiliseGet-IDSession
in order to return the WebSession object from the module's script scope.
- Updated
v0.2.46
Version 0.2
Updates the Get-IDSession
command, which can be used to return data from the module scope:
PS C:\> Get-IDSession
Name Value
---- -----
tenant_url https://abc1234.id.cyberark.cloud
User some.user@somedomain.com
TenantId ABC1234
SessionId 1337CbGbPunk3Sm1ff5ess510nD3tai75
WebSession Microsoft.PowerShell.Commands.WebRequestSession
StartTime 12/02/2024 22:58:13
ElapsedTime 00:25:30
LastCommand System.Management.Automation.InvocationInfo
LastCommandTime 12/02/2024 23:23:07
LastCommandResults {"success":true,"Result":{"SomeResult"}}
Executing this command exports variables like the URL, Username & WebSession object for the authenticated session from IdentityCommand into your local scope, either for use in other requests outside of the module scope, or for informational purposes.
Return data also includes details such as session start time, elapsed time, last command time, as well as data for the last invoked command and the results of the previous command useful for debugging & development purposes.
Added
- Private Function
Get-ParentFunction
- Helper function to get command invocation data from different scopes
- Private Function
Get-SessionClone
- Helper function to create unreferenced copy of IdentityCommand session hashtable object
Changed
Get-IDSession
- Returns the module scoped
$ISPSSSession
variable (which includes the WebSession object), instead of just the WebSession object.
- Returns the module scoped
New-IDSession
- Sets values in the script scope
$ISPSSSession
object instead of individual script scope variables.
- Sets values in the script scope
Close-IDSession
- Sets null values in the script scope
$ISPSSSession
object instead of removing individual script scope variables.
- Sets null values in the script scope
- All other functions
- Updated entire codebase to reference
$ISPSSSession
object instead of individual script scope variables.
- Updated entire codebase to reference
Fixed
- N/A
v0.1.43
IdentityCommand v0.1.43
[0.1 - Update 3] - 2023-10-08
Added
- N/A
Changed
New-IDSession
- Moves ScriptMethod declaration into code body from\xml\IdCmd.ID.Session.Types.ps1xml
.
Fixed
- Replaces
[Environment]::GetEnvironmentVariable('Temp')
with[System.IO.Path]::GetTempPath()
to correctly determine %TEMP% directory location on Windows as well as OSX.
v0.1.39
v0.1.34
0.1 - Update 1
Adds Additional Functions
Added
Get-IDUserRole
- Get a list of roles for a userGet-IDAnalyticsDataset
- Get all datasets accessible by a userGet-IDTenantCname
- Get Tenant CnamesGet-IDDownloadUrl
- Get download UrlsGet-IDUserIdentifier
- Get the configuration of the user attributesInvoke-IDSqlcmd
- Query the database tables
v0.1.29
Version 0.1
Initial Release
Added
New-IDSession
- Authenticate to CyberArk Identity, answering MFA challenges to start a new API session.Close-IDSession
- Logoff CyberArk Identity APIClear-IDUserSession
- Signs out user from all active sessionsGet-IDSession
- Get WebSession object from the module scopeGet-IDUser
- Fetch details of cloud directory usersSuspend-IDUserMFA
- Exempt a user from MFATest-IDUserCloudLock
- Checks if a user is cloud lockedLock-IDUser
- Enable user cloud lockUnlock-IDUser
- Disable user cloud lockedGet-IDTenant
- Get Tenant informationGet-IDTenantConfiguration
- Get tenant configuration dataGet-IDConnector
- Get connector healthNew-IDPlatformToken
- Request OIDC token based on grant type