Skip to content

Anonymize GitLab mentions on Status Detail Pages

What does this MR do?

Refs #208993 (closed)

📯 This MR is based on !30181 (merged) hence the WIP. Please don't merge yet.

This MR implements a HTML filter which takes care of anonymizing user, group, and all mentions from issue title, issue description and note content.

We achieve this by replacing any occurrence of a linked GitLab username by Incident Responder. See #208993 (comment 302875437) & &2479 (comment 302808045).

A more sophisticated approach will be taken via #209114 later.

Screenshots

Issue Status Page
Screenshot_from_2020-05-07_00-20-40 Screenshot_from_2020-05-07_00-19-52

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 Peter Leitzen

Merge request reports