events

package
v7.0.0-...-185e5fd Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package events contains event related types and logic required by the Teleport API.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var EventAction_name = map[int32]string{
	0: "OBSERVED",
	1: "DENIED",
}
View Source
var EventAction_value = map[string]int32{
	"OBSERVED": 0,
	"DENIED":   1,
}
View Source
var SessionNetwork_NetworkOperation_name = map[int32]string{
	0: "CONNECT",
	1: "SEND",
}
View Source
var SessionNetwork_NetworkOperation_value = map[string]int32{
	"CONNECT": 0,
	"SEND":    1,
}

Functions

This section is empty.

Types

type AccessRequestCreate

type AccessRequestCreate struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata `protobuf:"bytes,3,opt,name=Resource,proto3,embedded=Resource" json:""`
	// Roles is a list of roles for the user.
	Roles []string `protobuf:"bytes,4,rep,name=Roles,proto3" json:"roles,omitempty"`
	// RequestID is access request ID
	RequestID string `protobuf:"bytes,5,opt,name=RequestID,proto3" json:"id"`
	// RequestState is access request state (in the access_request.review variant of
	// the event this represents the post-review state of the request).
	RequestState string `protobuf:"bytes,6,opt,name=RequestState,proto3" json:"state"`
	// Delegator is used by teleport plugins to indicate the identity
	// which caused them to update state.
	Delegator string `protobuf:"bytes,7,opt,name=Delegator,proto3" json:"delegator,omitempty"`
	// Reason is an optional description of why the request is being
	// created or updated.
	Reason string `protobuf:"bytes,8,opt,name=Reason,proto3" json:"reason,omitempty"`
	// Annotations is an optional set of attributes supplied by a plugin during
	// approval/denail of the request.
	Annotations *Struct `protobuf:"bytes,9,opt,name=Annotations,proto3,casttype=Struct" json:"annotations,omitempty"`
	// Reviewer is the author of the review (only used in the access_request.review event variant).
	Reviewer string `protobuf:"bytes,10,opt,name=Reviewer,proto3" json:"reviewer,omitempty"`
	// ProposedState is the state proposed by a review (only used in the access_request.review event
	// variant).
	ProposedState        string   `protobuf:"bytes,11,opt,name=ProposedState,proto3" json:"proposed_state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

AccessRequestCreate is emitted when access request has been created or updated

func (*AccessRequestCreate) Descriptor

func (*AccessRequestCreate) Descriptor() ([]byte, []int)

func (*AccessRequestCreate) Marshal

func (m *AccessRequestCreate) Marshal() (dAtA []byte, err error)

func (*AccessRequestCreate) MarshalTo

func (m *AccessRequestCreate) MarshalTo(dAtA []byte) (int, error)

func (*AccessRequestCreate) MarshalToSizedBuffer

func (m *AccessRequestCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccessRequestCreate) ProtoMessage

func (*AccessRequestCreate) ProtoMessage()

func (*AccessRequestCreate) Reset

func (m *AccessRequestCreate) Reset()

func (*AccessRequestCreate) Size

func (m *AccessRequestCreate) Size() (n int)

func (*AccessRequestCreate) String

func (m *AccessRequestCreate) String() string

func (*AccessRequestCreate) Unmarshal

func (m *AccessRequestCreate) Unmarshal(dAtA []byte) error

func (*AccessRequestCreate) XXX_DiscardUnknown

func (m *AccessRequestCreate) XXX_DiscardUnknown()

func (*AccessRequestCreate) XXX_Marshal

func (m *AccessRequestCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccessRequestCreate) XXX_Merge

func (m *AccessRequestCreate) XXX_Merge(src proto.Message)

func (*AccessRequestCreate) XXX_Size

func (m *AccessRequestCreate) XXX_Size() int

func (*AccessRequestCreate) XXX_Unmarshal

func (m *AccessRequestCreate) XXX_Unmarshal(b []byte) error

type AppSessionChunk

type AppSessionChunk struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// SessionMetadata is a common event session metadata
	SessionMetadata `protobuf:"bytes,3,opt,name=Session,proto3,embedded=Session" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,4,opt,name=Server,proto3,embedded=Server" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,5,opt,name=Connection,proto3,embedded=Connection" json:""`
	// SessionChunkID is the ID of the session that was created for this 5 minute
	// application log chunk.
	SessionChunkID       string   `protobuf:"bytes,6,opt,name=SessionChunkID,proto3" json:"session_chunk_id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

AppSessionChunk is emitted at the start of a 5 minute chunk on each proxy. This chunk is used to buffer 5 minutes of audit events at a time for applications.

func (*AppSessionChunk) Descriptor

func (*AppSessionChunk) Descriptor() ([]byte, []int)

func (*AppSessionChunk) Marshal

func (m *AppSessionChunk) Marshal() (dAtA []byte, err error)

func (*AppSessionChunk) MarshalTo

func (m *AppSessionChunk) MarshalTo(dAtA []byte) (int, error)

func (*AppSessionChunk) MarshalToSizedBuffer

func (m *AppSessionChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppSessionChunk) ProtoMessage

func (*AppSessionChunk) ProtoMessage()

func (*AppSessionChunk) Reset

func (m *AppSessionChunk) Reset()

func (*AppSessionChunk) Size

func (m *AppSessionChunk) Size() (n int)

func (*AppSessionChunk) String

func (m *AppSessionChunk) String() string

func (*AppSessionChunk) Unmarshal

func (m *AppSessionChunk) Unmarshal(dAtA []byte) error

func (*AppSessionChunk) XXX_DiscardUnknown

func (m *AppSessionChunk) XXX_DiscardUnknown()

func (*AppSessionChunk) XXX_Marshal

func (m *AppSessionChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppSessionChunk) XXX_Merge

func (m *AppSessionChunk) XXX_Merge(src proto.Message)

func (*AppSessionChunk) XXX_Size

func (m *AppSessionChunk) XXX_Size() int

func (*AppSessionChunk) XXX_Unmarshal

func (m *AppSessionChunk) XXX_Unmarshal(b []byte) error

type AppSessionRequest

type AppSessionRequest struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// StatusCode the HTTP response code for the request.
	StatusCode uint32 `protobuf:"varint,2,opt,name=StatusCode,proto3" json:"status_code"`
	// Path is relative path in the URL.
	Path string `protobuf:"bytes,3,opt,name=Path,proto3" json:"path"`
	// RawQuery are the encoded query values.
	RawQuery string `protobuf:"bytes,4,opt,name=RawQuery,proto3" json:"raw_query"`
	// Method is the request HTTP method, like GET/POST/DELETE/etc.
	Method               string   `protobuf:"bytes,5,opt,name=Method,proto3" json:"method"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

AppSessionRequest is an HTTP request and response.

func (*AppSessionRequest) Descriptor

func (*AppSessionRequest) Descriptor() ([]byte, []int)

func (*AppSessionRequest) Marshal

func (m *AppSessionRequest) Marshal() (dAtA []byte, err error)

func (*AppSessionRequest) MarshalTo

func (m *AppSessionRequest) MarshalTo(dAtA []byte) (int, error)

func (*AppSessionRequest) MarshalToSizedBuffer

func (m *AppSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppSessionRequest) ProtoMessage

func (*AppSessionRequest) ProtoMessage()

func (*AppSessionRequest) Reset

func (m *AppSessionRequest) Reset()

func (*AppSessionRequest) Size

func (m *AppSessionRequest) Size() (n int)

func (*AppSessionRequest) String

func (m *AppSessionRequest) String() string

func (*AppSessionRequest) Unmarshal

func (m *AppSessionRequest) Unmarshal(dAtA []byte) error

func (*AppSessionRequest) XXX_DiscardUnknown

func (m *AppSessionRequest) XXX_DiscardUnknown()

func (*AppSessionRequest) XXX_Marshal

func (m *AppSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppSessionRequest) XXX_Merge

func (m *AppSessionRequest) XXX_Merge(src proto.Message)

func (*AppSessionRequest) XXX_Size

func (m *AppSessionRequest) XXX_Size() int

func (*AppSessionRequest) XXX_Unmarshal

func (m *AppSessionRequest) XXX_Unmarshal(b []byte) error

type AppSessionStart

type AppSessionStart struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// SessionMetadata is a common event session metadata
	SessionMetadata `protobuf:"bytes,3,opt,name=Session,proto3,embedded=Session" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,4,opt,name=Server,proto3,embedded=Server" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,5,opt,name=Connection,proto3,embedded=Connection" json:""`
	// PublicAddr is the public address of the application being requested.
	PublicAddr           string   `protobuf:"bytes,7,opt,name=PublicAddr,proto3" json:"public_addr"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

AppSessionStart is emitted when a user is issued an application certificate.

func (*AppSessionStart) Descriptor

func (*AppSessionStart) Descriptor() ([]byte, []int)

func (*AppSessionStart) Marshal

func (m *AppSessionStart) Marshal() (dAtA []byte, err error)

func (*AppSessionStart) MarshalTo

func (m *AppSessionStart) MarshalTo(dAtA []byte) (int, error)

func (*AppSessionStart) MarshalToSizedBuffer

func (m *AppSessionStart) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppSessionStart) ProtoMessage

func (*AppSessionStart) ProtoMessage()

func (*AppSessionStart) Reset

func (m *AppSessionStart) Reset()

func (*AppSessionStart) Size

func (m *AppSessionStart) Size() (n int)

func (*AppSessionStart) String

func (m *AppSessionStart) String() string

func (*AppSessionStart) Unmarshal

func (m *AppSessionStart) Unmarshal(dAtA []byte) error

func (*AppSessionStart) XXX_DiscardUnknown

func (m *AppSessionStart) XXX_DiscardUnknown()

func (*AppSessionStart) XXX_Marshal

func (m *AppSessionStart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppSessionStart) XXX_Merge

func (m *AppSessionStart) XXX_Merge(src proto.Message)

func (*AppSessionStart) XXX_Size

func (m *AppSessionStart) XXX_Size() int

func (*AppSessionStart) XXX_Unmarshal

func (m *AppSessionStart) XXX_Unmarshal(b []byte) error

type AuditEvent

type AuditEvent interface {
	// ProtoMarshaler implements efficient
	// protobuf marshaling methods
	ProtoMarshaler

	// GetID returns unique event ID
	GetID() string
	// SetID sets unique event ID
	SetID(id string)

	// GetCode returns event short diagnostic code
	GetCode() string
	// SetCode sets unique event diagnostic code
	SetCode(string)

	// GetType returns event type
	GetType() string
	// SetCode sets unique type
	SetType(string)

	// GetTime returns event time
	GetTime() time.Time
	// SetTime sets event time
	SetTime(time.Time)

	// GetIndex gets event index - a non-unique
	// monotonically incremented number
	// in the event sequence
	GetIndex() int64
	// SetIndex sets event index
	SetIndex(idx int64)

	// GetClusterName returns the name of the teleport cluster
	// as set on the event.
	GetClusterName() string
	// SetClusterName sets the name of the teleport cluster on the event.
	SetClusterName(string)
}

AuditEvent represents audit event

func FromOneOf

func FromOneOf(in OneOf) (AuditEvent, error)

FromOneOf converts audit event from one of wrapper to interface

type AuthAttempt

type AuthAttempt struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,3,opt,name=Connection,proto3,embedded=Connection" json:""`
	// Status contains common command or operation status fields
	Status               `protobuf:"bytes,4,opt,name=Status,proto3,embedded=Status" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

AuthAttempt is emitted upon a failed or successfull authentication attempt.

func (*AuthAttempt) Descriptor

func (*AuthAttempt) Descriptor() ([]byte, []int)

func (*AuthAttempt) Marshal

func (m *AuthAttempt) Marshal() (dAtA []byte, err error)

func (*AuthAttempt) MarshalTo

func (m *AuthAttempt) MarshalTo(dAtA []byte) (int, error)

func (*AuthAttempt) MarshalToSizedBuffer

func (m *AuthAttempt) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthAttempt) ProtoMessage

func (*AuthAttempt) ProtoMessage()

func (*AuthAttempt) Reset

func (m *AuthAttempt) Reset()

func (*AuthAttempt) Size

func (m *AuthAttempt) Size() (n int)

func (*AuthAttempt) String

func (m *AuthAttempt) String() string

func (*AuthAttempt) Unmarshal

func (m *AuthAttempt) Unmarshal(dAtA []byte) error

func (*AuthAttempt) XXX_DiscardUnknown

func (m *AuthAttempt) XXX_DiscardUnknown()

func (*AuthAttempt) XXX_Marshal

func (m *AuthAttempt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuthAttempt) XXX_Merge

func (m *AuthAttempt) XXX_Merge(src proto.Message)

func (*AuthAttempt) XXX_Size

func (m *AuthAttempt) XXX_Size() int

func (*AuthAttempt) XXX_Unmarshal

func (m *AuthAttempt) XXX_Unmarshal(b []byte) error

type BPFMetadata

type BPFMetadata struct {
	// PID is the ID of the process.
	PID uint64 `protobuf:"varint,1,opt,name=PID,proto3" json:"pid"`
	// CgroupID is the internal cgroupv2 ID of the event.
	CgroupID uint64 `protobuf:"varint,2,opt,name=CgroupID,proto3" json:"cgroup_id"`
	// Program is name of the executable.
	Program              string   `protobuf:"bytes,3,opt,name=Program,proto3" json:"program"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

BPFMetadata is a common BPF process metadata

func (*BPFMetadata) Descriptor

func (*BPFMetadata) Descriptor() ([]byte, []int)

func (*BPFMetadata) Marshal

func (m *BPFMetadata) Marshal() (dAtA []byte, err error)

func (*BPFMetadata) MarshalTo

func (m *BPFMetadata) MarshalTo(dAtA []byte) (int, error)

func (*BPFMetadata) MarshalToSizedBuffer

func (m *BPFMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BPFMetadata) ProtoMessage

func (*BPFMetadata) ProtoMessage()

func (*BPFMetadata) Reset

func (m *BPFMetadata) Reset()

func (*BPFMetadata) Size

func (m *BPFMetadata) Size() (n int)

func (*BPFMetadata) String

func (m *BPFMetadata) String() string

func (*BPFMetadata) Unmarshal

func (m *BPFMetadata) Unmarshal(dAtA []byte) error

func (*BPFMetadata) XXX_DiscardUnknown

func (m *BPFMetadata) XXX_DiscardUnknown()

func (*BPFMetadata) XXX_Marshal

func (m *BPFMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BPFMetadata) XXX_Merge

func (m *BPFMetadata) XXX_Merge(src proto.Message)

func (*BPFMetadata) XXX_Size

func (m *BPFMetadata) XXX_Size() int

func (*BPFMetadata) XXX_Unmarshal

func (m *BPFMetadata) XXX_Unmarshal(b []byte) error

type BillingCardCreate

type BillingCardCreate struct {
	// Metadata is a common event metadata.
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata.
	UserMetadata         `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

BillingCardCreate is emitted when a user creates or updates a credit card.

func (*BillingCardCreate) Descriptor

func (*BillingCardCreate) Descriptor() ([]byte, []int)

func (*BillingCardCreate) Marshal

func (m *BillingCardCreate) Marshal() (dAtA []byte, err error)

func (*BillingCardCreate) MarshalTo

func (m *BillingCardCreate) MarshalTo(dAtA []byte) (int, error)

func (*BillingCardCreate) MarshalToSizedBuffer

func (m *BillingCardCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BillingCardCreate) ProtoMessage

func (*BillingCardCreate) ProtoMessage()

func (*BillingCardCreate) Reset

func (m *BillingCardCreate) Reset()

func (*BillingCardCreate) Size

func (m *BillingCardCreate) Size() (n int)

func (*BillingCardCreate) String

func (m *BillingCardCreate) String() string

func (*BillingCardCreate) Unmarshal

func (m *BillingCardCreate) Unmarshal(dAtA []byte) error

func (*BillingCardCreate) XXX_DiscardUnknown

func (m *BillingCardCreate) XXX_DiscardUnknown()

func (*BillingCardCreate) XXX_Marshal

func (m *BillingCardCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BillingCardCreate) XXX_Merge

func (m *BillingCardCreate) XXX_Merge(src proto.Message)

func (*BillingCardCreate) XXX_Size

func (m *BillingCardCreate) XXX_Size() int

func (*BillingCardCreate) XXX_Unmarshal

func (m *BillingCardCreate) XXX_Unmarshal(b []byte) error

type BillingCardDelete

type BillingCardDelete struct {
	// Metadata is a common event metadata.
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata.
	UserMetadata         `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

BillingCardDelete is emitted when a user deletes a credit card.

func (*BillingCardDelete) Descriptor

func (*BillingCardDelete) Descriptor() ([]byte, []int)

func (*BillingCardDelete) Marshal

func (m *BillingCardDelete) Marshal() (dAtA []byte, err error)

func (*BillingCardDelete) MarshalTo

func (m *BillingCardDelete) MarshalTo(dAtA []byte) (int, error)

func (*BillingCardDelete) MarshalToSizedBuffer

func (m *BillingCardDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BillingCardDelete) ProtoMessage

func (*BillingCardDelete) ProtoMessage()

func (*BillingCardDelete) Reset

func (m *BillingCardDelete) Reset()

func (*BillingCardDelete) Size

func (m *BillingCardDelete) Size() (n int)

func (*BillingCardDelete) String

func (m *BillingCardDelete) String() string

func (*BillingCardDelete) Unmarshal

func (m *BillingCardDelete) Unmarshal(dAtA []byte) error

func (*BillingCardDelete) XXX_DiscardUnknown

func (m *BillingCardDelete) XXX_DiscardUnknown()

func (*BillingCardDelete) XXX_Marshal

func (m *BillingCardDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BillingCardDelete) XXX_Merge

func (m *BillingCardDelete) XXX_Merge(src proto.Message)

func (*BillingCardDelete) XXX_Size

func (m *BillingCardDelete) XXX_Size() int

func (*BillingCardDelete) XXX_Unmarshal

func (m *BillingCardDelete) XXX_Unmarshal(b []byte) error

type BillingInformationUpdate

type BillingInformationUpdate struct {
	// Metadata is a common event metadata.
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata.
	UserMetadata         `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

BillingInformationUpdate is emitted when a user updates the billing information.

func (*BillingInformationUpdate) Descriptor

func (*BillingInformationUpdate) Descriptor() ([]byte, []int)

func (*BillingInformationUpdate) Marshal

func (m *BillingInformationUpdate) Marshal() (dAtA []byte, err error)

func (*BillingInformationUpdate) MarshalTo

func (m *BillingInformationUpdate) MarshalTo(dAtA []byte) (int, error)

func (*BillingInformationUpdate) MarshalToSizedBuffer

func (m *BillingInformationUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BillingInformationUpdate) ProtoMessage

func (*BillingInformationUpdate) ProtoMessage()

func (*BillingInformationUpdate) Reset

func (m *BillingInformationUpdate) Reset()

func (*BillingInformationUpdate) Size

func (m *BillingInformationUpdate) Size() (n int)

func (*BillingInformationUpdate) String

func (m *BillingInformationUpdate) String() string

func (*BillingInformationUpdate) Unmarshal

func (m *BillingInformationUpdate) Unmarshal(dAtA []byte) error

func (*BillingInformationUpdate) XXX_DiscardUnknown

func (m *BillingInformationUpdate) XXX_DiscardUnknown()

func (*BillingInformationUpdate) XXX_Marshal

func (m *BillingInformationUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BillingInformationUpdate) XXX_Merge

func (m *BillingInformationUpdate) XXX_Merge(src proto.Message)

func (*BillingInformationUpdate) XXX_Size

func (m *BillingInformationUpdate) XXX_Size() int

func (*BillingInformationUpdate) XXX_Unmarshal

func (m *BillingInformationUpdate) XXX_Unmarshal(b []byte) error

type ClientDisconnect

type ClientDisconnect struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,3,opt,name=Connection,proto3,embedded=Connection" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,4,opt,name=Server,proto3,embedded=Server" json:""`
	// Reason is a field that specifies reason for event, e.g. in disconnect
	// event it explains why server disconnected the client
	Reason               string   `protobuf:"bytes,5,opt,name=Reason,proto3" json:"reason"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ClientDisconnect is emitted when client is disconnected by the server due to inactivity or any other reason

func (*ClientDisconnect) Descriptor

func (*ClientDisconnect) Descriptor() ([]byte, []int)

func (*ClientDisconnect) Marshal

func (m *ClientDisconnect) Marshal() (dAtA []byte, err error)

func (*ClientDisconnect) MarshalTo

func (m *ClientDisconnect) MarshalTo(dAtA []byte) (int, error)

func (*ClientDisconnect) MarshalToSizedBuffer

func (m *ClientDisconnect) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClientDisconnect) ProtoMessage

func (*ClientDisconnect) ProtoMessage()

func (*ClientDisconnect) Reset

func (m *ClientDisconnect) Reset()

func (*ClientDisconnect) Size

func (m *ClientDisconnect) Size() (n int)

func (*ClientDisconnect) String

func (m *ClientDisconnect) String() string

func (*ClientDisconnect) Unmarshal

func (m *ClientDisconnect) Unmarshal(dAtA []byte) error

func (*ClientDisconnect) XXX_DiscardUnknown

func (m *ClientDisconnect) XXX_DiscardUnknown()

func (*ClientDisconnect) XXX_Marshal

func (m *ClientDisconnect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientDisconnect) XXX_Merge

func (m *ClientDisconnect) XXX_Merge(src proto.Message)

func (*ClientDisconnect) XXX_Size

func (m *ClientDisconnect) XXX_Size() int

func (*ClientDisconnect) XXX_Unmarshal

func (m *ClientDisconnect) XXX_Unmarshal(b []byte) error

type CommandMetadata

type CommandMetadata struct {
	// Command is the executed command name
	Command string `protobuf:"bytes,1,opt,name=Command,proto3" json:"command"`
	// ExitCode specifies command exit code
	ExitCode string `protobuf:"bytes,2,opt,name=ExitCode,proto3" json:"exitCode,omitempty"`
	// Error is an optional exit error, set if command has failed
	Error                string   `protobuf:"bytes,3,opt,name=Error,proto3" json:"exitError,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CommandMetadata specifies common command fields

func (*CommandMetadata) Descriptor

func (*CommandMetadata) Descriptor() ([]byte, []int)

func (*CommandMetadata) Marshal

func (m *CommandMetadata) Marshal() (dAtA []byte, err error)

func (*CommandMetadata) MarshalTo

func (m *CommandMetadata) MarshalTo(dAtA []byte) (int, error)

func (*CommandMetadata) MarshalToSizedBuffer

func (m *CommandMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CommandMetadata) ProtoMessage

func (*CommandMetadata) ProtoMessage()

func (*CommandMetadata) Reset

func (m *CommandMetadata) Reset()

func (*CommandMetadata) Size

func (m *CommandMetadata) Size() (n int)

func (*CommandMetadata) String

func (m *CommandMetadata) String() string

func (*CommandMetadata) Unmarshal

func (m *CommandMetadata) Unmarshal(dAtA []byte) error

func (*CommandMetadata) XXX_DiscardUnknown

func (m *CommandMetadata) XXX_DiscardUnknown()

func (*CommandMetadata) XXX_Marshal

func (m *CommandMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommandMetadata) XXX_Merge

func (m *CommandMetadata) XXX_Merge(src proto.Message)

func (*CommandMetadata) XXX_Size

func (m *CommandMetadata) XXX_Size() int

func (*CommandMetadata) XXX_Unmarshal

func (m *CommandMetadata) XXX_Unmarshal(b []byte) error

type ConnectionMetadata

type ConnectionMetadata struct {
	// LocalAddr is a target address on the host
	LocalAddr string `protobuf:"bytes,1,opt,name=LocalAddr,proto3" json:"addr.local,omitempty"`
	// RemoteAddr is a client (user's) address
	RemoteAddr string `protobuf:"bytes,2,opt,name=RemoteAddr,proto3" json:"addr.remote,omitempty"`
	// Protocol specifies protocol that was captured
	Protocol             string   `protobuf:"bytes,3,opt,name=Protocol,proto3" json:"proto,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Connection contains connection infro

func (*ConnectionMetadata) Descriptor

func (*ConnectionMetadata) Descriptor() ([]byte, []int)

func (*ConnectionMetadata) Marshal

func (m *ConnectionMetadata) Marshal() (dAtA []byte, err error)

func (*ConnectionMetadata) MarshalTo

func (m *ConnectionMetadata) MarshalTo(dAtA []byte) (int, error)

func (*ConnectionMetadata) MarshalToSizedBuffer

func (m *ConnectionMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConnectionMetadata) ProtoMessage

func (*ConnectionMetadata) ProtoMessage()

func (*ConnectionMetadata) Reset

func (m *ConnectionMetadata) Reset()

func (*ConnectionMetadata) Size

func (m *ConnectionMetadata) Size() (n int)

func (*ConnectionMetadata) String

func (m *ConnectionMetadata) String() string

func (*ConnectionMetadata) Unmarshal

func (m *ConnectionMetadata) Unmarshal(dAtA []byte) error

func (*ConnectionMetadata) XXX_DiscardUnknown

func (m *ConnectionMetadata) XXX_DiscardUnknown()

func (*ConnectionMetadata) XXX_Marshal

func (m *ConnectionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConnectionMetadata) XXX_Merge

func (m *ConnectionMetadata) XXX_Merge(src proto.Message)

func (*ConnectionMetadata) XXX_Size

func (m *ConnectionMetadata) XXX_Size() int

func (*ConnectionMetadata) XXX_Unmarshal

func (m *ConnectionMetadata) XXX_Unmarshal(b []byte) error

type DatabaseMetadata

type DatabaseMetadata struct {
	// DatabaseService is the name of the database service proxying the database.
	DatabaseService string `protobuf:"bytes,1,opt,name=DatabaseService,proto3" json:"db_service"`
	// DatabaseProtocol is the database type, e.g. postgres or mysql.
	DatabaseProtocol string `protobuf:"bytes,2,opt,name=DatabaseProtocol,proto3" json:"db_protocol"`
	// DatabaseURI is the database URI to connect to.
	DatabaseURI string `protobuf:"bytes,3,opt,name=DatabaseURI,proto3" json:"db_uri"`
	// DatabaseName is the name of the database a user is connecting to.
	DatabaseName string `protobuf:"bytes,4,opt,name=DatabaseName,proto3" json:"db_name"`
	// DatabaseUser is the database username used to connect.
	DatabaseUser         string   `protobuf:"bytes,5,opt,name=DatabaseUser,proto3" json:"db_user"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DatabaseMetadata contains common database information.

func (*DatabaseMetadata) Descriptor

func (*DatabaseMetadata) Descriptor() ([]byte, []int)

func (*DatabaseMetadata) Marshal

func (m *DatabaseMetadata) Marshal() (dAtA []byte, err error)

func (*DatabaseMetadata) MarshalTo

func (m *DatabaseMetadata) MarshalTo(dAtA []byte) (int, error)

func (*DatabaseMetadata) MarshalToSizedBuffer

func (m *DatabaseMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DatabaseMetadata) ProtoMessage

func (*DatabaseMetadata) ProtoMessage()

func (*DatabaseMetadata) Reset

func (m *DatabaseMetadata) Reset()

func (*DatabaseMetadata) Size

func (m *DatabaseMetadata) Size() (n int)

func (*DatabaseMetadata) String

func (m *DatabaseMetadata) String() string

func (*DatabaseMetadata) Unmarshal

func (m *DatabaseMetadata) Unmarshal(dAtA []byte) error

func (*DatabaseMetadata) XXX_DiscardUnknown

func (m *DatabaseMetadata) XXX_DiscardUnknown()

func (*DatabaseMetadata) XXX_Marshal

func (m *DatabaseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DatabaseMetadata) XXX_Merge

func (m *DatabaseMetadata) XXX_Merge(src proto.Message)

func (*DatabaseMetadata) XXX_Size

func (m *DatabaseMetadata) XXX_Size() int

func (*DatabaseMetadata) XXX_Unmarshal

func (m *DatabaseMetadata) XXX_Unmarshal(b []byte) error

type DatabaseSessionEnd

type DatabaseSessionEnd struct {
	// Metadata is a common event metadata.
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata.
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// Session is a common event session metadata.
	SessionMetadata `protobuf:"bytes,3,opt,name=Session,proto3,embedded=Session" json:""`
	// Database contains database related metadata.
	DatabaseMetadata     `protobuf:"bytes,4,opt,name=Database,proto3,embedded=Database" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DatabaseSessionEnd is emitted when a user ends the database session.

func (*DatabaseSessionEnd) Descriptor

func (*DatabaseSessionEnd) Descriptor() ([]byte, []int)

func (*DatabaseSessionEnd) Marshal

func (m *DatabaseSessionEnd) Marshal() (dAtA []byte, err error)

func (*DatabaseSessionEnd) MarshalTo

func (m *DatabaseSessionEnd) MarshalTo(dAtA []byte) (int, error)

func (*DatabaseSessionEnd) MarshalToSizedBuffer

func (m *DatabaseSessionEnd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DatabaseSessionEnd) ProtoMessage

func (*DatabaseSessionEnd) ProtoMessage()

func (*DatabaseSessionEnd) Reset

func (m *DatabaseSessionEnd) Reset()

func (*DatabaseSessionEnd) Size

func (m *DatabaseSessionEnd) Size() (n int)

func (*DatabaseSessionEnd) String

func (m *DatabaseSessionEnd) String() string

func (*DatabaseSessionEnd) Unmarshal

func (m *DatabaseSessionEnd) Unmarshal(dAtA []byte) error

func (*DatabaseSessionEnd) XXX_DiscardUnknown

func (m *DatabaseSessionEnd) XXX_DiscardUnknown()

func (*DatabaseSessionEnd) XXX_Marshal

func (m *DatabaseSessionEnd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DatabaseSessionEnd) XXX_Merge

func (m *DatabaseSessionEnd) XXX_Merge(src proto.Message)

func (*DatabaseSessionEnd) XXX_Size

func (m *DatabaseSessionEnd) XXX_Size() int

func (*DatabaseSessionEnd) XXX_Unmarshal

func (m *DatabaseSessionEnd) XXX_Unmarshal(b []byte) error

type DatabaseSessionQuery

type DatabaseSessionQuery struct {
	// Metadata is a common event metadata.
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata.
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// SessionMetadata is a common event session metadata.
	SessionMetadata `protobuf:"bytes,3,opt,name=Session,proto3,embedded=Session" json:""`
	// Database contains database related metadata.
	DatabaseMetadata `protobuf:"bytes,4,opt,name=Database,proto3,embedded=Database" json:""`
	// DatabaseQuery is the executed query string.
	DatabaseQuery string `protobuf:"bytes,5,opt,name=DatabaseQuery,proto3" json:"db_query"`
	// DatabaseQueryParameters are the query parameters for prepared statements.
	DatabaseQueryParameters []string `protobuf:"bytes,6,rep,name=DatabaseQueryParameters,proto3" json:"db_query_parameters,omitempty"`
	// Status indicates whether the query was successfully sent to the database.
	Status               `protobuf:"bytes,7,opt,name=Status,proto3,embedded=Status" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DatabaseSessionQuery is emitted when a user executes a database query.

func (*DatabaseSessionQuery) Descriptor

func (*DatabaseSessionQuery) Descriptor() ([]byte, []int)

func (*DatabaseSessionQuery) Marshal

func (m *DatabaseSessionQuery) Marshal() (dAtA []byte, err error)

func (*DatabaseSessionQuery) MarshalTo

func (m *DatabaseSessionQuery) MarshalTo(dAtA []byte) (int, error)

func (*DatabaseSessionQuery) MarshalToSizedBuffer

func (m *DatabaseSessionQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DatabaseSessionQuery) ProtoMessage

func (*DatabaseSessionQuery) ProtoMessage()

func (*DatabaseSessionQuery) Reset

func (m *DatabaseSessionQuery) Reset()

func (*DatabaseSessionQuery) Size

func (m *DatabaseSessionQuery) Size() (n int)

func (*DatabaseSessionQuery) String

func (m *DatabaseSessionQuery) String() string

func (*DatabaseSessionQuery) Unmarshal

func (m *DatabaseSessionQuery) Unmarshal(dAtA []byte) error

func (*DatabaseSessionQuery) XXX_DiscardUnknown

func (m *DatabaseSessionQuery) XXX_DiscardUnknown()

func (*DatabaseSessionQuery) XXX_Marshal

func (m *DatabaseSessionQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DatabaseSessionQuery) XXX_Merge

func (m *DatabaseSessionQuery) XXX_Merge(src proto.Message)

func (*DatabaseSessionQuery) XXX_Size

func (m *DatabaseSessionQuery) XXX_Size() int

func (*DatabaseSessionQuery) XXX_Unmarshal

func (m *DatabaseSessionQuery) XXX_Unmarshal(b []byte) error

type DatabaseSessionStart

type DatabaseSessionStart struct {
	// Metadata is a common event metadata.
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata.
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// Session is a common event session metadata.
	SessionMetadata `protobuf:"bytes,3,opt,name=Session,proto3,embedded=Session" json:""`
	// Server is a common server metadata.
	ServerMetadata `protobuf:"bytes,4,opt,name=Server,proto3,embedded=Server" json:""`
	// Connection holds information about the connection.
	ConnectionMetadata `protobuf:"bytes,5,opt,name=Connection,proto3,embedded=Connection" json:""`
	// Status indicates whether the connection was successful or denied.
	Status `protobuf:"bytes,6,opt,name=Status,proto3,embedded=Status" json:""`
	// Database contains database related metadata.
	DatabaseMetadata     `protobuf:"bytes,7,opt,name=Database,proto3,embedded=Database" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DatabaseSessionStart is emitted when a user connects to a database.

func (*DatabaseSessionStart) Descriptor

func (*DatabaseSessionStart) Descriptor() ([]byte, []int)

func (*DatabaseSessionStart) Marshal

func (m *DatabaseSessionStart) Marshal() (dAtA []byte, err error)

func (*DatabaseSessionStart) MarshalTo

func (m *DatabaseSessionStart) MarshalTo(dAtA []byte) (int, error)

func (*DatabaseSessionStart) MarshalToSizedBuffer

func (m *DatabaseSessionStart) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DatabaseSessionStart) ProtoMessage

func (*DatabaseSessionStart) ProtoMessage()

func (*DatabaseSessionStart) Reset

func (m *DatabaseSessionStart) Reset()

func (*DatabaseSessionStart) Size

func (m *DatabaseSessionStart) Size() (n int)

func (*DatabaseSessionStart) String

func (m *DatabaseSessionStart) String() string

func (*DatabaseSessionStart) Unmarshal

func (m *DatabaseSessionStart) Unmarshal(dAtA []byte) error

func (*DatabaseSessionStart) XXX_DiscardUnknown

func (m *DatabaseSessionStart) XXX_DiscardUnknown()

func (*DatabaseSessionStart) XXX_Marshal

func (m *DatabaseSessionStart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DatabaseSessionStart) XXX_Merge

func (m *DatabaseSessionStart) XXX_Merge(src proto.Message)

func (*DatabaseSessionStart) XXX_Size

func (m *DatabaseSessionStart) XXX_Size() int

func (*DatabaseSessionStart) XXX_Unmarshal

func (m *DatabaseSessionStart) XXX_Unmarshal(b []byte) error

type Emitter

type Emitter interface {
	// Emit emits a single audit event
	EmitAuditEvent(context.Context, AuditEvent) error
}

Emitter creates and manages audit log streams

type EventAction

type EventAction int32

Action communicates what was done in response to the event

const (
	EventAction_OBSERVED EventAction = 0
	EventAction_DENIED   EventAction = 1
)

func (EventAction) EnumDescriptor

func (EventAction) EnumDescriptor() ([]byte, []int)

func (EventAction) String

func (x EventAction) String() string

type Exec

type Exec struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,3,opt,name=Connection,proto3,embedded=Connection" json:""`
	// SessionMetadata is a common event session metadata
	SessionMetadata `protobuf:"bytes,4,opt,name=Session,proto3,embedded=Session" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,5,opt,name=Server,proto3,embedded=Server" json:""`
	// CommandMetadata is a common command metadata
	CommandMetadata `protobuf:"bytes,6,opt,name=Command,proto3,embedded=Command" json:""`
	// KubernetesCluster has information about a kubernetes cluster, if
	// applicable.
	KubernetesClusterMetadata `protobuf:"bytes,7,opt,name=KubernetesCluster,proto3,embedded=KubernetesCluster" json:""`
	// KubernetesPod has information about a kubernetes pod, if applicable.
	KubernetesPodMetadata `protobuf:"bytes,8,opt,name=KubernetesPod,proto3,embedded=KubernetesPod" json:""`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

Exec specifies command exec event

func (*Exec) Descriptor

func (*Exec) Descriptor() ([]byte, []int)

func (*Exec) Marshal

func (m *Exec) Marshal() (dAtA []byte, err error)

func (*Exec) MarshalTo

func (m *Exec) MarshalTo(dAtA []byte) (int, error)

func (*Exec) MarshalToSizedBuffer

func (m *Exec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Exec) ProtoMessage

func (*Exec) ProtoMessage()

func (*Exec) Reset

func (m *Exec) Reset()

func (*Exec) Size

func (m *Exec) Size() (n int)

func (*Exec) String

func (m *Exec) String() string

func (*Exec) Unmarshal

func (m *Exec) Unmarshal(dAtA []byte) error

func (*Exec) XXX_DiscardUnknown

func (m *Exec) XXX_DiscardUnknown()

func (*Exec) XXX_Marshal

func (m *Exec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Exec) XXX_Merge

func (m *Exec) XXX_Merge(src proto.Message)

func (*Exec) XXX_Size

func (m *Exec) XXX_Size() int

func (*Exec) XXX_Unmarshal

func (m *Exec) XXX_Unmarshal(b []byte) error

type GithubConnectorCreate

type GithubConnectorCreate struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata `protobuf:"bytes,2,opt,name=Resource,proto3,embedded=Resource" json:""`
	// User is a common user event metadata
	UserMetadata         `protobuf:"bytes,3,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GithubConnectorCreate fires when a Github connector is created/updated.

func (*GithubConnectorCreate) Descriptor

func (*GithubConnectorCreate) Descriptor() ([]byte, []int)

func (*GithubConnectorCreate) Marshal

func (m *GithubConnectorCreate) Marshal() (dAtA []byte, err error)

func (*GithubConnectorCreate) MarshalTo

func (m *GithubConnectorCreate) MarshalTo(dAtA []byte) (int, error)

func (*GithubConnectorCreate) MarshalToSizedBuffer

func (m *GithubConnectorCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GithubConnectorCreate) ProtoMessage

func (*GithubConnectorCreate) ProtoMessage()

func (*GithubConnectorCreate) Reset

func (m *GithubConnectorCreate) Reset()

func (*GithubConnectorCreate) Size

func (m *GithubConnectorCreate) Size() (n int)

func (*GithubConnectorCreate) String

func (m *GithubConnectorCreate) String() string

func (*GithubConnectorCreate) Unmarshal

func (m *GithubConnectorCreate) Unmarshal(dAtA []byte) error

func (*GithubConnectorCreate) XXX_DiscardUnknown

func (m *GithubConnectorCreate) XXX_DiscardUnknown()

func (*GithubConnectorCreate) XXX_Marshal

func (m *GithubConnectorCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GithubConnectorCreate) XXX_Merge

func (m *GithubConnectorCreate) XXX_Merge(src proto.Message)

func (*GithubConnectorCreate) XXX_Size

func (m *GithubConnectorCreate) XXX_Size() int

func (*GithubConnectorCreate) XXX_Unmarshal

func (m *GithubConnectorCreate) XXX_Unmarshal(b []byte) error

type GithubConnectorDelete

type GithubConnectorDelete struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata `protobuf:"bytes,2,opt,name=Resource,proto3,embedded=Resource" json:""`
	// User is a common user event metadata
	UserMetadata         `protobuf:"bytes,3,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GithubConnectorDelete fires when a Github connector is deleted.

func (*GithubConnectorDelete) Descriptor

func (*GithubConnectorDelete) Descriptor() ([]byte, []int)

func (*GithubConnectorDelete) Marshal

func (m *GithubConnectorDelete) Marshal() (dAtA []byte, err error)

func (*GithubConnectorDelete) MarshalTo

func (m *GithubConnectorDelete) MarshalTo(dAtA []byte) (int, error)

func (*GithubConnectorDelete) MarshalToSizedBuffer

func (m *GithubConnectorDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GithubConnectorDelete) ProtoMessage

func (*GithubConnectorDelete) ProtoMessage()

func (*GithubConnectorDelete) Reset

func (m *GithubConnectorDelete) Reset()

func (*GithubConnectorDelete) Size

func (m *GithubConnectorDelete) Size() (n int)

func (*GithubConnectorDelete) String

func (m *GithubConnectorDelete) String() string

func (*GithubConnectorDelete) Unmarshal

func (m *GithubConnectorDelete) Unmarshal(dAtA []byte) error

func (*GithubConnectorDelete) XXX_DiscardUnknown

func (m *GithubConnectorDelete) XXX_DiscardUnknown()

func (*GithubConnectorDelete) XXX_Marshal

func (m *GithubConnectorDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GithubConnectorDelete) XXX_Merge

func (m *GithubConnectorDelete) XXX_Merge(src proto.Message)

func (*GithubConnectorDelete) XXX_Size

func (m *GithubConnectorDelete) XXX_Size() int

func (*GithubConnectorDelete) XXX_Unmarshal

func (m *GithubConnectorDelete) XXX_Unmarshal(b []byte) error

type KubeRequest

type KubeRequest struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,3,opt,name=Connection,proto3,embedded=Connection" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,4,opt,name=Server,proto3,embedded=Server" json:""`
	// RequestPath is the raw request URL path.
	RequestPath string `protobuf:"bytes,5,opt,name=RequestPath,proto3" json:"request_path"`
	// Verb is the HTTP verb used for this request (e.g. GET, POST, etc)
	Verb string `protobuf:"bytes,6,opt,name=Verb,proto3" json:"verb"`
	// ResourceAPIGroup is the resource API group.
	ResourceAPIGroup string `protobuf:"bytes,7,opt,name=ResourceAPIGroup,proto3" json:"resource_api_group,omitempty"`
	// ResourceNamespace is the resource namespace.
	ResourceNamespace string `protobuf:"bytes,8,opt,name=ResourceNamespace,proto3" json:"resource_namespace,omitempty"`
	// ResourceKind is the API resource kind (e.g. "pod", "service", etc).
	ResourceKind string `protobuf:"bytes,9,opt,name=ResourceKind,proto3" json:"resource_kind,omitempty"`
	// ResourceName is the API resource name.
	ResourceName string `protobuf:"bytes,10,opt,name=ResourceName,proto3" json:"resource_name,omitempty"`
	// ResponseCode is the HTTP response code for this request.
	ResponseCode int32 `protobuf:"varint,11,opt,name=ResponseCode,proto3" json:"response_code"`
	// Kubernetes has information about a kubernetes cluster, if applicable.
	KubernetesClusterMetadata `protobuf:"bytes,12,opt,name=Kubernetes,proto3,embedded=Kubernetes" json:""`
	XXX_NoUnkeyedLiteral      struct{} `json:"-"`
	XXX_unrecognized          []byte   `json:"-"`
	XXX_sizecache             int32    `json:"-"`
}

KubeRequest specifies a Kubernetes API request event.

func (*KubeRequest) Descriptor

func (*KubeRequest) Descriptor() ([]byte, []int)

func (*KubeRequest) Marshal

func (m *KubeRequest) Marshal() (dAtA []byte, err error)

func (*KubeRequest) MarshalTo

func (m *KubeRequest) MarshalTo(dAtA []byte) (int, error)

func (*KubeRequest) MarshalToSizedBuffer

func (m *KubeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubeRequest) ProtoMessage

func (*KubeRequest) ProtoMessage()

func (*KubeRequest) Reset

func (m *KubeRequest) Reset()

func (*KubeRequest) Size

func (m *KubeRequest) Size() (n int)

func (*KubeRequest) String

func (m *KubeRequest) String() string

func (*KubeRequest) Unmarshal

func (m *KubeRequest) Unmarshal(dAtA []byte) error

func (*KubeRequest) XXX_DiscardUnknown

func (m *KubeRequest) XXX_DiscardUnknown()

func (*KubeRequest) XXX_Marshal

func (m *KubeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubeRequest) XXX_Merge

func (m *KubeRequest) XXX_Merge(src proto.Message)

func (*KubeRequest) XXX_Size

func (m *KubeRequest) XXX_Size() int

func (*KubeRequest) XXX_Unmarshal

func (m *KubeRequest) XXX_Unmarshal(b []byte) error

type KubernetesClusterMetadata

type KubernetesClusterMetadata struct {
	// KubernetesCluster is a kubernetes cluster name.
	KubernetesCluster string `protobuf:"bytes,1,opt,name=KubernetesCluster,proto3" json:"kubernetes_cluster,omitempty"`
	// KubernetesUsers is a list of kubernetes usernames for the user.
	KubernetesUsers []string `protobuf:"bytes,2,rep,name=KubernetesUsers,proto3" json:"kubernetes_users,omitempty"`
	// KubernetesGroups is a list of kubernetes groups for the user.
	KubernetesGroups     []string `protobuf:"bytes,3,rep,name=KubernetesGroups,proto3" json:"kubernetes_groups,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

KubernetesClusterMetadata contains common metadata for kubernetes-related events.

func (*KubernetesClusterMetadata) Descriptor

func (*KubernetesClusterMetadata) Descriptor() ([]byte, []int)

func (*KubernetesClusterMetadata) Marshal

func (m *KubernetesClusterMetadata) Marshal() (dAtA []byte, err error)

func (*KubernetesClusterMetadata) MarshalTo

func (m *KubernetesClusterMetadata) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesClusterMetadata) MarshalToSizedBuffer

func (m *KubernetesClusterMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesClusterMetadata) ProtoMessage

func (*KubernetesClusterMetadata) ProtoMessage()

func (*KubernetesClusterMetadata) Reset

func (m *KubernetesClusterMetadata) Reset()

func (*KubernetesClusterMetadata) Size

func (m *KubernetesClusterMetadata) Size() (n int)

func (*KubernetesClusterMetadata) String

func (m *KubernetesClusterMetadata) String() string

func (*KubernetesClusterMetadata) Unmarshal

func (m *KubernetesClusterMetadata) Unmarshal(dAtA []byte) error

func (*KubernetesClusterMetadata) XXX_DiscardUnknown

func (m *KubernetesClusterMetadata) XXX_DiscardUnknown()

func (*KubernetesClusterMetadata) XXX_Marshal

func (m *KubernetesClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesClusterMetadata) XXX_Merge

func (m *KubernetesClusterMetadata) XXX_Merge(src proto.Message)

func (*KubernetesClusterMetadata) XXX_Size

func (m *KubernetesClusterMetadata) XXX_Size() int

func (*KubernetesClusterMetadata) XXX_Unmarshal

func (m *KubernetesClusterMetadata) XXX_Unmarshal(b []byte) error

type KubernetesPodMetadata

type KubernetesPodMetadata struct {
	// KubernetesPodName is the name of the pod.
	KubernetesPodName string `protobuf:"bytes,1,opt,name=KubernetesPodName,proto3" json:"kubernetes_pod_name,omitempty"`
	// KubernetesPodNamespace is the namespace of the pod.
	KubernetesPodNamespace string `protobuf:"bytes,2,opt,name=KubernetesPodNamespace,proto3" json:"kubernetes_pod_namespace,omitempty"`
	// KubernetesContainerName is the name of the container within the pod.
	KubernetesContainerName string `protobuf:"bytes,3,opt,name=KubernetesContainerName,proto3" json:"kubernetes_container_name,omitempty"`
	// KubernetesContainerImage is the image of the container within the pod.
	KubernetesContainerImage string `protobuf:"bytes,4,opt,name=KubernetesContainerImage,proto3" json:"kubernetes_container_image,omitempty"`
	// KubernetesNodeName is the node that runs the pod.
	KubernetesNodeName   string   `protobuf:"bytes,5,opt,name=KubernetesNodeName,proto3" json:"kubernetes_node_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

KubernetesPodMetadata contains common metadata for kubernetes pod-related events.

func (*KubernetesPodMetadata) Descriptor

func (*KubernetesPodMetadata) Descriptor() ([]byte, []int)

func (*KubernetesPodMetadata) Marshal

func (m *KubernetesPodMetadata) Marshal() (dAtA []byte, err error)

func (*KubernetesPodMetadata) MarshalTo

func (m *KubernetesPodMetadata) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesPodMetadata) MarshalToSizedBuffer

func (m *KubernetesPodMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesPodMetadata) ProtoMessage

func (*KubernetesPodMetadata) ProtoMessage()

func (*KubernetesPodMetadata) Reset

func (m *KubernetesPodMetadata) Reset()

func (*KubernetesPodMetadata) Size

func (m *KubernetesPodMetadata) Size() (n int)

func (*KubernetesPodMetadata) String

func (m *KubernetesPodMetadata) String() string

func (*KubernetesPodMetadata) Unmarshal

func (m *KubernetesPodMetadata) Unmarshal(dAtA []byte) error

func (*KubernetesPodMetadata) XXX_DiscardUnknown

func (m *KubernetesPodMetadata) XXX_DiscardUnknown()

func (*KubernetesPodMetadata) XXX_Marshal

func (m *KubernetesPodMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesPodMetadata) XXX_Merge

func (m *KubernetesPodMetadata) XXX_Merge(src proto.Message)

func (*KubernetesPodMetadata) XXX_Size

func (m *KubernetesPodMetadata) XXX_Size() int

func (*KubernetesPodMetadata) XXX_Unmarshal

func (m *KubernetesPodMetadata) XXX_Unmarshal(b []byte) error

type MFADeviceAdd

type MFADeviceAdd struct {
	// Metadata is a common event metadata.
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata.
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// Device is the new MFA device added by the user.
	MFADeviceMetadata    `protobuf:"bytes,3,opt,name=Device,proto3,embedded=Device" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

MFADeviceAdd is emitted when a user adds an MFA device.

func (*MFADeviceAdd) Descriptor

func (*MFADeviceAdd) Descriptor() ([]byte, []int)

func (*MFADeviceAdd) Marshal

func (m *MFADeviceAdd) Marshal() (dAtA []byte, err error)

func (*MFADeviceAdd) MarshalTo

func (m *MFADeviceAdd) MarshalTo(dAtA []byte) (int, error)

func (*MFADeviceAdd) MarshalToSizedBuffer

func (m *MFADeviceAdd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MFADeviceAdd) ProtoMessage

func (*MFADeviceAdd) ProtoMessage()

func (*MFADeviceAdd) Reset

func (m *MFADeviceAdd) Reset()

func (*MFADeviceAdd) Size

func (m *MFADeviceAdd) Size() (n int)

func (*MFADeviceAdd) String

func (m *MFADeviceAdd) String() string

func (*MFADeviceAdd) Unmarshal

func (m *MFADeviceAdd) Unmarshal(dAtA []byte) error

func (*MFADeviceAdd) XXX_DiscardUnknown

func (m *MFADeviceAdd) XXX_DiscardUnknown()

func (*MFADeviceAdd) XXX_Marshal

func (m *MFADeviceAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MFADeviceAdd) XXX_Merge

func (m *MFADeviceAdd) XXX_Merge(src proto.Message)

func (*MFADeviceAdd) XXX_Size

func (m *MFADeviceAdd) XXX_Size() int

func (*MFADeviceAdd) XXX_Unmarshal

func (m *MFADeviceAdd) XXX_Unmarshal(b []byte) error

type MFADeviceDelete

type MFADeviceDelete struct {
	// Metadata is a common event metadata.
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata.
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// Device is the MFA device deleted by the user.
	MFADeviceMetadata    `protobuf:"bytes,3,opt,name=Device,proto3,embedded=Device" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

MFADeviceDelete is emitted when a user deletes an MFA device.

func (*MFADeviceDelete) Descriptor

func (*MFADeviceDelete) Descriptor() ([]byte, []int)

func (*MFADeviceDelete) Marshal

func (m *MFADeviceDelete) Marshal() (dAtA []byte, err error)

func (*MFADeviceDelete) MarshalTo

func (m *MFADeviceDelete) MarshalTo(dAtA []byte) (int, error)

func (*MFADeviceDelete) MarshalToSizedBuffer

func (m *MFADeviceDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MFADeviceDelete) ProtoMessage

func (*MFADeviceDelete) ProtoMessage()

func (*MFADeviceDelete) Reset

func (m *MFADeviceDelete) Reset()

func (*MFADeviceDelete) Size

func (m *MFADeviceDelete) Size() (n int)

func (*MFADeviceDelete) String

func (m *MFADeviceDelete) String() string

func (*MFADeviceDelete) Unmarshal

func (m *MFADeviceDelete) Unmarshal(dAtA []byte) error

func (*MFADeviceDelete) XXX_DiscardUnknown

func (m *MFADeviceDelete) XXX_DiscardUnknown()

func (*MFADeviceDelete) XXX_Marshal

func (m *MFADeviceDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MFADeviceDelete) XXX_Merge

func (m *MFADeviceDelete) XXX_Merge(src proto.Message)

func (*MFADeviceDelete) XXX_Size

func (m *MFADeviceDelete) XXX_Size() int

func (*MFADeviceDelete) XXX_Unmarshal

func (m *MFADeviceDelete) XXX_Unmarshal(b []byte) error

type MFADeviceMetadata

type MFADeviceMetadata struct {
	// Name is the user-specified name of the MFA device.
	DeviceName string `protobuf:"bytes,1,opt,name=DeviceName,proto3" json:"mfa_device_name"`
	// ID is the UUID of the MFA device generated by Teleport.
	DeviceID string `protobuf:"bytes,2,opt,name=DeviceID,proto3" json:"mfa_device_uuid"`
	// Type is the type of this MFA device.
	DeviceType           string   `protobuf:"bytes,3,opt,name=DeviceType,proto3" json:"mfa_device_type"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

MFADeviceMetadata is a common MFA device metadata.

func (*MFADeviceMetadata) Descriptor

func (*MFADeviceMetadata) Descriptor() ([]byte, []int)

func (*MFADeviceMetadata) Marshal

func (m *MFADeviceMetadata) Marshal() (dAtA []byte, err error)

func (*MFADeviceMetadata) MarshalTo

func (m *MFADeviceMetadata) MarshalTo(dAtA []byte) (int, error)

func (*MFADeviceMetadata) MarshalToSizedBuffer

func (m *MFADeviceMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MFADeviceMetadata) ProtoMessage

func (*MFADeviceMetadata) ProtoMessage()

func (*MFADeviceMetadata) Reset

func (m *MFADeviceMetadata) Reset()

func (*MFADeviceMetadata) Size

func (m *MFADeviceMetadata) Size() (n int)

func (*MFADeviceMetadata) String

func (m *MFADeviceMetadata) String() string

func (*MFADeviceMetadata) Unmarshal

func (m *MFADeviceMetadata) Unmarshal(dAtA []byte) error

func (*MFADeviceMetadata) XXX_DiscardUnknown

func (m *MFADeviceMetadata) XXX_DiscardUnknown()

func (*MFADeviceMetadata) XXX_Marshal

func (m *MFADeviceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MFADeviceMetadata) XXX_Merge

func (m *MFADeviceMetadata) XXX_Merge(src proto.Message)

func (*MFADeviceMetadata) XXX_Size

func (m *MFADeviceMetadata) XXX_Size() int

func (*MFADeviceMetadata) XXX_Unmarshal

func (m *MFADeviceMetadata) XXX_Unmarshal(b []byte) error

type Metadata

type Metadata struct {
	// Index is a monotonicaly incremented index in the event sequence
	Index int64 `protobuf:"varint,1,opt,name=Index,proto3" json:"ei"`
	// Type is the event type
	Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"event"`
	// ID is a unique event identifier
	ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"uid,omitempty"`
	// Code is a unique event code
	Code string `protobuf:"bytes,4,opt,name=Code,proto3" json:"code,omitempty"`
	// Time is event time
	Time time.Time `protobuf:"bytes,5,opt,name=Time,proto3,stdtime" json:"time"`
	// ClusterName identifies the originating teleport cluster
	ClusterName          string   `protobuf:"bytes,6,opt,name=ClusterName,proto3" json:"cluster_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Metadata is a common event metadata

func (*Metadata) Descriptor

func (*Metadata) Descriptor() ([]byte, []int)

func (*Metadata) GetClusterName

func (m *Metadata) GetClusterName() string

GetClusterName returns originating teleport cluster name

func (*Metadata) GetCode

func (m *Metadata) GetCode() string

GetCode returns event code

func (*Metadata) GetID

func (m *Metadata) GetID() string

GetID returns event ID

func (*Metadata) GetIndex

func (m *Metadata) GetIndex() int64

GetIndex gets event index

func (*Metadata) GetTime

func (m *Metadata) GetTime() time.Time

GetTime returns event time

func (*Metadata) GetType

func (m *Metadata) GetType() string

GetType returns event type

func (*Metadata) Marshal

func (m *Metadata) Marshal() (dAtA []byte, err error)

func (*Metadata) MarshalTo

func (m *Metadata) MarshalTo(dAtA []byte) (int, error)

func (*Metadata) MarshalToSizedBuffer

func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) SetClusterName

func (m *Metadata) SetClusterName(clusterName string)

SetClusterName returns originating teleport cluster name

func (*Metadata) SetCode

func (m *Metadata) SetCode(code string)

SetCode sets event code

func (*Metadata) SetID

func (m *Metadata) SetID(id string)

SetID sets event ID

func (*Metadata) SetIndex

func (m *Metadata) SetIndex(idx int64)

SetIndex sets event index

func (*Metadata) SetTime

func (m *Metadata) SetTime(tm time.Time)

SetTime sets event time

func (*Metadata) SetType

func (m *Metadata) SetType(etype string)

SetType sets unique type

func (*Metadata) Size

func (m *Metadata) Size() (n int)

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) Unmarshal

func (m *Metadata) Unmarshal(dAtA []byte) error

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metadata) XXX_Merge

func (m *Metadata) XXX_Merge(src proto.Message)

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

func (m *Metadata) XXX_Unmarshal(b []byte) error

type OIDCConnectorCreate

type OIDCConnectorCreate struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata `protobuf:"bytes,2,opt,name=Resource,proto3,embedded=Resource" json:""`
	// User is a common user event metadata
	UserMetadata         `protobuf:"bytes,3,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

OIDCConnectorCreate fires when OIDC connector is created/updated.

func (*OIDCConnectorCreate) Descriptor

func (*OIDCConnectorCreate) Descriptor() ([]byte, []int)

func (*OIDCConnectorCreate) Marshal

func (m *OIDCConnectorCreate) Marshal() (dAtA []byte, err error)

func (*OIDCConnectorCreate) MarshalTo

func (m *OIDCConnectorCreate) MarshalTo(dAtA []byte) (int, error)

func (*OIDCConnectorCreate) MarshalToSizedBuffer

func (m *OIDCConnectorCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OIDCConnectorCreate) ProtoMessage

func (*OIDCConnectorCreate) ProtoMessage()

func (*OIDCConnectorCreate) Reset

func (m *OIDCConnectorCreate) Reset()

func (*OIDCConnectorCreate) Size

func (m *OIDCConnectorCreate) Size() (n int)

func (*OIDCConnectorCreate) String

func (m *OIDCConnectorCreate) String() string

func (*OIDCConnectorCreate) Unmarshal

func (m *OIDCConnectorCreate) Unmarshal(dAtA []byte) error

func (*OIDCConnectorCreate) XXX_DiscardUnknown

func (m *OIDCConnectorCreate) XXX_DiscardUnknown()

func (*OIDCConnectorCreate) XXX_Marshal

func (m *OIDCConnectorCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OIDCConnectorCreate) XXX_Merge

func (m *OIDCConnectorCreate) XXX_Merge(src proto.Message)

func (*OIDCConnectorCreate) XXX_Size

func (m *OIDCConnectorCreate) XXX_Size() int

func (*OIDCConnectorCreate) XXX_Unmarshal

func (m *OIDCConnectorCreate) XXX_Unmarshal(b []byte) error

type OIDCConnectorDelete

type OIDCConnectorDelete struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata `protobuf:"bytes,2,opt,name=Resource,proto3,embedded=Resource" json:""`
	// User is a common user event metadata
	UserMetadata         `protobuf:"bytes,3,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

OIDCConnectorDelete fires when OIDC connector is deleted.

func (*OIDCConnectorDelete) Descriptor

func (*OIDCConnectorDelete) Descriptor() ([]byte, []int)

func (*OIDCConnectorDelete) Marshal

func (m *OIDCConnectorDelete) Marshal() (dAtA []byte, err error)

func (*OIDCConnectorDelete) MarshalTo

func (m *OIDCConnectorDelete) MarshalTo(dAtA []byte) (int, error)

func (*OIDCConnectorDelete) MarshalToSizedBuffer

func (m *OIDCConnectorDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OIDCConnectorDelete) ProtoMessage

func (*OIDCConnectorDelete) ProtoMessage()

func (*OIDCConnectorDelete) Reset

func (m *OIDCConnectorDelete) Reset()

func (*OIDCConnectorDelete) Size

func (m *OIDCConnectorDelete) Size() (n int)

func (*OIDCConnectorDelete) String

func (m *OIDCConnectorDelete) String() string

func (*OIDCConnectorDelete) Unmarshal

func (m *OIDCConnectorDelete) Unmarshal(dAtA []byte) error

func (*OIDCConnectorDelete) XXX_DiscardUnknown

func (m *OIDCConnectorDelete) XXX_DiscardUnknown()

func (*OIDCConnectorDelete) XXX_Marshal

func (m *OIDCConnectorDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OIDCConnectorDelete) XXX_Merge

func (m *OIDCConnectorDelete) XXX_Merge(src proto.Message)

func (*OIDCConnectorDelete) XXX_Size

func (m *OIDCConnectorDelete) XXX_Size() int

func (*OIDCConnectorDelete) XXX_Unmarshal

func (m *OIDCConnectorDelete) XXX_Unmarshal(b []byte) error

type OneOf

type OneOf struct {
	// Event is one of the audit events
	//
	// Types that are valid to be assigned to Event:
	//	*OneOf_UserLogin
	//	*OneOf_UserCreate
	//	*OneOf_UserDelete
	//	*OneOf_UserPasswordChange
	//	*OneOf_SessionStart
	//	*OneOf_SessionJoin
	//	*OneOf_SessionPrint
	//	*OneOf_SessionReject
	//	*OneOf_Resize
	//	*OneOf_SessionEnd
	//	*OneOf_SessionCommand
	//	*OneOf_SessionDisk
	//	*OneOf_SessionNetwork
	//	*OneOf_SessionData
	//	*OneOf_SessionLeave
	//	*OneOf_PortForward
	//	*OneOf_X11Forward
	//	*OneOf_SCP
	//	*OneOf_Exec
	//	*OneOf_Subsystem
	//	*OneOf_ClientDisconnect
	//	*OneOf_AuthAttempt
	//	*OneOf_AccessRequestCreate
	//	*OneOf_ResetPasswordTokenCreate
	//	*OneOf_RoleCreate
	//	*OneOf_RoleDelete
	//	*OneOf_TrustedClusterCreate
	//	*OneOf_TrustedClusterDelete
	//	*OneOf_TrustedClusterTokenCreate
	//	*OneOf_GithubConnectorCreate
	//	*OneOf_GithubConnectorDelete
	//	*OneOf_OIDCConnectorCreate
	//	*OneOf_OIDCConnectorDelete
	//	*OneOf_SAMLConnectorCreate
	//	*OneOf_SAMLConnectorDelete
	//	*OneOf_KubeRequest
	//	*OneOf_AppSessionStart
	//	*OneOf_AppSessionChunk
	//	*OneOf_AppSessionRequest
	//	*OneOf_DatabaseSessionStart
	//	*OneOf_DatabaseSessionEnd
	//	*OneOf_DatabaseSessionQuery
	//	*OneOf_SessionUpload
	//	*OneOf_MFADeviceAdd
	//	*OneOf_MFADeviceDelete
	//	*OneOf_BillingInformationUpdate
	//	*OneOf_BillingCardCreate
	//	*OneOf_BillingCardDelete
	Event                isOneOf_Event `protobuf_oneof:"Event"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

OneOf is a union of one of audit events submitted to the auth service

func MustToOneOf

func MustToOneOf(in AuditEvent) *OneOf

MustToOneOf converts audit event to OneOf or panics, used in tests

func ToOneOf

func ToOneOf(in AuditEvent) (*OneOf, error)

ToOneOf converts audit event to union type of the events

func (*OneOf) Descriptor

func (*OneOf) Descriptor() ([]byte, []int)

func (*OneOf) GetAccessRequestCreate

func (m *OneOf) GetAccessRequestCreate() *AccessRequestCreate

func (*OneOf) GetAppSessionChunk

func (m *OneOf) GetAppSessionChunk() *AppSessionChunk

func (*OneOf) GetAppSessionRequest

func (m *OneOf) GetAppSessionRequest() *AppSessionRequest

func (*OneOf) GetAppSessionStart

func (m *OneOf) GetAppSessionStart() *AppSessionStart

func (*OneOf) GetAuthAttempt

func (m *OneOf) GetAuthAttempt() *AuthAttempt

func (*OneOf) GetBillingCardCreate

func (m *OneOf) GetBillingCardCreate() *BillingCardCreate

func (*OneOf) GetBillingCardDelete

func (m *OneOf) GetBillingCardDelete() *BillingCardDelete

func (*OneOf) GetBillingInformationUpdate

func (m *OneOf) GetBillingInformationUpdate() *BillingInformationUpdate

func (*OneOf) GetClientDisconnect

func (m *OneOf) GetClientDisconnect() *ClientDisconnect

func (*OneOf) GetDatabaseSessionEnd

func (m *OneOf) GetDatabaseSessionEnd() *DatabaseSessionEnd

func (*OneOf) GetDatabaseSessionQuery

func (m *OneOf) GetDatabaseSessionQuery() *DatabaseSessionQuery

func (*OneOf) GetDatabaseSessionStart

func (m *OneOf) GetDatabaseSessionStart() *DatabaseSessionStart

func (*OneOf) GetEvent

func (m *OneOf) GetEvent() isOneOf_Event

func (*OneOf) GetExec

func (m *OneOf) GetExec() *Exec

func (*OneOf) GetGithubConnectorCreate

func (m *OneOf) GetGithubConnectorCreate() *GithubConnectorCreate

func (*OneOf) GetGithubConnectorDelete

func (m *OneOf) GetGithubConnectorDelete() *GithubConnectorDelete

func (*OneOf) GetKubeRequest

func (m *OneOf) GetKubeRequest() *KubeRequest

func (*OneOf) GetMFADeviceAdd

func (m *OneOf) GetMFADeviceAdd() *MFADeviceAdd

func (*OneOf) GetMFADeviceDelete

func (m *OneOf) GetMFADeviceDelete() *MFADeviceDelete

func (*OneOf) GetOIDCConnectorCreate

func (m *OneOf) GetOIDCConnectorCreate() *OIDCConnectorCreate

func (*OneOf) GetOIDCConnectorDelete

func (m *OneOf) GetOIDCConnectorDelete() *OIDCConnectorDelete

func (*OneOf) GetPortForward

func (m *OneOf) GetPortForward() *PortForward

func (*OneOf) GetResetPasswordTokenCreate

func (m *OneOf) GetResetPasswordTokenCreate() *ResetPasswordTokenCreate

func (*OneOf) GetResize

func (m *OneOf) GetResize() *Resize

func (*OneOf) GetRoleCreate

func (m *OneOf) GetRoleCreate() *RoleCreate

func (*OneOf) GetRoleDelete

func (m *OneOf) GetRoleDelete() *RoleDelete

func (*OneOf) GetSAMLConnectorCreate

func (m *OneOf) GetSAMLConnectorCreate() *SAMLConnectorCreate

func (*OneOf) GetSAMLConnectorDelete

func (m *OneOf) GetSAMLConnectorDelete() *SAMLConnectorDelete

func (*OneOf) GetSCP

func (m *OneOf) GetSCP() *SCP

func (*OneOf) GetSessionCommand

func (m *OneOf) GetSessionCommand() *SessionCommand

func (*OneOf) GetSessionData

func (m *OneOf) GetSessionData() *SessionData

func (*OneOf) GetSessionDisk

func (m *OneOf) GetSessionDisk() *SessionDisk

func (*OneOf) GetSessionEnd

func (m *OneOf) GetSessionEnd() *SessionEnd

func (*OneOf) GetSessionJoin

func (m *OneOf) GetSessionJoin() *SessionJoin

func (*OneOf) GetSessionLeave

func (m *OneOf) GetSessionLeave() *SessionLeave

func (*OneOf) GetSessionNetwork

func (m *OneOf) GetSessionNetwork() *SessionNetwork

func (*OneOf) GetSessionPrint

func (m *OneOf) GetSessionPrint() *SessionPrint

func (*OneOf) GetSessionReject

func (m *OneOf) GetSessionReject() *SessionReject

func (*OneOf) GetSessionStart

func (m *OneOf) GetSessionStart() *SessionStart

func (*OneOf) GetSessionUpload

func (m *OneOf) GetSessionUpload() *SessionUpload

func (*OneOf) GetSubsystem

func (m *OneOf) GetSubsystem() *Subsystem

func (*OneOf) GetTrustedClusterCreate

func (m *OneOf) GetTrustedClusterCreate() *TrustedClusterCreate

func (*OneOf) GetTrustedClusterDelete

func (m *OneOf) GetTrustedClusterDelete() *TrustedClusterDelete

func (*OneOf) GetTrustedClusterTokenCreate

func (m *OneOf) GetTrustedClusterTokenCreate() *TrustedClusterTokenCreate

func (*OneOf) GetUserCreate

func (m *OneOf) GetUserCreate() *UserCreate

func (*OneOf) GetUserDelete

func (m *OneOf) GetUserDelete() *UserDelete

func (*OneOf) GetUserLogin

func (m *OneOf) GetUserLogin() *UserLogin

func (*OneOf) GetUserPasswordChange

func (m *OneOf) GetUserPasswordChange() *UserPasswordChange

func (*OneOf) GetX11Forward

func (m *OneOf) GetX11Forward() *X11Forward

func (*OneOf) Marshal

func (m *OneOf) Marshal() (dAtA []byte, err error)

func (*OneOf) MarshalTo

func (m *OneOf) MarshalTo(dAtA []byte) (int, error)

func (*OneOf) MarshalToSizedBuffer

func (m *OneOf) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf) ProtoMessage

func (*OneOf) ProtoMessage()

func (*OneOf) Reset

func (m *OneOf) Reset()

func (*OneOf) Size

func (m *OneOf) Size() (n int)

func (*OneOf) String

func (m *OneOf) String() string

func (*OneOf) Unmarshal

func (m *OneOf) Unmarshal(dAtA []byte) error

func (*OneOf) XXX_DiscardUnknown

func (m *OneOf) XXX_DiscardUnknown()

func (*OneOf) XXX_Marshal

func (m *OneOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OneOf) XXX_Merge

func (m *OneOf) XXX_Merge(src proto.Message)

func (*OneOf) XXX_OneofWrappers

func (*OneOf) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*OneOf) XXX_Size

func (m *OneOf) XXX_Size() int

func (*OneOf) XXX_Unmarshal

func (m *OneOf) XXX_Unmarshal(b []byte) error

type OneOf_AccessRequestCreate

type OneOf_AccessRequestCreate struct {
	AccessRequestCreate *AccessRequestCreate `protobuf:"bytes,23,opt,name=AccessRequestCreate,proto3,oneof" json:"AccessRequestCreate,omitempty"`
}

func (*OneOf_AccessRequestCreate) MarshalTo

func (m *OneOf_AccessRequestCreate) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_AccessRequestCreate) MarshalToSizedBuffer

func (m *OneOf_AccessRequestCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_AccessRequestCreate) Size

func (m *OneOf_AccessRequestCreate) Size() (n int)

type OneOf_AppSessionChunk

type OneOf_AppSessionChunk struct {
	AppSessionChunk *AppSessionChunk `protobuf:"bytes,38,opt,name=AppSessionChunk,proto3,oneof" json:"AppSessionChunk,omitempty"`
}

func (*OneOf_AppSessionChunk) MarshalTo

func (m *OneOf_AppSessionChunk) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_AppSessionChunk) MarshalToSizedBuffer

func (m *OneOf_AppSessionChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_AppSessionChunk) Size

func (m *OneOf_AppSessionChunk) Size() (n int)

type OneOf_AppSessionRequest

type OneOf_AppSessionRequest struct {
	AppSessionRequest *AppSessionRequest `protobuf:"bytes,39,opt,name=AppSessionRequest,proto3,oneof" json:"AppSessionRequest,omitempty"`
}

func (*OneOf_AppSessionRequest) MarshalTo

func (m *OneOf_AppSessionRequest) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_AppSessionRequest) MarshalToSizedBuffer

func (m *OneOf_AppSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_AppSessionRequest) Size

func (m *OneOf_AppSessionRequest) Size() (n int)

type OneOf_AppSessionStart

type OneOf_AppSessionStart struct {
	AppSessionStart *AppSessionStart `protobuf:"bytes,37,opt,name=AppSessionStart,proto3,oneof" json:"AppSessionStart,omitempty"`
}

func (*OneOf_AppSessionStart) MarshalTo

func (m *OneOf_AppSessionStart) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_AppSessionStart) MarshalToSizedBuffer

func (m *OneOf_AppSessionStart) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_AppSessionStart) Size

func (m *OneOf_AppSessionStart) Size() (n int)

type OneOf_AuthAttempt

type OneOf_AuthAttempt struct {
	AuthAttempt *AuthAttempt `protobuf:"bytes,22,opt,name=AuthAttempt,proto3,oneof" json:"AuthAttempt,omitempty"`
}

func (*OneOf_AuthAttempt) MarshalTo

func (m *OneOf_AuthAttempt) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_AuthAttempt) MarshalToSizedBuffer

func (m *OneOf_AuthAttempt) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_AuthAttempt) Size

func (m *OneOf_AuthAttempt) Size() (n int)

type OneOf_BillingCardCreate

type OneOf_BillingCardCreate struct {
	BillingCardCreate *BillingCardCreate `protobuf:"bytes,47,opt,name=BillingCardCreate,proto3,oneof" json:"BillingCardCreate,omitempty"`
}

func (*OneOf_BillingCardCreate) MarshalTo

func (m *OneOf_BillingCardCreate) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_BillingCardCreate) MarshalToSizedBuffer

func (m *OneOf_BillingCardCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_BillingCardCreate) Size

func (m *OneOf_BillingCardCreate) Size() (n int)

type OneOf_BillingCardDelete

type OneOf_BillingCardDelete struct {
	BillingCardDelete *BillingCardDelete `protobuf:"bytes,48,opt,name=BillingCardDelete,proto3,oneof" json:"BillingCardDelete,omitempty"`
}

func (*OneOf_BillingCardDelete) MarshalTo

func (m *OneOf_BillingCardDelete) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_BillingCardDelete) MarshalToSizedBuffer

func (m *OneOf_BillingCardDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_BillingCardDelete) Size

func (m *OneOf_BillingCardDelete) Size() (n int)

type OneOf_BillingInformationUpdate

type OneOf_BillingInformationUpdate struct {
	BillingInformationUpdate *BillingInformationUpdate `protobuf:"bytes,46,opt,name=BillingInformationUpdate,proto3,oneof" json:"BillingInformationUpdate,omitempty"`
}

func (*OneOf_BillingInformationUpdate) MarshalTo

func (m *OneOf_BillingInformationUpdate) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_BillingInformationUpdate) MarshalToSizedBuffer

func (m *OneOf_BillingInformationUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_BillingInformationUpdate) Size

func (m *OneOf_BillingInformationUpdate) Size() (n int)

type OneOf_ClientDisconnect

type OneOf_ClientDisconnect struct {
	ClientDisconnect *ClientDisconnect `protobuf:"bytes,21,opt,name=ClientDisconnect,proto3,oneof" json:"ClientDisconnect,omitempty"`
}

func (*OneOf_ClientDisconnect) MarshalTo

func (m *OneOf_ClientDisconnect) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_ClientDisconnect) MarshalToSizedBuffer

func (m *OneOf_ClientDisconnect) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_ClientDisconnect) Size

func (m *OneOf_ClientDisconnect) Size() (n int)

type OneOf_DatabaseSessionEnd

type OneOf_DatabaseSessionEnd struct {
	DatabaseSessionEnd *DatabaseSessionEnd `protobuf:"bytes,41,opt,name=DatabaseSessionEnd,proto3,oneof" json:"DatabaseSessionEnd,omitempty"`
}

func (*OneOf_DatabaseSessionEnd) MarshalTo

func (m *OneOf_DatabaseSessionEnd) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_DatabaseSessionEnd) MarshalToSizedBuffer

func (m *OneOf_DatabaseSessionEnd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_DatabaseSessionEnd) Size

func (m *OneOf_DatabaseSessionEnd) Size() (n int)

type OneOf_DatabaseSessionQuery

type OneOf_DatabaseSessionQuery struct {
	DatabaseSessionQuery *DatabaseSessionQuery `protobuf:"bytes,42,opt,name=DatabaseSessionQuery,proto3,oneof" json:"DatabaseSessionQuery,omitempty"`
}

func (*OneOf_DatabaseSessionQuery) MarshalTo

func (m *OneOf_DatabaseSessionQuery) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_DatabaseSessionQuery) MarshalToSizedBuffer

func (m *OneOf_DatabaseSessionQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_DatabaseSessionQuery) Size

func (m *OneOf_DatabaseSessionQuery) Size() (n int)

type OneOf_DatabaseSessionStart

type OneOf_DatabaseSessionStart struct {
	DatabaseSessionStart *DatabaseSessionStart `protobuf:"bytes,40,opt,name=DatabaseSessionStart,proto3,oneof" json:"DatabaseSessionStart,omitempty"`
}

func (*OneOf_DatabaseSessionStart) MarshalTo

func (m *OneOf_DatabaseSessionStart) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_DatabaseSessionStart) MarshalToSizedBuffer

func (m *OneOf_DatabaseSessionStart) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_DatabaseSessionStart) Size

func (m *OneOf_DatabaseSessionStart) Size() (n int)

type OneOf_Exec

type OneOf_Exec struct {
	Exec *Exec `protobuf:"bytes,19,opt,name=Exec,proto3,oneof" json:"Exec,omitempty"`
}

func (*OneOf_Exec) MarshalTo

func (m *OneOf_Exec) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_Exec) MarshalToSizedBuffer

func (m *OneOf_Exec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_Exec) Size

func (m *OneOf_Exec) Size() (n int)

type OneOf_GithubConnectorCreate

type OneOf_GithubConnectorCreate struct {
	GithubConnectorCreate *GithubConnectorCreate `protobuf:"bytes,30,opt,name=GithubConnectorCreate,proto3,oneof" json:"GithubConnectorCreate,omitempty"`
}

func (*OneOf_GithubConnectorCreate) MarshalTo

func (m *OneOf_GithubConnectorCreate) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_GithubConnectorCreate) MarshalToSizedBuffer

func (m *OneOf_GithubConnectorCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_GithubConnectorCreate) Size

func (m *OneOf_GithubConnectorCreate) Size() (n int)

type OneOf_GithubConnectorDelete

type OneOf_GithubConnectorDelete struct {
	GithubConnectorDelete *GithubConnectorDelete `protobuf:"bytes,31,opt,name=GithubConnectorDelete,proto3,oneof" json:"GithubConnectorDelete,omitempty"`
}

func (*OneOf_GithubConnectorDelete) MarshalTo

func (m *OneOf_GithubConnectorDelete) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_GithubConnectorDelete) MarshalToSizedBuffer

func (m *OneOf_GithubConnectorDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_GithubConnectorDelete) Size

func (m *OneOf_GithubConnectorDelete) Size() (n int)

type OneOf_KubeRequest

type OneOf_KubeRequest struct {
	KubeRequest *KubeRequest `protobuf:"bytes,36,opt,name=KubeRequest,proto3,oneof" json:"KubeRequest,omitempty"`
}

func (*OneOf_KubeRequest) MarshalTo

func (m *OneOf_KubeRequest) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_KubeRequest) MarshalToSizedBuffer

func (m *OneOf_KubeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_KubeRequest) Size

func (m *OneOf_KubeRequest) Size() (n int)

type OneOf_MFADeviceAdd

type OneOf_MFADeviceAdd struct {
	MFADeviceAdd *MFADeviceAdd `protobuf:"bytes,44,opt,name=MFADeviceAdd,proto3,oneof" json:"MFADeviceAdd,omitempty"`
}

func (*OneOf_MFADeviceAdd) MarshalTo

func (m *OneOf_MFADeviceAdd) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_MFADeviceAdd) MarshalToSizedBuffer

func (m *OneOf_MFADeviceAdd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_MFADeviceAdd) Size

func (m *OneOf_MFADeviceAdd) Size() (n int)

type OneOf_MFADeviceDelete

type OneOf_MFADeviceDelete struct {
	MFADeviceDelete *MFADeviceDelete `protobuf:"bytes,45,opt,name=MFADeviceDelete,proto3,oneof" json:"MFADeviceDelete,omitempty"`
}

func (*OneOf_MFADeviceDelete) MarshalTo

func (m *OneOf_MFADeviceDelete) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_MFADeviceDelete) MarshalToSizedBuffer

func (m *OneOf_MFADeviceDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_MFADeviceDelete) Size

func (m *OneOf_MFADeviceDelete) Size() (n int)

type OneOf_OIDCConnectorCreate

type OneOf_OIDCConnectorCreate struct {
	OIDCConnectorCreate *OIDCConnectorCreate `protobuf:"bytes,32,opt,name=OIDCConnectorCreate,proto3,oneof" json:"OIDCConnectorCreate,omitempty"`
}

func (*OneOf_OIDCConnectorCreate) MarshalTo

func (m *OneOf_OIDCConnectorCreate) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_OIDCConnectorCreate) MarshalToSizedBuffer

func (m *OneOf_OIDCConnectorCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_OIDCConnectorCreate) Size

func (m *OneOf_OIDCConnectorCreate) Size() (n int)

type OneOf_OIDCConnectorDelete

type OneOf_OIDCConnectorDelete struct {
	OIDCConnectorDelete *OIDCConnectorDelete `protobuf:"bytes,33,opt,name=OIDCConnectorDelete,proto3,oneof" json:"OIDCConnectorDelete,omitempty"`
}

func (*OneOf_OIDCConnectorDelete) MarshalTo

func (m *OneOf_OIDCConnectorDelete) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_OIDCConnectorDelete) MarshalToSizedBuffer

func (m *OneOf_OIDCConnectorDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_OIDCConnectorDelete) Size

func (m *OneOf_OIDCConnectorDelete) Size() (n int)

type OneOf_PortForward

type OneOf_PortForward struct {
	PortForward *PortForward `protobuf:"bytes,16,opt,name=PortForward,proto3,oneof" json:"PortForward,omitempty"`
}

func (*OneOf_PortForward) MarshalTo

func (m *OneOf_PortForward) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_PortForward) MarshalToSizedBuffer

func (m *OneOf_PortForward) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_PortForward) Size

func (m *OneOf_PortForward) Size() (n int)

type OneOf_ResetPasswordTokenCreate

type OneOf_ResetPasswordTokenCreate struct {
	ResetPasswordTokenCreate *ResetPasswordTokenCreate `protobuf:"bytes,24,opt,name=ResetPasswordTokenCreate,proto3,oneof" json:"ResetPasswordTokenCreate,omitempty"`
}

func (*OneOf_ResetPasswordTokenCreate) MarshalTo

func (m *OneOf_ResetPasswordTokenCreate) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_ResetPasswordTokenCreate) MarshalToSizedBuffer

func (m *OneOf_ResetPasswordTokenCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_ResetPasswordTokenCreate) Size

func (m *OneOf_ResetPasswordTokenCreate) Size() (n int)

type OneOf_Resize

type OneOf_Resize struct {
	Resize *Resize `protobuf:"bytes,9,opt,name=Resize,proto3,oneof" json:"Resize,omitempty"`
}

func (*OneOf_Resize) MarshalTo

func (m *OneOf_Resize) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_Resize) MarshalToSizedBuffer

func (m *OneOf_Resize) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_Resize) Size

func (m *OneOf_Resize) Size() (n int)

type OneOf_RoleCreate

type OneOf_RoleCreate struct {
	RoleCreate *RoleCreate `protobuf:"bytes,25,opt,name=RoleCreate,proto3,oneof" json:"RoleCreate,omitempty"`
}

func (*OneOf_RoleCreate) MarshalTo

func (m *OneOf_RoleCreate) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_RoleCreate) MarshalToSizedBuffer

func (m *OneOf_RoleCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_RoleCreate) Size

func (m *OneOf_RoleCreate) Size() (n int)

type OneOf_RoleDelete

type OneOf_RoleDelete struct {
	RoleDelete *RoleDelete `protobuf:"bytes,26,opt,name=RoleDelete,proto3,oneof" json:"RoleDelete,omitempty"`
}

func (*OneOf_RoleDelete) MarshalTo

func (m *OneOf_RoleDelete) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_RoleDelete) MarshalToSizedBuffer

func (m *OneOf_RoleDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_RoleDelete) Size

func (m *OneOf_RoleDelete) Size() (n int)

type OneOf_SAMLConnectorCreate

type OneOf_SAMLConnectorCreate struct {
	SAMLConnectorCreate *SAMLConnectorCreate `protobuf:"bytes,34,opt,name=SAMLConnectorCreate,proto3,oneof" json:"SAMLConnectorCreate,omitempty"`
}

func (*OneOf_SAMLConnectorCreate) MarshalTo

func (m *OneOf_SAMLConnectorCreate) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_SAMLConnectorCreate) MarshalToSizedBuffer

func (m *OneOf_SAMLConnectorCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_SAMLConnectorCreate) Size

func (m *OneOf_SAMLConnectorCreate) Size() (n int)

type OneOf_SAMLConnectorDelete

type OneOf_SAMLConnectorDelete struct {
	SAMLConnectorDelete *SAMLConnectorDelete `protobuf:"bytes,35,opt,name=SAMLConnectorDelete,proto3,oneof" json:"SAMLConnectorDelete,omitempty"`
}

func (*OneOf_SAMLConnectorDelete) MarshalTo

func (m *OneOf_SAMLConnectorDelete) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_SAMLConnectorDelete) MarshalToSizedBuffer

func (m *OneOf_SAMLConnectorDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_SAMLConnectorDelete) Size

func (m *OneOf_SAMLConnectorDelete) Size() (n int)

type OneOf_SCP

type OneOf_SCP struct {
	SCP *SCP `protobuf:"bytes,18,opt,name=SCP,proto3,oneof" json:"SCP,omitempty"`
}

func (*OneOf_SCP) MarshalTo

func (m *OneOf_SCP) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_SCP) MarshalToSizedBuffer

func (m *OneOf_SCP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_SCP) Size

func (m *OneOf_SCP) Size() (n int)

type OneOf_SessionCommand

type OneOf_SessionCommand struct {
	SessionCommand *SessionCommand `protobuf:"bytes,11,opt,name=SessionCommand,proto3,oneof" json:"SessionCommand,omitempty"`
}

func (*OneOf_SessionCommand) MarshalTo

func (m *OneOf_SessionCommand) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_SessionCommand) MarshalToSizedBuffer

func (m *OneOf_SessionCommand) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_SessionCommand) Size

func (m *OneOf_SessionCommand) Size() (n int)

type OneOf_SessionData

type OneOf_SessionData struct {
	SessionData *SessionData `protobuf:"bytes,14,opt,name=SessionData,proto3,oneof" json:"SessionData,omitempty"`
}

func (*OneOf_SessionData) MarshalTo

func (m *OneOf_SessionData) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_SessionData) MarshalToSizedBuffer

func (m *OneOf_SessionData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_SessionData) Size

func (m *OneOf_SessionData) Size() (n int)

type OneOf_SessionDisk

type OneOf_SessionDisk struct {
	SessionDisk *SessionDisk `protobuf:"bytes,12,opt,name=SessionDisk,proto3,oneof" json:"SessionDisk,omitempty"`
}

func (*OneOf_SessionDisk) MarshalTo

func (m *OneOf_SessionDisk) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_SessionDisk) MarshalToSizedBuffer

func (m *OneOf_SessionDisk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_SessionDisk) Size

func (m *OneOf_SessionDisk) Size() (n int)

type OneOf_SessionEnd

type OneOf_SessionEnd struct {
	SessionEnd *SessionEnd `protobuf:"bytes,10,opt,name=SessionEnd,proto3,oneof" json:"SessionEnd,omitempty"`
}

func (*OneOf_SessionEnd) MarshalTo

func (m *OneOf_SessionEnd) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_SessionEnd) MarshalToSizedBuffer

func (m *OneOf_SessionEnd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_SessionEnd) Size

func (m *OneOf_SessionEnd) Size() (n int)

type OneOf_SessionJoin

type OneOf_SessionJoin struct {
	SessionJoin *SessionJoin `protobuf:"bytes,6,opt,name=SessionJoin,proto3,oneof" json:"SessionJoin,omitempty"`
}

func (*OneOf_SessionJoin) MarshalTo

func (m *OneOf_SessionJoin) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_SessionJoin) MarshalToSizedBuffer

func (m *OneOf_SessionJoin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_SessionJoin) Size

func (m *OneOf_SessionJoin) Size() (n int)

type OneOf_SessionLeave

type OneOf_SessionLeave struct {
	SessionLeave *SessionLeave `protobuf:"bytes,15,opt,name=SessionLeave,proto3,oneof" json:"SessionLeave,omitempty"`
}

func (*OneOf_SessionLeave) MarshalTo

func (m *OneOf_SessionLeave) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_SessionLeave) MarshalToSizedBuffer

func (m *OneOf_SessionLeave) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_SessionLeave) Size

func (m *OneOf_SessionLeave) Size() (n int)

type OneOf_SessionNetwork

type OneOf_SessionNetwork struct {
	SessionNetwork *SessionNetwork `protobuf:"bytes,13,opt,name=SessionNetwork,proto3,oneof" json:"SessionNetwork,omitempty"`
}

func (*OneOf_SessionNetwork) MarshalTo

func (m *OneOf_SessionNetwork) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_SessionNetwork) MarshalToSizedBuffer

func (m *OneOf_SessionNetwork) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_SessionNetwork) Size

func (m *OneOf_SessionNetwork) Size() (n int)

type OneOf_SessionPrint

type OneOf_SessionPrint struct {
	SessionPrint *SessionPrint `protobuf:"bytes,7,opt,name=SessionPrint,proto3,oneof" json:"SessionPrint,omitempty"`
}

func (*OneOf_SessionPrint) MarshalTo

func (m *OneOf_SessionPrint) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_SessionPrint) MarshalToSizedBuffer

func (m *OneOf_SessionPrint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_SessionPrint) Size

func (m *OneOf_SessionPrint) Size() (n int)

type OneOf_SessionReject

type OneOf_SessionReject struct {
	SessionReject *SessionReject `protobuf:"bytes,8,opt,name=SessionReject,proto3,oneof" json:"SessionReject,omitempty"`
}

func (*OneOf_SessionReject) MarshalTo

func (m *OneOf_SessionReject) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_SessionReject) MarshalToSizedBuffer

func (m *OneOf_SessionReject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_SessionReject) Size

func (m *OneOf_SessionReject) Size() (n int)

type OneOf_SessionStart

type OneOf_SessionStart struct {
	SessionStart *SessionStart `protobuf:"bytes,5,opt,name=SessionStart,proto3,oneof" json:"SessionStart,omitempty"`
}

func (*OneOf_SessionStart) MarshalTo

func (m *OneOf_SessionStart) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_SessionStart) MarshalToSizedBuffer

func (m *OneOf_SessionStart) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_SessionStart) Size

func (m *OneOf_SessionStart) Size() (n int)

type OneOf_SessionUpload

type OneOf_SessionUpload struct {
	SessionUpload *SessionUpload `protobuf:"bytes,43,opt,name=SessionUpload,proto3,oneof" json:"SessionUpload,omitempty"`
}

func (*OneOf_SessionUpload) MarshalTo

func (m *OneOf_SessionUpload) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_SessionUpload) MarshalToSizedBuffer

func (m *OneOf_SessionUpload) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_SessionUpload) Size

func (m *OneOf_SessionUpload) Size() (n int)

type OneOf_Subsystem

type OneOf_Subsystem struct {
	Subsystem *Subsystem `protobuf:"bytes,20,opt,name=Subsystem,proto3,oneof" json:"Subsystem,omitempty"`
}

func (*OneOf_Subsystem) MarshalTo

func (m *OneOf_Subsystem) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_Subsystem) MarshalToSizedBuffer

func (m *OneOf_Subsystem) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_Subsystem) Size

func (m *OneOf_Subsystem) Size() (n int)

type OneOf_TrustedClusterCreate

type OneOf_TrustedClusterCreate struct {
	TrustedClusterCreate *TrustedClusterCreate `protobuf:"bytes,27,opt,name=TrustedClusterCreate,proto3,oneof" json:"TrustedClusterCreate,omitempty"`
}

func (*OneOf_TrustedClusterCreate) MarshalTo

func (m *OneOf_TrustedClusterCreate) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_TrustedClusterCreate) MarshalToSizedBuffer

func (m *OneOf_TrustedClusterCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_TrustedClusterCreate) Size

func (m *OneOf_TrustedClusterCreate) Size() (n int)

type OneOf_TrustedClusterDelete

type OneOf_TrustedClusterDelete struct {
	TrustedClusterDelete *TrustedClusterDelete `protobuf:"bytes,28,opt,name=TrustedClusterDelete,proto3,oneof" json:"TrustedClusterDelete,omitempty"`
}

func (*OneOf_TrustedClusterDelete) MarshalTo

func (m *OneOf_TrustedClusterDelete) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_TrustedClusterDelete) MarshalToSizedBuffer

func (m *OneOf_TrustedClusterDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_TrustedClusterDelete) Size

func (m *OneOf_TrustedClusterDelete) Size() (n int)

type OneOf_TrustedClusterTokenCreate

type OneOf_TrustedClusterTokenCreate struct {
	TrustedClusterTokenCreate *TrustedClusterTokenCreate `protobuf:"bytes,29,opt,name=TrustedClusterTokenCreate,proto3,oneof" json:"TrustedClusterTokenCreate,omitempty"`
}

func (*OneOf_TrustedClusterTokenCreate) MarshalTo

func (m *OneOf_TrustedClusterTokenCreate) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_TrustedClusterTokenCreate) MarshalToSizedBuffer

func (m *OneOf_TrustedClusterTokenCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_TrustedClusterTokenCreate) Size

func (m *OneOf_TrustedClusterTokenCreate) Size() (n int)

type OneOf_UserCreate

type OneOf_UserCreate struct {
	UserCreate *UserCreate `protobuf:"bytes,2,opt,name=UserCreate,proto3,oneof" json:"UserCreate,omitempty"`
}

func (*OneOf_UserCreate) MarshalTo

func (m *OneOf_UserCreate) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_UserCreate) MarshalToSizedBuffer

func (m *OneOf_UserCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_UserCreate) Size

func (m *OneOf_UserCreate) Size() (n int)

type OneOf_UserDelete

type OneOf_UserDelete struct {
	UserDelete *UserDelete `protobuf:"bytes,3,opt,name=UserDelete,proto3,oneof" json:"UserDelete,omitempty"`
}

func (*OneOf_UserDelete) MarshalTo

func (m *OneOf_UserDelete) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_UserDelete) MarshalToSizedBuffer

func (m *OneOf_UserDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_UserDelete) Size

func (m *OneOf_UserDelete) Size() (n int)

type OneOf_UserLogin

type OneOf_UserLogin struct {
	UserLogin *UserLogin `protobuf:"bytes,1,opt,name=UserLogin,proto3,oneof" json:"UserLogin,omitempty"`
}

func (*OneOf_UserLogin) MarshalTo

func (m *OneOf_UserLogin) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_UserLogin) MarshalToSizedBuffer

func (m *OneOf_UserLogin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_UserLogin) Size

func (m *OneOf_UserLogin) Size() (n int)

type OneOf_UserPasswordChange

type OneOf_UserPasswordChange struct {
	UserPasswordChange *UserPasswordChange `protobuf:"bytes,4,opt,name=UserPasswordChange,proto3,oneof" json:"UserPasswordChange,omitempty"`
}

func (*OneOf_UserPasswordChange) MarshalTo

func (m *OneOf_UserPasswordChange) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_UserPasswordChange) MarshalToSizedBuffer

func (m *OneOf_UserPasswordChange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_UserPasswordChange) Size

func (m *OneOf_UserPasswordChange) Size() (n int)

type OneOf_X11Forward

type OneOf_X11Forward struct {
	X11Forward *X11Forward `protobuf:"bytes,17,opt,name=X11Forward,proto3,oneof" json:"X11Forward,omitempty"`
}

func (*OneOf_X11Forward) MarshalTo

func (m *OneOf_X11Forward) MarshalTo(dAtA []byte) (int, error)

func (*OneOf_X11Forward) MarshalToSizedBuffer

func (m *OneOf_X11Forward) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OneOf_X11Forward) Size

func (m *OneOf_X11Forward) Size() (n int)

type PortForward

type PortForward struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,3,opt,name=Connection,proto3,embedded=Connection" json:""`
	// Status contains operation success or failure status
	Status `protobuf:"bytes,4,opt,name=Status,proto3,embedded=Status" json:""`
	// Addr is a target port forwarding address
	Addr                 string   `protobuf:"bytes,5,opt,name=Addr,proto3" json:"addr"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PortForward is emitted when a user requests port forwarding.

func (*PortForward) Descriptor

func (*PortForward) Descriptor() ([]byte, []int)

func (*PortForward) Marshal

func (m *PortForward) Marshal() (dAtA []byte, err error)

func (*PortForward) MarshalTo

func (m *PortForward) MarshalTo(dAtA []byte) (int, error)

func (*PortForward) MarshalToSizedBuffer

func (m *PortForward) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PortForward) ProtoMessage

func (*PortForward) ProtoMessage()

func (*PortForward) Reset

func (m *PortForward) Reset()

func (*PortForward) Size

func (m *PortForward) Size() (n int)

func (*PortForward) String

func (m *PortForward) String() string

func (*PortForward) Unmarshal

func (m *PortForward) Unmarshal(dAtA []byte) error

func (*PortForward) XXX_DiscardUnknown

func (m *PortForward) XXX_DiscardUnknown()

func (*PortForward) XXX_Marshal

func (m *PortForward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PortForward) XXX_Merge

func (m *PortForward) XXX_Merge(src proto.Message)

func (*PortForward) XXX_Size

func (m *PortForward) XXX_Size() int

func (*PortForward) XXX_Unmarshal

func (m *PortForward) XXX_Unmarshal(b []byte) error

type ProtoMarshaler

type ProtoMarshaler interface {
	// Size returns size of the object when marshaled
	Size() (n int)

	// MarshalTo marshals the object to sized buffer
	MarshalTo(dAtA []byte) (int, error)
}

ProtoMarshaler implements marshaler interface

type ResetPasswordTokenCreate

type ResetPasswordTokenCreate struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata `protobuf:"bytes,2,opt,name=Resource,proto3,embedded=Resource" json:""`
	// User is a common user event metadata
	UserMetadata         `protobuf:"bytes,3,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ResetPasswordTokenCreate is emitted when token is created.

func (*ResetPasswordTokenCreate) Descriptor

func (*ResetPasswordTokenCreate) Descriptor() ([]byte, []int)

func (*ResetPasswordTokenCreate) Marshal

func (m *ResetPasswordTokenCreate) Marshal() (dAtA []byte, err error)

func (*ResetPasswordTokenCreate) MarshalTo

func (m *ResetPasswordTokenCreate) MarshalTo(dAtA []byte) (int, error)

func (*ResetPasswordTokenCreate) MarshalToSizedBuffer

func (m *ResetPasswordTokenCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResetPasswordTokenCreate) ProtoMessage

func (*ResetPasswordTokenCreate) ProtoMessage()

func (*ResetPasswordTokenCreate) Reset

func (m *ResetPasswordTokenCreate) Reset()

func (*ResetPasswordTokenCreate) Size

func (m *ResetPasswordTokenCreate) Size() (n int)

func (*ResetPasswordTokenCreate) String

func (m *ResetPasswordTokenCreate) String() string

func (*ResetPasswordTokenCreate) Unmarshal

func (m *ResetPasswordTokenCreate) Unmarshal(dAtA []byte) error

func (*ResetPasswordTokenCreate) XXX_DiscardUnknown

func (m *ResetPasswordTokenCreate) XXX_DiscardUnknown()

func (*ResetPasswordTokenCreate) XXX_Marshal

func (m *ResetPasswordTokenCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResetPasswordTokenCreate) XXX_Merge

func (m *ResetPasswordTokenCreate) XXX_Merge(src proto.Message)

func (*ResetPasswordTokenCreate) XXX_Size

func (m *ResetPasswordTokenCreate) XXX_Size() int

func (*ResetPasswordTokenCreate) XXX_Unmarshal

func (m *ResetPasswordTokenCreate) XXX_Unmarshal(b []byte) error

type Resize

type Resize struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// SessionMetadata is a common event session metadata
	SessionMetadata `protobuf:"bytes,3,opt,name=Session,proto3,embedded=Session" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,4,opt,name=Connection,proto3,embedded=Connection" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,5,opt,name=Server,proto3,embedded=Server" json:""`
	// TerminalSize is expressed as 'W:H'
	TerminalSize string `protobuf:"bytes,6,opt,name=TerminalSize,proto3" json:"size,omitempty"`
	// KubernetesCluster has information about a kubernetes cluster, if
	// applicable.
	KubernetesClusterMetadata `protobuf:"bytes,7,opt,name=KubernetesCluster,proto3,embedded=KubernetesCluster" json:""`
	// KubernetesPod has information about a kubernetes pod, if applicable.
	KubernetesPodMetadata `protobuf:"bytes,8,opt,name=KubernetesPod,proto3,embedded=KubernetesPod" json:""`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

Resize means that some user resized PTY on the client

func (*Resize) Descriptor

func (*Resize) Descriptor() ([]byte, []int)

func (*Resize) Marshal

func (m *Resize) Marshal() (dAtA []byte, err error)

func (*Resize) MarshalTo

func (m *Resize) MarshalTo(dAtA []byte) (int, error)

func (*Resize) MarshalToSizedBuffer

func (m *Resize) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Resize) ProtoMessage

func (*Resize) ProtoMessage()

func (*Resize) Reset

func (m *Resize) Reset()

func (*Resize) Size

func (m *Resize) Size() (n int)

func (*Resize) String

func (m *Resize) String() string

func (*Resize) Unmarshal

func (m *Resize) Unmarshal(dAtA []byte) error

func (*Resize) XXX_DiscardUnknown

func (m *Resize) XXX_DiscardUnknown()

func (*Resize) XXX_Marshal

func (m *Resize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resize) XXX_Merge

func (m *Resize) XXX_Merge(src proto.Message)

func (*Resize) XXX_Size

func (m *Resize) XXX_Size() int

func (*Resize) XXX_Unmarshal

func (m *Resize) XXX_Unmarshal(b []byte) error

type ResourceMetadata

type ResourceMetadata struct {
	// ResourceName is a resource name
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name,omitempty"`
	// Expires is set if resource expires
	Expires time.Time `protobuf:"bytes,2,opt,name=Expires,proto3,stdtime" json:"expires,omitempty"`
	// UpdatedBy if set indicates the user who modified the resource
	UpdatedBy string `protobuf:"bytes,3,opt,name=UpdatedBy,proto3" json:"updated_by,omitempty"`
	// TTL is a TTL of reset password token represented as duration, e.g. "10m"
	// used for compatibility purposes for some events, Expires should be used instead
	// as it's more useful (contains exact expiration date/time)
	TTL                  string   `protobuf:"bytes,4,opt,name=TTL,proto3" json:"ttl,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ResourceMetadata is a common resource metadata

func (*ResourceMetadata) Descriptor

func (*ResourceMetadata) Descriptor() ([]byte, []int)

func (*ResourceMetadata) Marshal

func (m *ResourceMetadata) Marshal() (dAtA []byte, err error)

func (*ResourceMetadata) MarshalTo

func (m *ResourceMetadata) MarshalTo(dAtA []byte) (int, error)

func (*ResourceMetadata) MarshalToSizedBuffer

func (m *ResourceMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceMetadata) ProtoMessage

func (*ResourceMetadata) ProtoMessage()

func (*ResourceMetadata) Reset

func (m *ResourceMetadata) Reset()

func (*ResourceMetadata) Size

func (m *ResourceMetadata) Size() (n int)

func (*ResourceMetadata) String

func (m *ResourceMetadata) String() string

func (*ResourceMetadata) Unmarshal

func (m *ResourceMetadata) Unmarshal(dAtA []byte) error

func (*ResourceMetadata) XXX_DiscardUnknown

func (m *ResourceMetadata) XXX_DiscardUnknown()

func (*ResourceMetadata) XXX_Marshal

func (m *ResourceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceMetadata) XXX_Merge

func (m *ResourceMetadata) XXX_Merge(src proto.Message)

func (*ResourceMetadata) XXX_Size

func (m *ResourceMetadata) XXX_Size() int

func (*ResourceMetadata) XXX_Unmarshal

func (m *ResourceMetadata) XXX_Unmarshal(b []byte) error

type RoleCreate

type RoleCreate struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata `protobuf:"bytes,2,opt,name=Resource,proto3,embedded=Resource" json:""`
	// User is a common user event metadata
	UserMetadata         `protobuf:"bytes,3,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RoleCreate is emitted when a role is created/updated.

func (*RoleCreate) Descriptor

func (*RoleCreate) Descriptor() ([]byte, []int)

func (*RoleCreate) Marshal

func (m *RoleCreate) Marshal() (dAtA []byte, err error)

func (*RoleCreate) MarshalTo

func (m *RoleCreate) MarshalTo(dAtA []byte) (int, error)

func (*RoleCreate) MarshalToSizedBuffer

func (m *RoleCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleCreate) ProtoMessage

func (*RoleCreate) ProtoMessage()

func (*RoleCreate) Reset

func (m *RoleCreate) Reset()

func (*RoleCreate) Size

func (m *RoleCreate) Size() (n int)

func (*RoleCreate) String

func (m *RoleCreate) String() string

func (*RoleCreate) Unmarshal

func (m *RoleCreate) Unmarshal(dAtA []byte) error

func (*RoleCreate) XXX_DiscardUnknown

func (m *RoleCreate) XXX_DiscardUnknown()

func (*RoleCreate) XXX_Marshal

func (m *RoleCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleCreate) XXX_Merge

func (m *RoleCreate) XXX_Merge(src proto.Message)

func (*RoleCreate) XXX_Size

func (m *RoleCreate) XXX_Size() int

func (*RoleCreate) XXX_Unmarshal

func (m *RoleCreate) XXX_Unmarshal(b []byte) error

type RoleDelete

type RoleDelete struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata `protobuf:"bytes,2,opt,name=Resource,proto3,embedded=Resource" json:""`
	// User is a common user event metadata
	UserMetadata         `protobuf:"bytes,3,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RoleDelete is emitted when a role is deleted

func (*RoleDelete) Descriptor

func (*RoleDelete) Descriptor() ([]byte, []int)

func (*RoleDelete) Marshal

func (m *RoleDelete) Marshal() (dAtA []byte, err error)

func (*RoleDelete) MarshalTo

func (m *RoleDelete) MarshalTo(dAtA []byte) (int, error)

func (*RoleDelete) MarshalToSizedBuffer

func (m *RoleDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleDelete) ProtoMessage

func (*RoleDelete) ProtoMessage()

func (*RoleDelete) Reset

func (m *RoleDelete) Reset()

func (*RoleDelete) Size

func (m *RoleDelete) Size() (n int)

func (*RoleDelete) String

func (m *RoleDelete) String() string

func (*RoleDelete) Unmarshal

func (m *RoleDelete) Unmarshal(dAtA []byte) error

func (*RoleDelete) XXX_DiscardUnknown

func (m *RoleDelete) XXX_DiscardUnknown()

func (*RoleDelete) XXX_Marshal

func (m *RoleDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleDelete) XXX_Merge

func (m *RoleDelete) XXX_Merge(src proto.Message)

func (*RoleDelete) XXX_Size

func (m *RoleDelete) XXX_Size() int

func (*RoleDelete) XXX_Unmarshal

func (m *RoleDelete) XXX_Unmarshal(b []byte) error

type SAMLConnectorCreate

type SAMLConnectorCreate struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata `protobuf:"bytes,2,opt,name=Resource,proto3,embedded=Resource" json:""`
	// User is a common user event metadata
	UserMetadata         `protobuf:"bytes,3,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SAMLConnectorCreate fires when SAML connector is created/updated.

func (*SAMLConnectorCreate) Descriptor

func (*SAMLConnectorCreate) Descriptor() ([]byte, []int)

func (*SAMLConnectorCreate) Marshal

func (m *SAMLConnectorCreate) Marshal() (dAtA []byte, err error)

func (*SAMLConnectorCreate) MarshalTo

func (m *SAMLConnectorCreate) MarshalTo(dAtA []byte) (int, error)

func (*SAMLConnectorCreate) MarshalToSizedBuffer

func (m *SAMLConnectorCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SAMLConnectorCreate) ProtoMessage

func (*SAMLConnectorCreate) ProtoMessage()

func (*SAMLConnectorCreate) Reset

func (m *SAMLConnectorCreate) Reset()

func (*SAMLConnectorCreate) Size

func (m *SAMLConnectorCreate) Size() (n int)

func (*SAMLConnectorCreate) String

func (m *SAMLConnectorCreate) String() string

func (*SAMLConnectorCreate) Unmarshal

func (m *SAMLConnectorCreate) Unmarshal(dAtA []byte) error

func (*SAMLConnectorCreate) XXX_DiscardUnknown

func (m *SAMLConnectorCreate) XXX_DiscardUnknown()

func (*SAMLConnectorCreate) XXX_Marshal

func (m *SAMLConnectorCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SAMLConnectorCreate) XXX_Merge

func (m *SAMLConnectorCreate) XXX_Merge(src proto.Message)

func (*SAMLConnectorCreate) XXX_Size

func (m *SAMLConnectorCreate) XXX_Size() int

func (*SAMLConnectorCreate) XXX_Unmarshal

func (m *SAMLConnectorCreate) XXX_Unmarshal(b []byte) error

type SAMLConnectorDelete

type SAMLConnectorDelete struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata `protobuf:"bytes,2,opt,name=Resource,proto3,embedded=Resource" json:""`
	// User is a common user event metadata
	UserMetadata         `protobuf:"bytes,3,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SAMLConnectorDelete fires when SAML connector is deleted.

func (*SAMLConnectorDelete) Descriptor

func (*SAMLConnectorDelete) Descriptor() ([]byte, []int)

func (*SAMLConnectorDelete) Marshal

func (m *SAMLConnectorDelete) Marshal() (dAtA []byte, err error)

func (*SAMLConnectorDelete) MarshalTo

func (m *SAMLConnectorDelete) MarshalTo(dAtA []byte) (int, error)

func (*SAMLConnectorDelete) MarshalToSizedBuffer

func (m *SAMLConnectorDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SAMLConnectorDelete) ProtoMessage

func (*SAMLConnectorDelete) ProtoMessage()

func (*SAMLConnectorDelete) Reset

func (m *SAMLConnectorDelete) Reset()

func (*SAMLConnectorDelete) Size

func (m *SAMLConnectorDelete) Size() (n int)

func (*SAMLConnectorDelete) String

func (m *SAMLConnectorDelete) String() string

func (*SAMLConnectorDelete) Unmarshal

func (m *SAMLConnectorDelete) Unmarshal(dAtA []byte) error

func (*SAMLConnectorDelete) XXX_DiscardUnknown

func (m *SAMLConnectorDelete) XXX_DiscardUnknown()

func (*SAMLConnectorDelete) XXX_Marshal

func (m *SAMLConnectorDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SAMLConnectorDelete) XXX_Merge

func (m *SAMLConnectorDelete) XXX_Merge(src proto.Message)

func (*SAMLConnectorDelete) XXX_Size

func (m *SAMLConnectorDelete) XXX_Size() int

func (*SAMLConnectorDelete) XXX_Unmarshal

func (m *SAMLConnectorDelete) XXX_Unmarshal(b []byte) error

type SCP

type SCP struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,3,opt,name=Connection,proto3,embedded=Connection" json:""`
	// SessionMetadata is a common event session metadata
	SessionMetadata `protobuf:"bytes,4,opt,name=Session,proto3,embedded=Session" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,5,opt,name=Server,proto3,embedded=Server" json:""`
	// CommandMetadata is a common command metadata
	CommandMetadata `protobuf:"bytes,6,opt,name=Command,proto3,embedded=Command" json:""`
	// Path is a copy path
	Path string `protobuf:"bytes,7,opt,name=Path,proto3" json:"path"`
	// Action is upload or download
	Action               string   `protobuf:"bytes,8,opt,name=Action,proto3" json:"action"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SCP is emitted when data transfer has occurred between server and client

func (*SCP) Descriptor

func (*SCP) Descriptor() ([]byte, []int)

func (*SCP) Marshal

func (m *SCP) Marshal() (dAtA []byte, err error)

func (*SCP) MarshalTo

func (m *SCP) MarshalTo(dAtA []byte) (int, error)

func (*SCP) MarshalToSizedBuffer

func (m *SCP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SCP) ProtoMessage

func (*SCP) ProtoMessage()

func (*SCP) Reset

func (m *SCP) Reset()

func (*SCP) Size

func (m *SCP) Size() (n int)

func (*SCP) String

func (m *SCP) String() string

func (*SCP) Unmarshal

func (m *SCP) Unmarshal(dAtA []byte) error

func (*SCP) XXX_DiscardUnknown

func (m *SCP) XXX_DiscardUnknown()

func (*SCP) XXX_Marshal

func (m *SCP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SCP) XXX_Merge

func (m *SCP) XXX_Merge(src proto.Message)

func (*SCP) XXX_Size

func (m *SCP) XXX_Size() int

func (*SCP) XXX_Unmarshal

func (m *SCP) XXX_Unmarshal(b []byte) error

type ServerMetadata

type ServerMetadata struct {
	// ServerNamespace is a namespace of the server event
	ServerNamespace string `protobuf:"bytes,1,opt,name=ServerNamespace,proto3" json:"namespace,omitempty"`
	// ServerID is the UUID of the server the session occurred on.
	ServerID string `protobuf:"bytes,2,opt,name=ServerID,proto3" json:"server_id"`
	// ServerHostname is the hostname of the server the session occurred on.
	ServerHostname string `protobuf:"bytes,3,opt,name=ServerHostname,proto3" json:"server_hostname,omitempty"`
	// ServerAddr is the address of the server the session occurred on.
	ServerAddr string `protobuf:"bytes,4,opt,name=ServerAddr,proto3" json:"server_addr,omitempty"`
	// ServerLabels are the labels (static and dynamic) of the server the
	// session occurred on.
	ServerLabels         map[string]string `` /* 166-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Server is a server metadata

func (*ServerMetadata) Descriptor

func (*ServerMetadata) Descriptor() ([]byte, []int)

func (*ServerMetadata) GetServerID

func (m *ServerMetadata) GetServerID() string

GetServerID returns event server ID

func (*ServerMetadata) GetServerNamespace

func (m *ServerMetadata) GetServerNamespace() string

GetServerNamespace returns event server ID

func (*ServerMetadata) Marshal

func (m *ServerMetadata) Marshal() (dAtA []byte, err error)

func (*ServerMetadata) MarshalTo

func (m *ServerMetadata) MarshalTo(dAtA []byte) (int, error)

func (*ServerMetadata) MarshalToSizedBuffer

func (m *ServerMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServerMetadata) ProtoMessage

func (*ServerMetadata) ProtoMessage()

func (*ServerMetadata) Reset

func (m *ServerMetadata) Reset()

func (*ServerMetadata) SetServerID

func (m *ServerMetadata) SetServerID(id string)

SetServerID sets event server ID

func (*ServerMetadata) SetServerNamespace

func (m *ServerMetadata) SetServerNamespace(ns string)

SetServerNamespace sets server namespace

func (*ServerMetadata) Size

func (m *ServerMetadata) Size() (n int)

func (*ServerMetadata) String

func (m *ServerMetadata) String() string

func (*ServerMetadata) Unmarshal

func (m *ServerMetadata) Unmarshal(dAtA []byte) error

func (*ServerMetadata) XXX_DiscardUnknown

func (m *ServerMetadata) XXX_DiscardUnknown()

func (*ServerMetadata) XXX_Marshal

func (m *ServerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServerMetadata) XXX_Merge

func (m *ServerMetadata) XXX_Merge(src proto.Message)

func (*ServerMetadata) XXX_Size

func (m *ServerMetadata) XXX_Size() int

func (*ServerMetadata) XXX_Unmarshal

func (m *ServerMetadata) XXX_Unmarshal(b []byte) error

type SessionCommand

type SessionCommand struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// SessionMetadata is a common event session metadata
	SessionMetadata `protobuf:"bytes,3,opt,name=Session,proto3,embedded=Session" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,4,opt,name=Server,proto3,embedded=Server" json:""`
	// BPFMetadata is a common BPF subsystem metadata
	BPFMetadata `protobuf:"bytes,5,opt,name=BPF,proto3,embedded=BPF" json:""`
	// PPID is the PID of the parent process.
	PPID uint64 `protobuf:"varint,6,opt,name=PPID,proto3" json:"ppid"`
	// Path is the full path to the executable.
	Path string `protobuf:"bytes,7,opt,name=Path,proto3" json:"path"`
	// Argv is the list of arguments to the program. Note, the first element does
	// not contain the name of the process.
	Argv []string `protobuf:"bytes,8,rep,name=Argv,proto3" json:"argv"`
	// ReturnCode is the return code of execve.
	ReturnCode           int32    `protobuf:"varint,9,opt,name=ReturnCode,proto3" json:"return_code"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SessionCommand is a session command event

func (*SessionCommand) Descriptor

func (*SessionCommand) Descriptor() ([]byte, []int)

func (*SessionCommand) Marshal

func (m *SessionCommand) Marshal() (dAtA []byte, err error)

func (*SessionCommand) MarshalTo

func (m *SessionCommand) MarshalTo(dAtA []byte) (int, error)

func (*SessionCommand) MarshalToSizedBuffer

func (m *SessionCommand) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionCommand) ProtoMessage

func (*SessionCommand) ProtoMessage()

func (*SessionCommand) Reset

func (m *SessionCommand) Reset()

func (*SessionCommand) Size

func (m *SessionCommand) Size() (n int)

func (*SessionCommand) String

func (m *SessionCommand) String() string

func (*SessionCommand) Unmarshal

func (m *SessionCommand) Unmarshal(dAtA []byte) error

func (*SessionCommand) XXX_DiscardUnknown

func (m *SessionCommand) XXX_DiscardUnknown()

func (*SessionCommand) XXX_Marshal

func (m *SessionCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionCommand) XXX_Merge

func (m *SessionCommand) XXX_Merge(src proto.Message)

func (*SessionCommand) XXX_Size

func (m *SessionCommand) XXX_Size() int

func (*SessionCommand) XXX_Unmarshal

func (m *SessionCommand) XXX_Unmarshal(b []byte) error

type SessionData

type SessionData struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// SessionMetadata is a common event session metadata
	SessionMetadata `protobuf:"bytes,3,opt,name=Session,proto3,embedded=Session" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,4,opt,name=Server,proto3,embedded=Server" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,5,opt,name=Connection,proto3,embedded=Connection" json:""`
	// BytesTransmitted is the amount of bytes transmitted
	BytesTransmitted uint64 `protobuf:"varint,6,opt,name=BytesTransmitted,proto3" json:"tx"`
	// BytesReceived is the amount of bytes received
	BytesReceived        uint64   `protobuf:"varint,7,opt,name=BytesReceived,proto3" json:"rx"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SessionData is emitted to report session data usage.

func (*SessionData) Descriptor

func (*SessionData) Descriptor() ([]byte, []int)

func (*SessionData) Marshal

func (m *SessionData) Marshal() (dAtA []byte, err error)

func (*SessionData) MarshalTo

func (m *SessionData) MarshalTo(dAtA []byte) (int, error)

func (*SessionData) MarshalToSizedBuffer

func (m *SessionData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionData) ProtoMessage

func (*SessionData) ProtoMessage()

func (*SessionData) Reset

func (m *SessionData) Reset()

func (*SessionData) Size

func (m *SessionData) Size() (n int)

func (*SessionData) String

func (m *SessionData) String() string

func (*SessionData) Unmarshal

func (m *SessionData) Unmarshal(dAtA []byte) error

func (*SessionData) XXX_DiscardUnknown

func (m *SessionData) XXX_DiscardUnknown()

func (*SessionData) XXX_Marshal

func (m *SessionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionData) XXX_Merge

func (m *SessionData) XXX_Merge(src proto.Message)

func (*SessionData) XXX_Size

func (m *SessionData) XXX_Size() int

func (*SessionData) XXX_Unmarshal

func (m *SessionData) XXX_Unmarshal(b []byte) error

type SessionDisk

type SessionDisk struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// SessionMetadata is a common event session metadata
	SessionMetadata `protobuf:"bytes,3,opt,name=Session,proto3,embedded=Session" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,4,opt,name=Server,proto3,embedded=Server" json:""`
	// BPFMetadata is a common BPF subsystem metadata
	BPFMetadata `protobuf:"bytes,5,opt,name=BPF,proto3,embedded=BPF" json:""`
	// Path is the full path to the executable.
	Path string `protobuf:"bytes,6,opt,name=Path,proto3" json:"path"`
	// Flags are the flags passed to open.
	Flags int32 `protobuf:"varint,7,opt,name=Flags,proto3" json:"flags"`
	// ReturnCode is the return code of disk open
	ReturnCode           int32    `protobuf:"varint,8,opt,name=ReturnCode,proto3" json:"return_code"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SessionDisk is a session disk access event

func (*SessionDisk) Descriptor

func (*SessionDisk) Descriptor() ([]byte, []int)

func (*SessionDisk) Marshal

func (m *SessionDisk) Marshal() (dAtA []byte, err error)

func (*SessionDisk) MarshalTo

func (m *SessionDisk) MarshalTo(dAtA []byte) (int, error)

func (*SessionDisk) MarshalToSizedBuffer

func (m *SessionDisk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionDisk) ProtoMessage

func (*SessionDisk) ProtoMessage()

func (*SessionDisk) Reset

func (m *SessionDisk) Reset()

func (*SessionDisk) Size

func (m *SessionDisk) Size() (n int)

func (*SessionDisk) String

func (m *SessionDisk) String() string

func (*SessionDisk) Unmarshal

func (m *SessionDisk) Unmarshal(dAtA []byte) error

func (*SessionDisk) XXX_DiscardUnknown

func (m *SessionDisk) XXX_DiscardUnknown()

func (*SessionDisk) XXX_Marshal

func (m *SessionDisk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionDisk) XXX_Merge

func (m *SessionDisk) XXX_Merge(src proto.Message)

func (*SessionDisk) XXX_Size

func (m *SessionDisk) XXX_Size() int

func (*SessionDisk) XXX_Unmarshal

func (m *SessionDisk) XXX_Unmarshal(b []byte) error

type SessionEnd

type SessionEnd struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// SessionMetadata is a common event session metadata
	SessionMetadata `protobuf:"bytes,3,opt,name=Session,proto3,embedded=Session" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,4,opt,name=Connection,proto3,embedded=Connection" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,5,opt,name=Server,proto3,embedded=Server" json:""`
	// EnhancedRecording is used to indicate if the recording was an
	// enhanced recording or not.
	EnhancedRecording bool `protobuf:"varint,6,opt,name=EnhancedRecording,proto3" json:"enhanced_recording"`
	// Interactive is used to indicate if the session was interactive
	// (has PTY attached) or not (exec session).
	Interactive bool `protobuf:"varint,7,opt,name=Interactive,proto3" json:"interactive"`
	// Participants is a list of participants in the session.
	Participants []string `protobuf:"bytes,8,rep,name=Participants,proto3" json:"participants"`
	// StartTime is the timestamp at which the session began.
	StartTime time.Time `protobuf:"bytes,9,opt,name=StartTime,proto3,stdtime" json:"session_start,omitempty"`
	// EndTime is the timestamp at which the session ended.
	EndTime time.Time `protobuf:"bytes,10,opt,name=EndTime,proto3,stdtime" json:"session_stop,omitempty"`
	// KubernetesCluster has information about a kubernetes cluster, if
	// applicable.
	KubernetesClusterMetadata `protobuf:"bytes,11,opt,name=KubernetesCluster,proto3,embedded=KubernetesCluster" json:""`
	// KubernetesPod has information about a kubernetes pod, if applicable.
	KubernetesPodMetadata `protobuf:"bytes,12,opt,name=KubernetesPod,proto3,embedded=KubernetesPod" json:""`
	// InitialCommand is the command used to start this session.
	InitialCommand []string `protobuf:"bytes,13,rep,name=InitialCommand,proto3" json:"initial_command,omitempty"`
	// SessionRecording is the type of session recording.
	SessionRecording     string   `protobuf:"bytes,14,opt,name=SessionRecording,proto3" json:"session_recording,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SessionEnd is a session end event

func (*SessionEnd) Descriptor

func (*SessionEnd) Descriptor() ([]byte, []int)

func (*SessionEnd) Marshal

func (m *SessionEnd) Marshal() (dAtA []byte, err error)

func (*SessionEnd) MarshalTo

func (m *SessionEnd) MarshalTo(dAtA []byte) (int, error)

func (*SessionEnd) MarshalToSizedBuffer

func (m *SessionEnd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionEnd) ProtoMessage

func (*SessionEnd) ProtoMessage()

func (*SessionEnd) Reset

func (m *SessionEnd) Reset()

func (*SessionEnd) Size

func (m *SessionEnd) Size() (n int)

func (*SessionEnd) String

func (m *SessionEnd) String() string

func (*SessionEnd) Unmarshal

func (m *SessionEnd) Unmarshal(dAtA []byte) error

func (*SessionEnd) XXX_DiscardUnknown

func (m *SessionEnd) XXX_DiscardUnknown()

func (*SessionEnd) XXX_Marshal

func (m *SessionEnd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionEnd) XXX_Merge

func (m *SessionEnd) XXX_Merge(src proto.Message)

func (*SessionEnd) XXX_Size

func (m *SessionEnd) XXX_Size() int

func (*SessionEnd) XXX_Unmarshal

func (m *SessionEnd) XXX_Unmarshal(b []byte) error

type SessionJoin

type SessionJoin struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// SessionMetadata is a common event session metadata
	SessionMetadata `protobuf:"bytes,3,opt,name=Session,proto3,embedded=Session" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,4,opt,name=Server,proto3,embedded=Server" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,5,opt,name=Connection,proto3,embedded=Connection" json:""`
	// KubernetesCluster has information about a kubernetes cluster, if
	// applicable.
	KubernetesClusterMetadata `protobuf:"bytes,6,opt,name=KubernetesCluster,proto3,embedded=KubernetesCluster" json:""`
	XXX_NoUnkeyedLiteral      struct{} `json:"-"`
	XXX_unrecognized          []byte   `json:"-"`
	XXX_sizecache             int32    `json:"-"`
}

SessionJoin emitted when another user joins a session

func (*SessionJoin) Descriptor

func (*SessionJoin) Descriptor() ([]byte, []int)

func (*SessionJoin) Marshal

func (m *SessionJoin) Marshal() (dAtA []byte, err error)

func (*SessionJoin) MarshalTo

func (m *SessionJoin) MarshalTo(dAtA []byte) (int, error)

func (*SessionJoin) MarshalToSizedBuffer

func (m *SessionJoin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionJoin) ProtoMessage

func (*SessionJoin) ProtoMessage()

func (*SessionJoin) Reset

func (m *SessionJoin) Reset()

func (*SessionJoin) Size

func (m *SessionJoin) Size() (n int)

func (*SessionJoin) String

func (m *SessionJoin) String() string

func (*SessionJoin) Unmarshal

func (m *SessionJoin) Unmarshal(dAtA []byte) error

func (*SessionJoin) XXX_DiscardUnknown

func (m *SessionJoin) XXX_DiscardUnknown()

func (*SessionJoin) XXX_Marshal

func (m *SessionJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionJoin) XXX_Merge

func (m *SessionJoin) XXX_Merge(src proto.Message)

func (*SessionJoin) XXX_Size

func (m *SessionJoin) XXX_Size() int

func (*SessionJoin) XXX_Unmarshal

func (m *SessionJoin) XXX_Unmarshal(b []byte) error

type SessionLeave

type SessionLeave struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// SessionMetadata is a common event session metadata
	SessionMetadata `protobuf:"bytes,3,opt,name=Session,proto3,embedded=Session" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,4,opt,name=Server,proto3,embedded=Server" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata   `protobuf:"bytes,5,opt,name=Connection,proto3,embedded=Connection" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SessionLeave is emitted to report that a user left the session

func (*SessionLeave) Descriptor

func (*SessionLeave) Descriptor() ([]byte, []int)

func (*SessionLeave) Marshal

func (m *SessionLeave) Marshal() (dAtA []byte, err error)

func (*SessionLeave) MarshalTo

func (m *SessionLeave) MarshalTo(dAtA []byte) (int, error)

func (*SessionLeave) MarshalToSizedBuffer

func (m *SessionLeave) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionLeave) ProtoMessage

func (*SessionLeave) ProtoMessage()

func (*SessionLeave) Reset

func (m *SessionLeave) Reset()

func (*SessionLeave) Size

func (m *SessionLeave) Size() (n int)

func (*SessionLeave) String

func (m *SessionLeave) String() string

func (*SessionLeave) Unmarshal

func (m *SessionLeave) Unmarshal(dAtA []byte) error

func (*SessionLeave) XXX_DiscardUnknown

func (m *SessionLeave) XXX_DiscardUnknown()

func (*SessionLeave) XXX_Marshal

func (m *SessionLeave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionLeave) XXX_Merge

func (m *SessionLeave) XXX_Merge(src proto.Message)

func (*SessionLeave) XXX_Size

func (m *SessionLeave) XXX_Size() int

func (*SessionLeave) XXX_Unmarshal

func (m *SessionLeave) XXX_Unmarshal(b []byte) error

type SessionMetadata

type SessionMetadata struct {
	// SessionID is a unique UUID of the session.
	SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"sid"`
	// WithMFA is a UUID of an MFA device used to start this session.
	WithMFA              string   `protobuf:"bytes,2,opt,name=WithMFA,proto3" json:"with_mfa,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SesssionMetadata is a common session event metadata

func (*SessionMetadata) Descriptor

func (*SessionMetadata) Descriptor() ([]byte, []int)

func (*SessionMetadata) GetSessionID

func (m *SessionMetadata) GetSessionID() string

GetSessionID returns event session ID

func (*SessionMetadata) Marshal

func (m *SessionMetadata) Marshal() (dAtA []byte, err error)

func (*SessionMetadata) MarshalTo

func (m *SessionMetadata) MarshalTo(dAtA []byte) (int, error)

func (*SessionMetadata) MarshalToSizedBuffer

func (m *SessionMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionMetadata) ProtoMessage

func (*SessionMetadata) ProtoMessage()

func (*SessionMetadata) Reset

func (m *SessionMetadata) Reset()

func (*SessionMetadata) Size

func (m *SessionMetadata) Size() (n int)

func (*SessionMetadata) String

func (m *SessionMetadata) String() string

func (*SessionMetadata) Unmarshal

func (m *SessionMetadata) Unmarshal(dAtA []byte) error

func (*SessionMetadata) XXX_DiscardUnknown

func (m *SessionMetadata) XXX_DiscardUnknown()

func (*SessionMetadata) XXX_Marshal

func (m *SessionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionMetadata) XXX_Merge

func (m *SessionMetadata) XXX_Merge(src proto.Message)

func (*SessionMetadata) XXX_Size

func (m *SessionMetadata) XXX_Size() int

func (*SessionMetadata) XXX_Unmarshal

func (m *SessionMetadata) XXX_Unmarshal(b []byte) error

type SessionNetwork

type SessionNetwork struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// SessionMetadata is a common event session metadata
	SessionMetadata `protobuf:"bytes,3,opt,name=Session,proto3,embedded=Session" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,4,opt,name=Server,proto3,embedded=Server" json:""`
	// BPFMetadata is a common BPF subsystem metadata
	BPFMetadata `protobuf:"bytes,5,opt,name=BPF,proto3,embedded=BPF" json:""`
	// SrcAddr is the source IP address of the connection.
	SrcAddr string `protobuf:"bytes,6,opt,name=SrcAddr,proto3" json:"src_addr"`
	// DstAddr is the destination IP address of the connection.
	DstAddr string `protobuf:"bytes,7,opt,name=DstAddr,proto3" json:"dst_addr"`
	// DstPort is the destination port of the connection.
	DstPort int32 `protobuf:"varint,8,opt,name=DstPort,proto3" json:"dst_port"`
	// TCPVersion is the version of TCP (4 or 6).
	TCPVersion int32 `protobuf:"varint,9,opt,name=TCPVersion,proto3" json:"version"`
	// Operation denotes what network operation was performed (e.g. connect)
	Operation SessionNetwork_NetworkOperation `protobuf:"varint,10,opt,name=Operation,proto3,enum=events.SessionNetwork_NetworkOperation" json:"operation"`
	// Action denotes what happened in response to the event
	Action               EventAction `protobuf:"varint,11,opt,name=Action,proto3,enum=events.EventAction" json:"action"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

SessionNetwork is a network event

func (*SessionNetwork) Descriptor

func (*SessionNetwork) Descriptor() ([]byte, []int)

func (*SessionNetwork) Marshal

func (m *SessionNetwork) Marshal() (dAtA []byte, err error)

func (*SessionNetwork) MarshalTo

func (m *SessionNetwork) MarshalTo(dAtA []byte) (int, error)

func (*SessionNetwork) MarshalToSizedBuffer

func (m *SessionNetwork) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionNetwork) ProtoMessage

func (*SessionNetwork) ProtoMessage()

func (*SessionNetwork) Reset

func (m *SessionNetwork) Reset()

func (*SessionNetwork) Size

func (m *SessionNetwork) Size() (n int)

func (*SessionNetwork) String

func (m *SessionNetwork) String() string

func (*SessionNetwork) Unmarshal

func (m *SessionNetwork) Unmarshal(dAtA []byte) error

func (*SessionNetwork) XXX_DiscardUnknown

func (m *SessionNetwork) XXX_DiscardUnknown()

func (*SessionNetwork) XXX_Marshal

func (m *SessionNetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionNetwork) XXX_Merge

func (m *SessionNetwork) XXX_Merge(src proto.Message)

func (*SessionNetwork) XXX_Size

func (m *SessionNetwork) XXX_Size() int

func (*SessionNetwork) XXX_Unmarshal

func (m *SessionNetwork) XXX_Unmarshal(b []byte) error

type SessionNetwork_NetworkOperation

type SessionNetwork_NetworkOperation int32

Operation is the network operation that was performed or attempted

const (
	// TCP connection establishment or binding a UDP socket to a remote address
	SessionNetwork_CONNECT SessionNetwork_NetworkOperation = 0
	// Transmission of data to a remote endpoint
	SessionNetwork_SEND SessionNetwork_NetworkOperation = 1
)

func (SessionNetwork_NetworkOperation) EnumDescriptor

func (SessionNetwork_NetworkOperation) EnumDescriptor() ([]byte, []int)

func (SessionNetwork_NetworkOperation) String

type SessionPrint

type SessionPrint struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// ChunkIndex is a monotonicaly incremented index for ordering print events
	ChunkIndex int64 `protobuf:"varint,2,opt,name=ChunkIndex,proto3" json:"ci"`
	// Data is data transferred, it is not marshaled to JSON format
	Data []byte `protobuf:"bytes,3,opt,name=Data,proto3" json:"-"`
	// Bytes says how many bytes have been written into the session
	// during "print" event
	Bytes int64 `protobuf:"varint,4,opt,name=Bytes,proto3" json:"bytes"`
	// DelayMilliseconds is the delay in milliseconds from the start of the session
	DelayMilliseconds int64 `protobuf:"varint,5,opt,name=DelayMilliseconds,proto3" json:"ms"`
	// Offset is the offset in bytes in the session file
	Offset               int64    `protobuf:"varint,6,opt,name=Offset,proto3" json:"offset"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SessionPrint event happens every time a write occurs to temirnal I/O during a session

func (*SessionPrint) Descriptor

func (*SessionPrint) Descriptor() ([]byte, []int)

func (*SessionPrint) Marshal

func (m *SessionPrint) Marshal() (dAtA []byte, err error)

func (*SessionPrint) MarshalTo

func (m *SessionPrint) MarshalTo(dAtA []byte) (int, error)

func (*SessionPrint) MarshalToSizedBuffer

func (m *SessionPrint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionPrint) ProtoMessage

func (*SessionPrint) ProtoMessage()

func (*SessionPrint) Reset

func (m *SessionPrint) Reset()

func (*SessionPrint) Size

func (m *SessionPrint) Size() (n int)

func (*SessionPrint) String

func (m *SessionPrint) String() string

func (*SessionPrint) Unmarshal

func (m *SessionPrint) Unmarshal(dAtA []byte) error

func (*SessionPrint) XXX_DiscardUnknown

func (m *SessionPrint) XXX_DiscardUnknown()

func (*SessionPrint) XXX_Marshal

func (m *SessionPrint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionPrint) XXX_Merge

func (m *SessionPrint) XXX_Merge(src proto.Message)

func (*SessionPrint) XXX_Size

func (m *SessionPrint) XXX_Size() int

func (*SessionPrint) XXX_Unmarshal

func (m *SessionPrint) XXX_Unmarshal(b []byte) error

type SessionReject

type SessionReject struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,3,opt,name=Server,proto3,embedded=Server" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,4,opt,name=Connection,proto3,embedded=Connection" json:""`
	// Reason is a field that specifies reason for event, e.g. in disconnect
	// event it explains why server disconnected the client
	Reason string `protobuf:"bytes,5,opt,name=Reason,proto3" json:"reason"`
	// Maximum is an event field specifying a maximal value (e.g. the value
	// of `max_connections` for a `session.rejected` event).
	Maximum              int64    `protobuf:"varint,6,opt,name=Maximum,proto3" json:"max"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SessionReject event happens when a user hits a session control restriction.

func (*SessionReject) Descriptor

func (*SessionReject) Descriptor() ([]byte, []int)

func (*SessionReject) Marshal

func (m *SessionReject) Marshal() (dAtA []byte, err error)

func (*SessionReject) MarshalTo

func (m *SessionReject) MarshalTo(dAtA []byte) (int, error)

func (*SessionReject) MarshalToSizedBuffer

func (m *SessionReject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionReject) ProtoMessage

func (*SessionReject) ProtoMessage()

func (*SessionReject) Reset

func (m *SessionReject) Reset()

func (*SessionReject) Size

func (m *SessionReject) Size() (n int)

func (*SessionReject) String

func (m *SessionReject) String() string

func (*SessionReject) Unmarshal

func (m *SessionReject) Unmarshal(dAtA []byte) error

func (*SessionReject) XXX_DiscardUnknown

func (m *SessionReject) XXX_DiscardUnknown()

func (*SessionReject) XXX_Marshal

func (m *SessionReject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionReject) XXX_Merge

func (m *SessionReject) XXX_Merge(src proto.Message)

func (*SessionReject) XXX_Size

func (m *SessionReject) XXX_Size() int

func (*SessionReject) XXX_Unmarshal

func (m *SessionReject) XXX_Unmarshal(b []byte) error

type SessionStart

type SessionStart struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// SessionMetadata is a common event session metadata
	SessionMetadata `protobuf:"bytes,3,opt,name=Session,proto3,embedded=Session" json:""`
	// ServerMetadata is a common server metadata
	ServerMetadata `protobuf:"bytes,4,opt,name=Server,proto3,embedded=Server" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,5,opt,name=Connection,proto3,embedded=Connection" json:""`
	// TerminalSize is expressed as 'W:H'
	TerminalSize string `protobuf:"bytes,6,opt,name=TerminalSize,proto3" json:"size,omitempty"`
	// KubernetesCluster has information about a kubernetes cluster, if
	// applicable.
	KubernetesClusterMetadata `protobuf:"bytes,7,opt,name=KubernetesCluster,proto3,embedded=KubernetesCluster" json:""`
	// KubernetesPod has information about a kubernetes pod, if applicable.
	KubernetesPodMetadata `protobuf:"bytes,8,opt,name=KubernetesPod,proto3,embedded=KubernetesPod" json:""`
	// InitialCommand is the command used to start this session.
	InitialCommand []string `protobuf:"bytes,9,rep,name=InitialCommand,proto3" json:"initial_command,omitempty"`
	// SessionRecording is the type of session recording.
	SessionRecording string `protobuf:"bytes,10,opt,name=SessionRecording,proto3" json:"session_recording,omitempty"`
	// AccessRequests are the IDs of access requests created by the user
	AccessRequests       []string `protobuf:"bytes,11,rep,name=AccessRequests,proto3" json:"access_requests,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SessionStart is a session start event

func (*SessionStart) Descriptor

func (*SessionStart) Descriptor() ([]byte, []int)

func (*SessionStart) Marshal

func (m *SessionStart) Marshal() (dAtA []byte, err error)

func (*SessionStart) MarshalTo

func (m *SessionStart) MarshalTo(dAtA []byte) (int, error)

func (*SessionStart) MarshalToSizedBuffer

func (m *SessionStart) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionStart) ProtoMessage

func (*SessionStart) ProtoMessage()

func (*SessionStart) Reset

func (m *SessionStart) Reset()

func (*SessionStart) Size

func (m *SessionStart) Size() (n int)

func (*SessionStart) String

func (m *SessionStart) String() string

func (*SessionStart) Unmarshal

func (m *SessionStart) Unmarshal(dAtA []byte) error

func (*SessionStart) XXX_DiscardUnknown

func (m *SessionStart) XXX_DiscardUnknown()

func (*SessionStart) XXX_Marshal

func (m *SessionStart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionStart) XXX_Merge

func (m *SessionStart) XXX_Merge(src proto.Message)

func (*SessionStart) XXX_Size

func (m *SessionStart) XXX_Size() int

func (*SessionStart) XXX_Unmarshal

func (m *SessionStart) XXX_Unmarshal(b []byte) error

type SessionUpload

type SessionUpload struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// SessionMetadata is a common event session metadata
	SessionMetadata `protobuf:"bytes,2,opt,name=SessionMetadata,proto3,embedded=SessionMetadata" json:""`
	// ID is a unique event identifier
	UID string `protobuf:"bytes,4,opt,name=UID,proto3" json:"uid,omitempty"`
	// URL is where the url the session event data upload is at
	SessionURL           string   `protobuf:"bytes,5,opt,name=SessionURL,proto3" json:"url"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SessionUpload is a session upload

func (*SessionUpload) Descriptor

func (*SessionUpload) Descriptor() ([]byte, []int)

func (*SessionUpload) Marshal

func (m *SessionUpload) Marshal() (dAtA []byte, err error)

func (*SessionUpload) MarshalTo

func (m *SessionUpload) MarshalTo(dAtA []byte) (int, error)

func (*SessionUpload) MarshalToSizedBuffer

func (m *SessionUpload) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionUpload) ProtoMessage

func (*SessionUpload) ProtoMessage()

func (*SessionUpload) Reset

func (m *SessionUpload) Reset()

func (*SessionUpload) Size

func (m *SessionUpload) Size() (n int)

func (*SessionUpload) String

func (m *SessionUpload) String() string

func (*SessionUpload) Unmarshal

func (m *SessionUpload) Unmarshal(dAtA []byte) error

func (*SessionUpload) XXX_DiscardUnknown

func (m *SessionUpload) XXX_DiscardUnknown()

func (*SessionUpload) XXX_Marshal

func (m *SessionUpload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionUpload) XXX_Merge

func (m *SessionUpload) XXX_Merge(src proto.Message)

func (*SessionUpload) XXX_Size

func (m *SessionUpload) XXX_Size() int

func (*SessionUpload) XXX_Unmarshal

func (m *SessionUpload) XXX_Unmarshal(b []byte) error

type Status

type Status struct {
	// Success indicates the success or failure of the operation
	Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"success"`
	// Error includes system error message for the failed attempt
	Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"error,omitempty"`
	// UserMessage is a user-friendly message for successfull or unsuccessfull auth attempt
	UserMessage          string   `protobuf:"bytes,3,opt,name=UserMessage,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Status contains common command or operation status fields

func (*Status) Descriptor

func (*Status) Descriptor() ([]byte, []int)

func (*Status) Marshal

func (m *Status) Marshal() (dAtA []byte, err error)

func (*Status) MarshalTo

func (m *Status) MarshalTo(dAtA []byte) (int, error)

func (*Status) MarshalToSizedBuffer

func (m *Status) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) Size

func (m *Status) Size() (n int)

func (*Status) String

func (m *Status) String() string

func (*Status) Unmarshal

func (m *Status) Unmarshal(dAtA []byte) error

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status) XXX_Merge

func (m *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

func (m *Status) XXX_Unmarshal(b []byte) error

type Stream

type Stream interface {
	// Emitter allows stream to emit audit event in the context of the event stream
	Emitter
	// Status returns channel broadcasting updates about the stream state:
	// last event index that was uploaded and the upload ID
	Status() <-chan StreamStatus
	// Done returns channel closed when streamer is closed
	// should be used to detect sending errors
	Done() <-chan struct{}
	// Complete closes the stream and marks it finalized,
	// releases associated resources, in case of failure,
	// closes this stream on the client side
	Complete(ctx context.Context) error
	// Close flushes non-uploaded flight stream data without marking
	// the stream completed and closes the stream instance
	Close(ctx context.Context) error
}

Stream is used to create continuous ordered sequence of events associated with a session.

type StreamStatus

type StreamStatus struct {
	// UploadID represents upload ID
	UploadID string `protobuf:"bytes,1,opt,name=UploadID,proto3" json:"UploadID,omitempty"`
	// LastEventIndex updates last event index
	LastEventIndex int64 `protobuf:"varint,2,opt,name=LastEventIndex,proto3" json:"LastEventIndex,omitempty"`
	// LastUploadTime is the time of the last upload
	LastUploadTime       time.Time `protobuf:"bytes,3,opt,name=LastUploadTime,proto3,stdtime" json:"LastUploadTime"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

StreamStatus reflects stream status

func (*StreamStatus) Descriptor

func (*StreamStatus) Descriptor() ([]byte, []int)

func (*StreamStatus) Marshal

func (m *StreamStatus) Marshal() (dAtA []byte, err error)

func (*StreamStatus) MarshalTo

func (m *StreamStatus) MarshalTo(dAtA []byte) (int, error)

func (*StreamStatus) MarshalToSizedBuffer

func (m *StreamStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StreamStatus) ProtoMessage

func (*StreamStatus) ProtoMessage()

func (*StreamStatus) Reset

func (m *StreamStatus) Reset()

func (*StreamStatus) Size

func (m *StreamStatus) Size() (n int)

func (*StreamStatus) String

func (m *StreamStatus) String() string

func (*StreamStatus) Unmarshal

func (m *StreamStatus) Unmarshal(dAtA []byte) error

func (*StreamStatus) XXX_DiscardUnknown

func (m *StreamStatus) XXX_DiscardUnknown()

func (*StreamStatus) XXX_Marshal

func (m *StreamStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamStatus) XXX_Merge

func (m *StreamStatus) XXX_Merge(src proto.Message)

func (*StreamStatus) XXX_Size

func (m *StreamStatus) XXX_Size() int

func (*StreamStatus) XXX_Unmarshal

func (m *StreamStatus) XXX_Unmarshal(b []byte) error

type Struct

type Struct struct {
	types.Struct
}

Struct is a wrapper around types.Struct that marshals itself into json

func EncodeMap

func EncodeMap(msg map[string]interface{}) (*Struct, error)

EncodeMap encodes map[string]interface{} to map<string, Value>

func EncodeMapStrings

func EncodeMapStrings(msg map[string][]string) (*Struct, error)

EncodeMapStrings encodes map[string][]string to map<string, Value>

func MustEncodeMap

func MustEncodeMap(msg map[string]interface{}) *Struct

MustEncodeMap panics if EncodeMap returns error

func (*Struct) MarshalJSON

func (s *Struct) MarshalJSON() ([]byte, error)

MarshalJSON marshals boolean value.

func (*Struct) UnmarshalJSON

func (s *Struct) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals JSON from string or bool, in case if value is missing or not recognized, defaults to false

type Subsystem

type Subsystem struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,3,opt,name=Connection,proto3,embedded=Connection" json:""`
	// Name is a subsystem name
	Name string `protobuf:"bytes,4,opt,name=Name,proto3" json:"name"`
	// Error contains error in case of unsucessfull attempt
	Error                string   `protobuf:"bytes,5,opt,name=Error,proto3" json:"exitError"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Subsystem is emitted when a user requests a new subsystem.

func (*Subsystem) Descriptor

func (*Subsystem) Descriptor() ([]byte, []int)

func (*Subsystem) Marshal

func (m *Subsystem) Marshal() (dAtA []byte, err error)

func (*Subsystem) MarshalTo

func (m *Subsystem) MarshalTo(dAtA []byte) (int, error)

func (*Subsystem) MarshalToSizedBuffer

func (m *Subsystem) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Subsystem) ProtoMessage

func (*Subsystem) ProtoMessage()

func (*Subsystem) Reset

func (m *Subsystem) Reset()

func (*Subsystem) Size

func (m *Subsystem) Size() (n int)

func (*Subsystem) String

func (m *Subsystem) String() string

func (*Subsystem) Unmarshal

func (m *Subsystem) Unmarshal(dAtA []byte) error

func (*Subsystem) XXX_DiscardUnknown

func (m *Subsystem) XXX_DiscardUnknown()

func (*Subsystem) XXX_Marshal

func (m *Subsystem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Subsystem) XXX_Merge

func (m *Subsystem) XXX_Merge(src proto.Message)

func (*Subsystem) XXX_Size

func (m *Subsystem) XXX_Size() int

func (*Subsystem) XXX_Unmarshal

func (m *Subsystem) XXX_Unmarshal(b []byte) error

type TrustedClusterCreate

type TrustedClusterCreate struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata `protobuf:"bytes,2,opt,name=Resource,proto3,embedded=Resource" json:""`
	// User is a common user event metadata
	UserMetadata         `protobuf:"bytes,3,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

TrustedClusterCreate is the event for creating a trusted cluster.

func (*TrustedClusterCreate) Descriptor

func (*TrustedClusterCreate) Descriptor() ([]byte, []int)

func (*TrustedClusterCreate) Marshal

func (m *TrustedClusterCreate) Marshal() (dAtA []byte, err error)

func (*TrustedClusterCreate) MarshalTo

func (m *TrustedClusterCreate) MarshalTo(dAtA []byte) (int, error)

func (*TrustedClusterCreate) MarshalToSizedBuffer

func (m *TrustedClusterCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TrustedClusterCreate) ProtoMessage

func (*TrustedClusterCreate) ProtoMessage()

func (*TrustedClusterCreate) Reset

func (m *TrustedClusterCreate) Reset()

func (*TrustedClusterCreate) Size

func (m *TrustedClusterCreate) Size() (n int)

func (*TrustedClusterCreate) String

func (m *TrustedClusterCreate) String() string

func (*TrustedClusterCreate) Unmarshal

func (m *TrustedClusterCreate) Unmarshal(dAtA []byte) error

func (*TrustedClusterCreate) XXX_DiscardUnknown

func (m *TrustedClusterCreate) XXX_DiscardUnknown()

func (*TrustedClusterCreate) XXX_Marshal

func (m *TrustedClusterCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TrustedClusterCreate) XXX_Merge

func (m *TrustedClusterCreate) XXX_Merge(src proto.Message)

func (*TrustedClusterCreate) XXX_Size

func (m *TrustedClusterCreate) XXX_Size() int

func (*TrustedClusterCreate) XXX_Unmarshal

func (m *TrustedClusterCreate) XXX_Unmarshal(b []byte) error

type TrustedClusterDelete

type TrustedClusterDelete struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata `protobuf:"bytes,2,opt,name=Resource,proto3,embedded=Resource" json:""`
	// User is a common user event metadata
	UserMetadata         `protobuf:"bytes,3,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

TrustedClusterDelete is the event for removing a trusted cluster.

func (*TrustedClusterDelete) Descriptor

func (*TrustedClusterDelete) Descriptor() ([]byte, []int)

func (*TrustedClusterDelete) Marshal

func (m *TrustedClusterDelete) Marshal() (dAtA []byte, err error)

func (*TrustedClusterDelete) MarshalTo

func (m *TrustedClusterDelete) MarshalTo(dAtA []byte) (int, error)

func (*TrustedClusterDelete) MarshalToSizedBuffer

func (m *TrustedClusterDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TrustedClusterDelete) ProtoMessage

func (*TrustedClusterDelete) ProtoMessage()

func (*TrustedClusterDelete) Reset

func (m *TrustedClusterDelete) Reset()

func (*TrustedClusterDelete) Size

func (m *TrustedClusterDelete) Size() (n int)

func (*TrustedClusterDelete) String

func (m *TrustedClusterDelete) String() string

func (*TrustedClusterDelete) Unmarshal

func (m *TrustedClusterDelete) Unmarshal(dAtA []byte) error

func (*TrustedClusterDelete) XXX_DiscardUnknown

func (m *TrustedClusterDelete) XXX_DiscardUnknown()

func (*TrustedClusterDelete) XXX_Marshal

func (m *TrustedClusterDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TrustedClusterDelete) XXX_Merge

func (m *TrustedClusterDelete) XXX_Merge(src proto.Message)

func (*TrustedClusterDelete) XXX_Size

func (m *TrustedClusterDelete) XXX_Size() int

func (*TrustedClusterDelete) XXX_Unmarshal

func (m *TrustedClusterDelete) XXX_Unmarshal(b []byte) error

type TrustedClusterTokenCreate

type TrustedClusterTokenCreate struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata `protobuf:"bytes,2,opt,name=Resource,proto3,embedded=Resource" json:""`
	// User is a common user event metadata
	UserMetadata         `protobuf:"bytes,3,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

TrustedClusterTokenCreate is the event for creating new join token for a trusted cluster.

func (*TrustedClusterTokenCreate) Descriptor

func (*TrustedClusterTokenCreate) Descriptor() ([]byte, []int)

func (*TrustedClusterTokenCreate) Marshal

func (m *TrustedClusterTokenCreate) Marshal() (dAtA []byte, err error)

func (*TrustedClusterTokenCreate) MarshalTo

func (m *TrustedClusterTokenCreate) MarshalTo(dAtA []byte) (int, error)

func (*TrustedClusterTokenCreate) MarshalToSizedBuffer

func (m *TrustedClusterTokenCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TrustedClusterTokenCreate) ProtoMessage

func (*TrustedClusterTokenCreate) ProtoMessage()

func (*TrustedClusterTokenCreate) Reset

func (m *TrustedClusterTokenCreate) Reset()

func (*TrustedClusterTokenCreate) Size

func (m *TrustedClusterTokenCreate) Size() (n int)

func (*TrustedClusterTokenCreate) String

func (m *TrustedClusterTokenCreate) String() string

func (*TrustedClusterTokenCreate) Unmarshal

func (m *TrustedClusterTokenCreate) Unmarshal(dAtA []byte) error

func (*TrustedClusterTokenCreate) XXX_DiscardUnknown

func (m *TrustedClusterTokenCreate) XXX_DiscardUnknown()

func (*TrustedClusterTokenCreate) XXX_Marshal

func (m *TrustedClusterTokenCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TrustedClusterTokenCreate) XXX_Merge

func (m *TrustedClusterTokenCreate) XXX_Merge(src proto.Message)

func (*TrustedClusterTokenCreate) XXX_Size

func (m *TrustedClusterTokenCreate) XXX_Size() int

func (*TrustedClusterTokenCreate) XXX_Unmarshal

func (m *TrustedClusterTokenCreate) XXX_Unmarshal(b []byte) error

type UserCreate

type UserCreate struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata `protobuf:"bytes,3,opt,name=Resource,proto3,embedded=Resource" json:""`
	// Roles is a list of roles for the user.
	Roles []string `protobuf:"bytes,4,rep,name=Roles,proto3" json:"roles"`
	// Connector is the connector used to create the user.
	Connector            string   `protobuf:"bytes,5,opt,name=Connector,proto3" json:"connector"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

UserCreate is emitted when the user is created or updated (upsert).

func (*UserCreate) Descriptor

func (*UserCreate) Descriptor() ([]byte, []int)

func (*UserCreate) Marshal

func (m *UserCreate) Marshal() (dAtA []byte, err error)

func (*UserCreate) MarshalTo

func (m *UserCreate) MarshalTo(dAtA []byte) (int, error)

func (*UserCreate) MarshalToSizedBuffer

func (m *UserCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserCreate) ProtoMessage

func (*UserCreate) ProtoMessage()

func (*UserCreate) Reset

func (m *UserCreate) Reset()

func (*UserCreate) Size

func (m *UserCreate) Size() (n int)

func (*UserCreate) String

func (m *UserCreate) String() string

func (*UserCreate) Unmarshal

func (m *UserCreate) Unmarshal(dAtA []byte) error

func (*UserCreate) XXX_DiscardUnknown

func (m *UserCreate) XXX_DiscardUnknown()

func (*UserCreate) XXX_Marshal

func (m *UserCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserCreate) XXX_Merge

func (m *UserCreate) XXX_Merge(src proto.Message)

func (*UserCreate) XXX_Size

func (m *UserCreate) XXX_Size() int

func (*UserCreate) XXX_Unmarshal

func (m *UserCreate) XXX_Unmarshal(b []byte) error

type UserDelete

type UserDelete struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// ResourceMetadata is a common resource event metadata
	ResourceMetadata     `protobuf:"bytes,3,opt,name=Resource,proto3,embedded=Resource" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

UserDelete is emitted when a user gets deleted

func (*UserDelete) Descriptor

func (*UserDelete) Descriptor() ([]byte, []int)

func (*UserDelete) Marshal

func (m *UserDelete) Marshal() (dAtA []byte, err error)

func (*UserDelete) MarshalTo

func (m *UserDelete) MarshalTo(dAtA []byte) (int, error)

func (*UserDelete) MarshalToSizedBuffer

func (m *UserDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserDelete) ProtoMessage

func (*UserDelete) ProtoMessage()

func (*UserDelete) Reset

func (m *UserDelete) Reset()

func (*UserDelete) Size

func (m *UserDelete) Size() (n int)

func (*UserDelete) String

func (m *UserDelete) String() string

func (*UserDelete) Unmarshal

func (m *UserDelete) Unmarshal(dAtA []byte) error

func (*UserDelete) XXX_DiscardUnknown

func (m *UserDelete) XXX_DiscardUnknown()

func (*UserDelete) XXX_Marshal

func (m *UserDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserDelete) XXX_Merge

func (m *UserDelete) XXX_Merge(src proto.Message)

func (*UserDelete) XXX_Size

func (m *UserDelete) XXX_Size() int

func (*UserDelete) XXX_Unmarshal

func (m *UserDelete) XXX_Unmarshal(b []byte) error

type UserLogin

type UserLogin struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// Status contains common command or operation status fields
	Status `protobuf:"bytes,3,opt,name=Status,proto3,embedded=Status" json:""`
	// Method is the event field indicating how the login was performed
	Method string `protobuf:"bytes,4,opt,name=Method,proto3" json:"method,omitempty"`
	// IdentityAttributes is a map of user attributes received from identity provider
	IdentityAttributes *Struct `protobuf:"bytes,5,opt,name=IdentityAttributes,proto3,casttype=Struct" json:"attributes,omitempty"`
	// MFA is the MFA device used during the login.
	MFADevice            *MFADeviceMetadata `protobuf:"bytes,6,opt,name=MFADevice,proto3" json:"mfa_device,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

UserLogin records a successfull or failed user login event

func (*UserLogin) Descriptor

func (*UserLogin) Descriptor() ([]byte, []int)

func (*UserLogin) Marshal

func (m *UserLogin) Marshal() (dAtA []byte, err error)

func (*UserLogin) MarshalTo

func (m *UserLogin) MarshalTo(dAtA []byte) (int, error)

func (*UserLogin) MarshalToSizedBuffer

func (m *UserLogin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserLogin) ProtoMessage

func (*UserLogin) ProtoMessage()

func (*UserLogin) Reset

func (m *UserLogin) Reset()

func (*UserLogin) Size

func (m *UserLogin) Size() (n int)

func (*UserLogin) String

func (m *UserLogin) String() string

func (*UserLogin) Unmarshal

func (m *UserLogin) Unmarshal(dAtA []byte) error

func (*UserLogin) XXX_DiscardUnknown

func (m *UserLogin) XXX_DiscardUnknown()

func (*UserLogin) XXX_Marshal

func (m *UserLogin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserLogin) XXX_Merge

func (m *UserLogin) XXX_Merge(src proto.Message)

func (*UserLogin) XXX_Size

func (m *UserLogin) XXX_Size() int

func (*UserLogin) XXX_Unmarshal

func (m *UserLogin) XXX_Unmarshal(b []byte) error

type UserMetadata

type UserMetadata struct {
	// User is teleport user name
	User string `protobuf:"bytes,1,opt,name=User,proto3" json:"user,omitempty"`
	// Login is OS login
	Login string `protobuf:"bytes,2,opt,name=Login,proto3" json:"login,omitempty"`
	// Impersonator is a user acting on behalf of another user
	Impersonator string `protobuf:"bytes,3,opt,name=Impersonator,proto3" json:"impersonator,omitempty"`
	// AWSRoleARN is AWS IAM role user assumes when accessing AWS console.
	AWSRoleARN           string   `protobuf:"bytes,4,opt,name=AWSRoleARN,proto3" json:"aws_role_arn,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

UserMetadata is a common user event metadata

func (*UserMetadata) Descriptor

func (*UserMetadata) Descriptor() ([]byte, []int)

func (*UserMetadata) Marshal

func (m *UserMetadata) Marshal() (dAtA []byte, err error)

func (*UserMetadata) MarshalTo

func (m *UserMetadata) MarshalTo(dAtA []byte) (int, error)

func (*UserMetadata) MarshalToSizedBuffer

func (m *UserMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserMetadata) ProtoMessage

func (*UserMetadata) ProtoMessage()

func (*UserMetadata) Reset

func (m *UserMetadata) Reset()

func (*UserMetadata) Size

func (m *UserMetadata) Size() (n int)

func (*UserMetadata) String

func (m *UserMetadata) String() string

func (*UserMetadata) Unmarshal

func (m *UserMetadata) Unmarshal(dAtA []byte) error

func (*UserMetadata) XXX_DiscardUnknown

func (m *UserMetadata) XXX_DiscardUnknown()

func (*UserMetadata) XXX_Marshal

func (m *UserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserMetadata) XXX_Merge

func (m *UserMetadata) XXX_Merge(src proto.Message)

func (*UserMetadata) XXX_Size

func (m *UserMetadata) XXX_Size() int

func (*UserMetadata) XXX_Unmarshal

func (m *UserMetadata) XXX_Unmarshal(b []byte) error

type UserPasswordChange

type UserPasswordChange struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata         `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

UserPasswordChange is emitted when the user changes their own password.

func (*UserPasswordChange) Descriptor

func (*UserPasswordChange) Descriptor() ([]byte, []int)

func (*UserPasswordChange) Marshal

func (m *UserPasswordChange) Marshal() (dAtA []byte, err error)

func (*UserPasswordChange) MarshalTo

func (m *UserPasswordChange) MarshalTo(dAtA []byte) (int, error)

func (*UserPasswordChange) MarshalToSizedBuffer

func (m *UserPasswordChange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserPasswordChange) ProtoMessage

func (*UserPasswordChange) ProtoMessage()

func (*UserPasswordChange) Reset

func (m *UserPasswordChange) Reset()

func (*UserPasswordChange) Size

func (m *UserPasswordChange) Size() (n int)

func (*UserPasswordChange) String

func (m *UserPasswordChange) String() string

func (*UserPasswordChange) Unmarshal

func (m *UserPasswordChange) Unmarshal(dAtA []byte) error

func (*UserPasswordChange) XXX_DiscardUnknown

func (m *UserPasswordChange) XXX_DiscardUnknown()

func (*UserPasswordChange) XXX_Marshal

func (m *UserPasswordChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserPasswordChange) XXX_Merge

func (m *UserPasswordChange) XXX_Merge(src proto.Message)

func (*UserPasswordChange) XXX_Size

func (m *UserPasswordChange) XXX_Size() int

func (*UserPasswordChange) XXX_Unmarshal

func (m *UserPasswordChange) XXX_Unmarshal(b []byte) error

type X11Forward

type X11Forward struct {
	// Metadata is a common event metadata
	Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3,embedded=Metadata" json:""`
	// User is a common user event metadata
	UserMetadata `protobuf:"bytes,2,opt,name=User,proto3,embedded=User" json:""`
	// ConnectionMetadata holds information about the connection
	ConnectionMetadata `protobuf:"bytes,3,opt,name=Connection,proto3,embedded=Connection" json:""`
	// Status contains operation success or failure status
	Status               `protobuf:"bytes,4,opt,name=Status,proto3,embedded=Status" json:""`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

X11Forward is emitted when a user requests X11 protocol forwarding

func (*X11Forward) Descriptor

func (*X11Forward) Descriptor() ([]byte, []int)

func (*X11Forward) Marshal

func (m *X11Forward) Marshal() (dAtA []byte, err error)

func (*X11Forward) MarshalTo

func (m *X11Forward) MarshalTo(dAtA []byte) (int, error)

func (*X11Forward) MarshalToSizedBuffer

func (m *X11Forward) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*X11Forward) ProtoMessage

func (*X11Forward) ProtoMessage()

func (*X11Forward) Reset

func (m *X11Forward) Reset()

func (*X11Forward) Size

func (m *X11Forward) Size() (n int)

func (*X11Forward) String

func (m *X11Forward) String() string

func (*X11Forward) Unmarshal

func (m *X11Forward) Unmarshal(dAtA []byte) error

func (*X11Forward) XXX_DiscardUnknown

func (m *X11Forward) XXX_DiscardUnknown()

func (*X11Forward) XXX_Marshal

func (m *X11Forward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*X11Forward) XXX_Merge

func (m *X11Forward) XXX_Merge(src proto.Message)

func (*X11Forward) XXX_Size

func (m *X11Forward) XXX_Size() int

func (*X11Forward) XXX_Unmarshal

func (m *X11Forward) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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