teleport/lib/events/slice.proto
Alexey Kontsevoy 3c670d5d58
Merge Teleport V4.3 UI branch to master (#3583)
* Add monorepo

* Add reset/passwd capability for local users (#3287)

* Add UserTokens to allow password resets

* Pass context down through ChangePasswordWithToken

* Rename UserToken to ResetPasswordToken

* Add auto formatting for proto files

* Add common Marshaller interfaces to reset password token

* Allow enterprise "tctl" reuse OSS user methods (#3344)

* Pass localAuthEnabled flag to UI (#3412)

* Added LocalAuthEnabled prop to WebConfigAuthSetting struct in webconfig.go
* Added LocalAuthEnabled state as part of webCfg in  apiserver.go

* update e-refs

* Fix a regression bug after merge

* Update tctl CLI output msgs (#3442)

* Use local user client when resolving user roles

* Update webapps ref

* Add and retrieve fields from Cluster struct (#3476)

* Set Teleport versions for node, auth, proxy init heartbeat
* Add and retrieve fields NodeCount, PublicURL, AuthVersion from Clusters
* Remove debug logging to avoid log pollution when getting public_addr of proxy
* Create helper func GuessProxyHost to get the public_addr of a proxy host
* Refactor newResetPasswordToken to use GuessProxyHost and remove publicUrl func

* Remove webapps submodule

* Add webassets submodule

* Replace webapps sub-module reference with webassets

* Update webassets path in Makefile

* Update webassets

1b11b26 Simplify and clean up Makefile (#62) https://github.com/gravitational/webapps/commit/1b11b26

* Retrieve cluster details for user context (#3515)

* Let GuessProxyHost also return proxy's version
* Unit test GuessProxyHostAndVersion & GetClusterDetails

* Update webassets

4dfef4e Fix build pipeline (#66) https://github.com/gravitational/webapps/commit/4dfef4e

* Update e-ref

* Update webassets

0647568 Fix OSS redirects https://github.com/gravitational/webapps/commit/0647568

* update e-ref

* Update webassets

e0f4189 Address security audit warnings Updates  "minimist" package which is used by 7y old "optimist". https://github.com/gravitational/webapps/commit/e0f4189

* Add new attr to Session struct (#3574)

* Add fields ServerHostname and ServerAddr
* Set these fields on newSession

* Ensure webassets submodule during build

* Update e-ref

* Ensure webassets before running unit-tests

* Update E-ref

Co-authored-by: Lisa Kim <lisa@gravitational.com>
Co-authored-by: Pierre Beaucamp <pierre@gravitational.com>
Co-authored-by: Jenkins <jenkins@gravitational.io>
2020-04-15 15:35:26 -04:00

40 lines
1.2 KiB
Protocol Buffer

syntax = "proto3";
package events;
import "google/protobuf/empty.proto";
// SessionSlice is a slice of submitted chunks
message SessionSlice {
// Namespace is a session namespace
string Namespace = 1;
// SessionID is a session ID associated with this chunk
string SessionID = 2;
// Chunks is a list of submitted session chunks
repeated SessionChunk Chunks = 3;
// Version specifies session slice version
int64 Version = 4;
}
// SessionChunk is a chunk to be posted in the context of the session
message SessionChunk {
// Time is the occurence of this event
int64 Time = 2;
// Data is captured data, contains event fields in case of event, session data
// otherwise
bytes Data = 3;
// EventType is event type
string EventType = 4;
// EventIndex is the event global index
int64 EventIndex = 5;
// Index is the autoincremented chunk index
int64 ChunkIndex = 6;
// Offset is an offset from the previous chunk in bytes
int64 Offset = 7;
// Delay is a delay from the previous event in milliseconds
int64 Delay = 8;
}
service AuditLog {
rpc SubmitSessionSlice(stream SessionSlice) returns (google.protobuf.Empty) {}
}