Skip to content

[v7] backport #9822 (cert.create event)#10225

Merged
espadolini merged 2 commits intobranch/v7from
espadolini/v7-event-certsuseremit
Feb 14, 2022
Merged

[v7] backport #9822 (cert.create event)#10225
espadolini merged 2 commits intobranch/v7from
espadolini/v7-event-certsuseremit

Conversation

@espadolini
Copy link
Copy Markdown
Contributor

@espadolini espadolini commented Feb 8, 2022

Backport of #9822.

To be merged after #10304.

* Add the `cert.create` event

For now, this is only emitted for user certificate issuance.

* Make `cert_type` a string rather than an enum

* Match field names and json tags in events.Identity

* Change events.Identity.Traits to be a wrappers.LabelValues/wrappers.Traits

* Event code shouldn't be under T10xx anymore
@espadolini espadolini marked this pull request as ready for review February 8, 2022 19:49
Copy link
Copy Markdown
Contributor

@codingllama codingllama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 it

Copy link
Copy Markdown
Contributor

@russjones russjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@espadolini I've approved, but please make sure the Web UI changes are merged first. Otherwise if we cut a release off branch/v8 it could cause the UI to break.

@espadolini espadolini enabled auto-merge (squash) February 14, 2022 17:07
@espadolini espadolini merged commit 45d597d into branch/v7 Feb 14, 2022
@espadolini espadolini deleted the espadolini/v7-event-certsuseremit branch February 14, 2022 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants