sessionrecordings

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionRecording

type SessionRecording struct {
	ConnectionID    string                          `json:"connectionId"`
	TimeCreated     types.Timestamp                 `json:"timeCreated"`
	ConnectionState connectionstate.ConnectionState `json:"connectionState"`
	TargetID        string                          `json:"targetId"`
	TargetType      targettype.TargetType           `json:"targetType"`
	TargetName      string                          `json:"targetName"`
	TargetUser      string                          `json:"targetUser"`
	InputRecorded   bool                            `json:"inputRecorded"`
	SubjectID       string                          `json:"subjectId"`
	Size            int                             `json:"size"`
}

SessionRecording describes a session recording of a specific connection

type SessionRecordingsService

type SessionRecordingsService client.Service

SessionRecordingsService handles communication with the session recording endpoints of the BastionZero API.

BastionZero API docs: https://cloud.bastionzero.com/api/#tag--Session-Recordings

func (*SessionRecordingsService) DeleteSessionRecordingFile

func (s *SessionRecordingsService) DeleteSessionRecordingFile(ctx context.Context, connectionID string) (*http.Response, error)

DeleteSessionRecordingFile deletes the session recording file for the specified connection ID.

BastionZero API docs: https://cloud.bastionzero.com/api/#delete-/api/v2/session-recordings/-connectionId-

func (*SessionRecordingsService) GetSessionRecordingFile

func (s *SessionRecordingsService) GetSessionRecordingFile(ctx context.Context, connectionID string) (string, *http.Response, error)

GetSessionRecordingFile fetches the session recording file for the specified connection ID.

BastionZero API docs: https://cloud.bastionzero.com/api/#get-/api/v2/session-recordings/-connectionId-

func (*SessionRecordingsService) ListSessionRecordings

func (s *SessionRecordingsService) ListSessionRecordings(ctx context.Context) ([]SessionRecording, *http.Response, error)

ListSessionRecordings lists all session recordings.

BastionZero API docs: https://cloud.bastionzero.com/api/#get-/api/v2/session-recordings

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL