Skip to content

Define a new DeviceEvent proto with the usual embeds#25353

Merged
codingllama merged 4 commits intomasterfrom
codingllama/dt-deviceevent2
May 2, 2023
Merged

Define a new DeviceEvent proto with the usual embeds#25353
codingllama merged 4 commits intomasterfrom
codingllama/dt-deviceevent2

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

Define a new base event for device trust, with the usual embeds of Status and UserMetadata.

We can't swap the event in single PR as the code that issues it lives in e/, so it has to be done in multiple steps.

#25288

@github-actions github-actions Bot requested review from nklaassen and rudream April 28, 2023 20:13
@github-actions github-actions Bot added audit-log Issues related to Teleports Audit Log size/sm labels Apr 28, 2023
@codingllama codingllama requested a review from zmb3 April 28, 2023 21:15
@codingllama
Copy link
Copy Markdown
Contributor Author

Changed oneof to not mix "old" and new "events", based on the event code. It's a bad idea to mix them, some fields like "user" changed type in a incompatible way.

@codingllama
Copy link
Copy Markdown
Contributor Author

Friendly ping @nklaassen @rudream ?

@codingllama codingllama force-pushed the codingllama/dt-deviceevent2 branch from 68f206c to cee80b6 Compare May 2, 2023 17:32
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from rudream May 2, 2023 18:25
@codingllama codingllama added this pull request to the merge queue May 2, 2023
Merged via the queue into master with commit 2a3d1d6 May 2, 2023
@codingllama codingllama deleted the codingllama/dt-deviceevent2 branch May 2, 2023 19:00
@public-teleport-github-review-bot
Copy link
Copy Markdown

@codingllama See the table below for backport results.

Branch Result
branch/v12 Failed
branch/v13 Create PR

codingllama added a commit that referenced this pull request May 3, 2023
* Define a new, standardized device event

* Update generated protos

* Add OneOf support, swap legacy for new event

* Do not mix old and new events
codingllama added a commit that referenced this pull request May 4, 2023
* Define a new, standardized device event

* Update generated protos

* Add OneOf support, swap legacy for new event

* Do not mix old and new events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

audit-log Issues related to Teleports Audit Log size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants