infamousjoeg/cybr-cli

cybr platforms list does not work properly on PVWA version 12.6

Closed this issue · 2 comments

Description
When attempting to use "cybr cli list" a status code 500 error is returned.

Reproduce behavior
Steps to reproduce the behavior:

  1. Authenticate: "cybr logon -u $username -b $baseurl -a $authtype"
  2. List Platforms: "cybr platforms list" or "cybr platforms list -a"
  3. See error

Expected behavior
Expect to see a list of inactive and active platforms. If the -a flag is used then I expect to see only active platforms.

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS Monterey 12.6

CyberArk Version :

  • PVWA: 12.6.0.40

@strick-j,

My tests are successful using cybr-cli v0.1.12-beta with the following CyberArk version:

{
    "ExternalVersion": "12.6.0",
    "InternalVersion": "12.6.0.40",
    "ServerName": "Vault"
}

Can you run cybr version and let me know what is returned? I suspect you may be on an older version than latest.