Skip to content

Add detected note to vulnerability details page

What does this MR do?

When viewing a single vulnerability on the security dashboard, the vulnerability's state will be shown in the header:

ksnip_20200831-112511

When the state is Detected, the detection time and the pipeline will be shown. If the state is changed, it will instead show which user and when they changed the state:

Screenshot_from_2020-08-31_11-26-25

However, we lose information on which pipeline failed and when. This MR adds that info to the bottom of the page as a system note:

ksnip_20200831-112904

This note is always shown, even if the current vulnerability state is Detected. This implements the design from this issue: #222346 (closed)

Design

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Daniel Tian

Merge request reports