Skip to content

Mask runner registration token

What does this MR do?

This change prevents users from accidentally revealing the runner registration token by adding a "****" style mask.

Users can click on the corresponding icon to reveal the token if needed.

Why? The runner registration token is an extremely sensitive secret that is immediately visible to admins that can be easily revealed during screen sharing sessions.

Screenshots or Screencasts (strongly suggested)

before after
image Screen_Shot_2021-07-06_at_4.24.22_PM

In action

2021-07-06_16.23.39

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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

Related to #333679 (closed)

Edited by Miguel Rincon

Merge request reports