Skip to content

Display the Security Reports content using widget components

Savas Vedova requested to merge 376411-display-security-mr-widget-content into master

What does this MR do and why?

Displays the MR widget content when expanded.

This MR still lacks some features, such as action buttons and clicking on the vulnerability should open a modal with the finding data. These features will be implemented in future MRs.

Screenshots or screen recordings

image

How to set up and validate locally

Requirements:

  1. You'll need an EE License
  2. You'll need to have runners enabled (See $2408961 for setting up a runner)

Steps:

  1. Enable :refactor_security_extension to turn this feature on.
echo "Feature.enable(:refactor_security_extension)" | rails c
  1. Import https://gitlab.com/gitlab-examples/security/security-reports
  2. Create a new MR by editing a file
  3. Check the MR Security Reports content

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #376411 (closed)

Edited by Savas Vedova

Merge request reports