pspete / psPAS

PowerShell module for CyberArk Privileged Access Security REST API
https://pspas.pspete.dev
MIT License
291 stars 91 forks source link

abililty to get all properties from an account or vault #347

Closed RedbeardBE closed 3 years ago

RedbeardBE commented 3 years ago

Is your feature request related to a problem? Please describe. when performing a lookup on an account or vault, only a subset of properties are available, instead of all properties. For example, at this moment the property description is not available. when looking up all accounts in a safe, i only get these properties: AccountID, Safe, address, userName, name, platformId, secretType, platformAccountProperties, secretManagement, createdTime, categoryModificationTime

Describe the solution you'd like get-pasaccount will give me all properties of the account, no matter the platformtype, like: description, applicationID, DirectoryID,...

Describe alternatives you've considered none

Additional context

pspete commented 3 years ago

Hi @RedbeardBE Get-PASAccount just presents back nicely formatted objects containing data received from the API, there is no logic to exclude or include certain properties.

As shown in the screenshot, there is no issue with psPAS displaying any properties/values (AccountDescription, ApplicationID, DirectoryID, SomeOtherProperty) for an account when they are returned by the API:

image

If you are not getting expected data back from the API, please check your configuration.

pspete commented 3 years ago

Closing as there is no fix to be applied in the code of the module.