fix: write server config to telemetry (#13590)

* fix: add external auth configs to telemetry

* Refactor telemetry to send the entire config

* gen

* Fix linting
This commit is contained in:
Kyle Carberry
2024-06-18 16:20:21 -04:00
committed by GitHub
parent d0b2f6196c
commit 3a1fa04590
10 changed files with 54 additions and 142 deletions
+1 -1
View File
@@ -393,7 +393,7 @@ type ExternalAuthConfig struct {
AppInstallationsURL string `json:"app_installations_url" yaml:"app_installations_url"`
NoRefresh bool `json:"no_refresh" yaml:"no_refresh"`
Scopes []string `json:"scopes" yaml:"scopes"`
ExtraTokenKeys []string `json:"extra_token_keys" yaml:"extra_token_keys"`
ExtraTokenKeys []string `json:"-" yaml:"extra_token_keys"`
DeviceFlow bool `json:"device_flow" yaml:"device_flow"`
DeviceCodeURL string `json:"device_code_url" yaml:"device_code_url"`
// Regex allows API requesters to match an auth config by