Follow

Info: Testing Functionality Of Cyberark Connectivity Outside Of Trust Protection Platform (TPP)

Applies To:

Trust Protection Platform 17.1 and above.

Cyberark 9.8 REST API

Summary:

Testing functionality of Cyberark connectivity outside of Trust Protection Platform (TPP) is easy to do.

Variables used: cyberark_pvwa_fqdn - Cyberark FQDN, cyberark_safe_name - Cyberark Safe being tested

  1. Download Postman. https://www.getpostman.com/
  2. Configure a New Request using the following parameters
    1. POST https://<cyberark_pvwa_fqdn>/PasswordVault/WebServices/auth/Cyberark/CyberArkAuthenticationService.svc/Logon
    2. Headers: Content-Type:application/json
    3. Body: {
      "username": "<tpp_user>",
      "password": "<password>"
      }
    4. Tests: var data = JSON.parse(responseBody);
      postman.setEnvironmentVariable("CyberArkLogonResult", data.CyberArkLogonResult);
  3. Save the above Request as 'Cyberark Authorize & Save to variable'
  4. The above request will return a session token to use for the following New Requests and is stored in the Postman 'CyberArkLogonResult' variable
  5. Configure a New Request using the following parameters
    1. GET https://<cyberark_pvwa_fqdn>/PasswordVault/WebServices/PIMServices.svc/Safes/<cyberark_safe_name>/Members
    2. Headers: Authorization:{{CyberArkLogonResult}}
      Content-Type:application/json
  6. Save the above Request as 'Cyberark Get Safe Members'
  7. The above request will return a list of Members who can access the safe and should give a Success [200] status
  8. Configure a New Request using the following parameters
    1. POST https://<cyberark_pvwa_fqdn>/PasswordVault/WebServices/auth/Cyberark/CyberArkAuthenticationService.svc/Logoff
    2. Headers: Authorization:{{CyberArkLogonResult}}
      Content-Type:application/json
  9. Save the above Request as 'Cyberark Logoff'
  10. The above request will log off the user, remove the Vault session and should give a Success [200] status

 

These three requests should be run from the TPP server to eliminate any potential firewall issues. If it is known that there is no firewall between the TPP server and the Cyberark server then it can be tested on another system.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments