Documentation ¶
Index ¶
- type SessionRecording
- type SessionRecordingsService
- func (s *SessionRecordingsService) DeleteSessionRecordingFile(ctx context.Context, connectionID string) (*http.Response, error)
- func (s *SessionRecordingsService) GetSessionRecordingFile(ctx context.Context, connectionID string) (string, *http.Response, error)
- func (s *SessionRecordingsService) ListSessionRecordings(ctx context.Context) ([]SessionRecording, *http.Response, error)
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 ¶
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