Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions api/proto/teleport/legacy/types/events/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1280,6 +1280,13 @@ message UserCreate {

// Connector is the connector used to create the user.
string Connector = 5 [(gogoproto.jsontag) = "connector"];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 6 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// UserUpdate is emitted when the user is updated.
Expand Down Expand Up @@ -1310,6 +1317,13 @@ message UserUpdate {

// Connector is the connector used to create the user.
string Connector = 5 [(gogoproto.jsontag) = "connector"];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 6 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// UserDelete is emitted when a user gets deleted
Expand All @@ -1334,6 +1348,13 @@ message UserDelete {
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 4 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// UserPasswordChange is emitted when the user changes their own password.
Expand All @@ -1351,6 +1372,13 @@ message UserPasswordChange {
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 3 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// AccessRequestCreate is emitted when access request has been created or updated
Expand Down Expand Up @@ -1930,6 +1958,13 @@ message RoleCreate {
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 4 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// RoleUpdate is emitted when a role is updated.
Expand All @@ -1954,6 +1989,13 @@ message RoleUpdate {
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 4 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// RoleDelete is emitted when a role is deleted
Expand All @@ -1978,6 +2020,13 @@ message RoleDelete {
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 4 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// BotCreate is emitted when a bot is created/upserted.
Expand Down Expand Up @@ -2074,6 +2123,13 @@ message TrustedClusterCreate {
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 4 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// TrustedClusterDelete is the event for removing a trusted cluster.
Expand All @@ -2098,6 +2154,13 @@ message TrustedClusterDelete {
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 4 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// ProvisionTokenCreate event is emitted when a provisioning token (a.k.a. join
Expand Down Expand Up @@ -2181,6 +2244,13 @@ message GithubConnectorCreate {
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 4 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// GithubConnectorUpdate fires when a Github connector is updated.
Expand All @@ -2205,6 +2275,13 @@ message GithubConnectorUpdate {
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 4 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// GithubConnectorDelete fires when a Github connector is deleted.
Expand All @@ -2229,6 +2306,13 @@ message GithubConnectorDelete {
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];

// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 4 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// OIDCConnectorCreate fires when OIDC connector is created.
Expand Down Expand Up @@ -3186,6 +3270,12 @@ message MFADeviceAdd {
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 4 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// MFADeviceDelete is emitted when a user deletes an MFA device.
Expand All @@ -3208,6 +3298,12 @@ message MFADeviceDelete {
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
// ConnectionMetadata holds information about the connection
ConnectionMetadata Connection = 4 [
(gogoproto.nullable) = false,
(gogoproto.embed) = true,
(gogoproto.jsontag) = ""
];
}

// BillingInformationUpdate is emitted when a user updates the billing information.
Expand Down
Loading