Skip to content

Dismissed label not showing in the security related MR widget

Why are we doing this work

There is an issue with the Dismissed label as part of the MR widget. As far as I could understand, there is a silent exception as vulnerability.finding_uuid will be always undefined here. From what I was able to investigate, we can either replace it with vulnerability.uuid or expose finding_uuid as part of FindingEntity.

Steps to reproduce

  1. Create a MR with new vulnerabilities
  2. Dismiss one of the vulnerabilities via the security widget
  3. Reload the page

Note: It needs to be a new vulnerability (in which finding_uuid isn't nil).

Current behaviour:

Screen_Shot_2023-01-16_at_5.46.41_PM

Expected behaviour:

Screen_Shot_2023-01-16_at_5.29.54_PM

Relevant links

Non-functional requirements

  • Documentation:
  • Feature flag:
  • Performance:
  • Testing:

Implementation plan

Verification steps

Edited by Zamir Martins