X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2924f222d9efdb1b8776225d2d51bc8771d7b077..0fd23242967b5c8c7144f4325bf0b65043585b55:/lib/config/export.go diff --git a/lib/config/export.go b/lib/config/export.go index 069e300c5b..88c64f69a1 100644 --- a/lib/config/export.go +++ b/lib/config/export.go @@ -37,8 +37,8 @@ func ExportJSON(w io.Writer, cluster *arvados.Cluster) error { return json.NewEncoder(w).Encode(m) } -// whitelist classifies configs as safe/unsafe to reveal to -// unauthenticated clients. +// whitelist classifies configs as safe/unsafe to reveal through the API +// endpoint. Note that endpoint does not require authentication. // // Every config entry must either be listed explicitly here along with // all of its parent keys (e.g., "API" + "API.RequestTimeout"), or @@ -66,10 +66,14 @@ var whitelist = map[string]bool{ "API.FreezeProjectRequiresProperties": true, "API.FreezeProjectRequiresProperties.*": true, "API.KeepServiceRequestTimeout": false, + "API.LockBeforeUpdate": false, + "API.LogCreateRequestFraction": false, "API.MaxConcurrentRequests": false, "API.MaxIndexDatabaseRead": false, "API.MaxItemsPerResponse": true, "API.MaxKeepBlobBuffers": false, + "API.MaxQueuedRequests": false, + "API.MaxQueueTimeForLockRequests": false, "API.MaxRequestAmplification": false, "API.MaxRequestSize": true, "API.MaxTokenLifetime": false, @@ -130,7 +134,6 @@ var whitelist = map[string]bool{ "Containers.Logging": false, "Containers.LogReuseDecisions": false, "Containers.LSF": false, - "Containers.MaxComputeVMs": false, "Containers.MaxDispatchAttempts": false, "Containers.MaxRetryAttempts": true, "Containers.MinRetryPeriod": true, @@ -162,6 +165,7 @@ var whitelist = map[string]bool{ "Login.LDAP.EmailAttribute": false, "Login.LDAP.Enable": true, "Login.LDAP.InsecureTLS": false, + "Login.LDAP.MinTLSVersion": false, "Login.LDAP.SearchAttribute": false, "Login.LDAP.SearchBase": false, "Login.LDAP.SearchBindPassword": false, @@ -243,6 +247,12 @@ var whitelist = map[string]bool{ "Users.NewUsersAreActive": false, "Users.PreferDomainForUsername": false, "Users.RoleGroupsVisibleToAll": false, + "Users.SyncIgnoredGroups": true, + "Users.SyncRequiredGroups": true, + "Users.SyncUserAccounts": true, + "Users.SyncUserAPITokens": true, + "Users.SyncUserGroups": true, + "Users.SyncUserSSHKeys": true, "Users.UserNotifierEmailBcc": false, "Users.UserNotifierEmailFrom": false, "Users.UserProfileNotificationAddress": false, @@ -266,7 +276,7 @@ var whitelist = map[string]bool{ "Workbench.ApplicationMimetypesWithViewIcon.*": true, "Workbench.ArvadosDocsite": true, "Workbench.ArvadosPublicDataDocURL": true, - "Workbench.BannerURL": true, + "Workbench.BannerUUID": true, "Workbench.DefaultOpenIdPrefix": false, "Workbench.DisableSharingURLsUI": true, "Workbench.EnableGettingStartedPopup": true,