All URIs are relative to https://localhost/PasswordVault
Method | HTTP request | Description |
---|---|---|
LiveSessionsGetLiveSession | Get /api/LiveSessions/{liveSessionId} | |
LiveSessionsGetLiveSessionActivities | Get /api/LiveSessions/{liveSessionId}/activities | |
LiveSessionsGetLiveSessionProperties | Get /api/LiveSessions/{liveSessionId}/properties | |
LiveSessionsGetLiveSessions | Get /api/LiveSessions | |
LiveSessionsPSMAutoTermination | Post /api/LiveSessions/{liveSessionId}/terminate | |
LiveSessionsPSMMonitor | Get /api/LiveSessions/{liveSessionId}/monitor | |
LiveSessionsPSMSessionResume | Post /api/LiveSessions/{liveSessionId}/resume | |
LiveSessionsPSMSuspend | Post /api/LiveSessions/{liveSessionId}/suspend |
map[string]interface{} LiveSessionsGetLiveSession(ctx, liveSessionId).ReturnURL(returnURL).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
liveSessionId := "liveSessionId_example" // string | The unique ID of the PSM Active Session.
returnURL := "returnURL_example" // string | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LiveSessionsApi.LiveSessionsGetLiveSession(context.Background(), liveSessionId).ReturnURL(returnURL).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LiveSessionsApi.LiveSessionsGetLiveSession``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `LiveSessionsGetLiveSession`: map[string]interface{}
fmt.Fprintf(os.Stdout, "Response from `LiveSessionsApi.LiveSessionsGetLiveSession`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
liveSessionId | string | The unique ID of the PSM Active Session. |
Other parameters are passed through a pointer to a apiLiveSessionsGetLiveSessionRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
returnURL | string | |
map[string]interface{}
No authorization required
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, multipart/form-data, application/vnd.cyberark.api+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
map[string]interface{} LiveSessionsGetLiveSessionActivities(ctx, liveSessionId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
liveSessionId := "liveSessionId_example" // string | The unique ID of the PSM Active Session.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LiveSessionsApi.LiveSessionsGetLiveSessionActivities(context.Background(), liveSessionId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LiveSessionsApi.LiveSessionsGetLiveSessionActivities``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `LiveSessionsGetLiveSessionActivities`: map[string]interface{}
fmt.Fprintf(os.Stdout, "Response from `LiveSessionsApi.LiveSessionsGetLiveSessionActivities`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
liveSessionId | string | The unique ID of the PSM Active Session. |
Other parameters are passed through a pointer to a apiLiveSessionsGetLiveSessionActivitiesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
map[string]interface{}
No authorization required
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, multipart/form-data, application/vnd.cyberark.api+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
map[string]interface{} LiveSessionsGetLiveSessionProperties(ctx, liveSessionId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
liveSessionId := "liveSessionId_example" // string | The unique ID of the PSM Active Session.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LiveSessionsApi.LiveSessionsGetLiveSessionProperties(context.Background(), liveSessionId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LiveSessionsApi.LiveSessionsGetLiveSessionProperties``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `LiveSessionsGetLiveSessionProperties`: map[string]interface{}
fmt.Fprintf(os.Stdout, "Response from `LiveSessionsApi.LiveSessionsGetLiveSessionProperties`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
liveSessionId | string | The unique ID of the PSM Active Session. |
Other parameters are passed through a pointer to a apiLiveSessionsGetLiveSessionPropertiesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
map[string]interface{}
No authorization required
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, multipart/form-data, application/vnd.cyberark.api+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LiveSession LiveSessionsGetLiveSessions(ctx).ReturnURL(returnURL).Limit(limit).Offset(offset).UseCache(useCache).Sort(sort).Search(search).Activities(activities).FromTime(fromTime).ToTime(toTime).Safe(safe).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
returnURL := "returnURL_example" // string | The returned URL. (optional)
limit := int64(789) // int64 | Determines the number of lives sessions that are returned in the list. The maximum value is defined in the MaxRecords property in Options -> Privileged Session Management -> General Setting -> Search Properties. (optional)
offset := int64(789) // int64 | Determines which recording results will be returned, according to a specific place in the returned list. This value defines the recording's place in the list and how many results will be skipped. (optional)
useCache := true // bool | (optional)
sort := []string{"Inner_example"} // []string | The sort can be done by each property on the recording file: RiskScore, FileName, SafeName, FolderName, PSMVaultUserName, FromIP, RemoteMachine, Client, Protocol, AccountUserName, AccountAddress, AccountPlatformID, PSMStartTime, TicketID. The sort can be in ascending or descending order. To sort in descending order, specify ' - ' (dash) before the recording property by which to sort. (optional)
search := "search_example" // string | Returns lives sessions that are filtered by properties that contain the specified search text. (optional)
activities := "activities_example" // string | Returns lives sessions with specific activities. (optional)
fromTime := int64(789) // int64 | Returns lives sessions from a specific date. (optional)
toTime := int64(789) // int64 | Returns lives sessions before a specific date. (optional)
safe := "safe_example" // string | Returns lives sessions that use accounts from a specific Safe. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LiveSessionsApi.LiveSessionsGetLiveSessions(context.Background()).ReturnURL(returnURL).Limit(limit).Offset(offset).UseCache(useCache).Sort(sort).Search(search).Activities(activities).FromTime(fromTime).ToTime(toTime).Safe(safe).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LiveSessionsApi.LiveSessionsGetLiveSessions``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `LiveSessionsGetLiveSessions`: LiveSession
fmt.Fprintf(os.Stdout, "Response from `LiveSessionsApi.LiveSessionsGetLiveSessions`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiLiveSessionsGetLiveSessionsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
returnURL | string | The returned URL. | |
limit | int64 | Determines the number of lives sessions that are returned in the list. The maximum value is defined in the MaxRecords property in Options -> Privileged Session Management -> General Setting -> Search Properties. | |
offset | int64 | Determines which recording results will be returned, according to a specific place in the returned list. This value defines the recording's place in the list and how many results will be skipped. | |
useCache | bool | ||
sort | []string | The sort can be done by each property on the recording file: RiskScore, FileName, SafeName, FolderName, PSMVaultUserName, FromIP, RemoteMachine, Client, Protocol, AccountUserName, AccountAddress, AccountPlatformID, PSMStartTime, TicketID. The sort can be in ascending or descending order. To sort in descending order, specify ' - ' (dash) before the recording property by which to sort. | |
search | string | Returns lives sessions that are filtered by properties that contain the specified search text. | |
activities | string | Returns lives sessions with specific activities. | |
fromTime | int64 | Returns lives sessions from a specific date. | |
toTime | int64 | Returns lives sessions before a specific date. | |
safe | string | Returns lives sessions that use accounts from a specific Safe. |
No authorization required
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, multipart/form-data, application/vnd.cyberark.api+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LiveSessionsPSMAutoTermination(ctx, liveSessionId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
liveSessionId := "liveSessionId_example" // string | The unique ID of the PSM Active Session.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LiveSessionsApi.LiveSessionsPSMAutoTermination(context.Background(), liveSessionId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LiveSessionsApi.LiveSessionsPSMAutoTermination``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
liveSessionId | string | The unique ID of the PSM Active Session. |
Other parameters are passed through a pointer to a apiLiveSessionsPSMAutoTerminationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LiveSessionsPSMMonitor(ctx, liveSessionId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
liveSessionId := "liveSessionId_example" // string | The unique ID of the PSM Active Session.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LiveSessionsApi.LiveSessionsPSMMonitor(context.Background(), liveSessionId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LiveSessionsApi.LiveSessionsPSMMonitor``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
liveSessionId | string | The unique ID of the PSM Active Session. |
Other parameters are passed through a pointer to a apiLiveSessionsPSMMonitorRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LiveSessionsPSMSessionResume(ctx, liveSessionId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
liveSessionId := "liveSessionId_example" // string | The unique ID of the PSM Active Session.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LiveSessionsApi.LiveSessionsPSMSessionResume(context.Background(), liveSessionId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LiveSessionsApi.LiveSessionsPSMSessionResume``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
liveSessionId | string | The unique ID of the PSM Active Session. |
Other parameters are passed through a pointer to a apiLiveSessionsPSMSessionResumeRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LiveSessionsPSMSuspend(ctx, liveSessionId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
liveSessionId := "liveSessionId_example" // string | The unique ID of the PSM Active Session.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LiveSessionsApi.LiveSessionsPSMSuspend(context.Background(), liveSessionId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LiveSessionsApi.LiveSessionsPSMSuspend``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
liveSessionId | string | The unique ID of the PSM Active Session. |
Other parameters are passed through a pointer to a apiLiveSessionsPSMSuspendRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]