Skip to content

Add authentication information to usage ping

Drew Blessing requested to merge dblessing-auth-info-usage-ping into master

What does this MR do?

Related to #213931 (closed)

Currently, we only track LDAP in the self-managed feedback we receive back in usage ping. For us to be able to better understand which authentication strategies we should invest in, we should get some basic information on what instances tend to use.

This adds authentication info In the manage stage section of usage ping. Additions include which omniauth providers are enabled, and whether group SAML is in use.

Example:

   :manage=>
    {:events=>28,
     :groups=>21,
     :ldap_keys=>0,
     :ldap_users=>1,
     :users_created=>57,
     :value_stream_management_customized_group_stages=>0,
     :projects_with_compliance_framework=>0,
# NEW ATTRIBUTES BELOW
     :ldap_servers=>2,
     :ldap_group_sync_enabled=>true,
     :ldap_admin_sync_enabled=>false,
     :omniauth_providers=>["google_oauth2"],
     :group_saml_enabled=>true},

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Drew Blessing

Merge request reports