Ad hoc connect using PSM
This method allows you to connect through PSM without using an existing account, by returning settings that can be used with an RDP client application
You must enable Privileged Session Monitoring and ad-hoc connection via PVWA configuration.
URL
-
Make sure there are no spaces in the URL.
-
The following characters are not supported in URL values: + & %
-
If the URL includes a dot (.), add a forward slash (/) at the end of the URL. For example: api/Safes/MySafe/Members/user@cyber.com/
|
The following mandatory value is required in the URL:
Parameter |
AccountID |
Type |
String |
Description |
The unique ID of the account to retrieve and use to connect to the target system through PSM. |
Resource information
HTTP method |
POST |
Content type |
application/json |
Body parameters
|
Parameter |
UserName |
||||||||||||||||||||||||||||||
Type |
String |
||||||||||||||||||||||||||||||
Description |
The target account user name. |
||||||||||||||||||||||||||||||
Parameter |
Secret |
||||||||||||||||||||||||||||||
Type |
String |
||||||||||||||||||||||||||||||
Description |
The target account password. |
||||||||||||||||||||||||||||||
Parameter |
Address |
||||||||||||||||||||||||||||||
Type |
String |
||||||||||||||||||||||||||||||
Description |
The target account address. |
||||||||||||||||||||||||||||||
Parameter |
PlatformId |
||||||||||||||||||||||||||||||
Type |
String |
||||||||||||||||||||||||||||||
Description |
A configured secure connect platform. |
||||||||||||||||||||||||||||||
Parameter |
extraFields |
||||||||||||||||||||||||||||||
Type |
List of strings |
||||||||||||||||||||||||||||||
Description |
Additional needed parameters for the various connection components. |
||||||||||||||||||||||||||||||
Parameter |
LogonDomain |
||||||||||||||||||||||||||||||
Type |
String |
||||||||||||||||||||||||||||||
Description |
The domain where the account will be used. |
||||||||||||||||||||||||||||||
PSMConnectPrerequisites |
|
Result
Response header
Parameter |
ConnectionMethod |
Type |
Boolean |
Description |
The method set in the ConnectionType parameter in the body parameters. |
Valid Values |
|
Response body
There are two possible responses, depending on the connection method.
RDP file
|
In order to use the RDP file response, insert the response body into an RDP file or RDP client and start the session.
PSMGW
|
Parameter |
PSMGWURL |
Type |
String |
Description |
The full URL of the web server that serves the HTML5 service |
Parameter |
PSMGWRequest |
Type |
String |
Description |
Base64 encoded data that is passed to the web server and is essential for the actual web server HTML5 connection. This data is passed through the web server HTTP Post request. |
After receiving the PSMGW response, you can start a monitoring session via the PSM Gateway by sending a POST request to the URL specified in the response, in the PSMGWURL field.
|
The body of the POST request must contain the PSMGWRequest field obtained from the response. |
Here is an example in two parts:
- After obtaining the following response from PSMConnect,
|
- The following POST request to https://<PSM gateway FQDN>:8443/guac/direct can be used to connect to the PSM Gateway.
|
Return codes
For a complete list of return codes, see Return Codes.