We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76c65b1 commit 116f517Copy full SHA for 116f517
coderd/telemetry/telemetry.go
@@ -673,9 +673,13 @@ func ConvertTemplateVersion(version database.TemplateVersion) TemplateVersion {
673
return snapVersion
674
}
675
676
-// ConvertLicense anonymizes a license.
677
func ConvertLicense(license database.License) License {
+ // License is intentionally not anonymized because it's
678
+ // deployment-wide, and we already have an index of all issued
679
+ // licenses.
680
return License{
681
+ JWT: license.JWT,
682
+ Exp: license.Exp,
683
UploadedAt: license.UploadedAt,
684
UUID: license.UUID,
685
@@ -885,7 +889,9 @@ type ParameterSchema struct {
885
889
886
890
887
891
type License struct {
892
+ JWT string `json:"jwt"`
888
893
UploadedAt time.Time `json:"uploaded_at"`
894
+ Exp time.Time `json:"exp"`
895
UUID uuid.UUID `json:"uuid"`
896
897
0 commit comments