Skip to content

Kerem yalcinkaya/gitlab post bulk update

Savas Vedova requested to merge KeremYalcinkaya/gitlab-Post-bulk-update into master

What does this MR do and why?

Updates the bulk status update success message. Instead of using a generic %d vulnerabilities updated we now provide a more specific message such as %d vulnerabilities set to dismissed.

Screenshots or screen recordings

bulk-update

How to set up and validate locally

You should have the runner installed in order to run the pipeline. Then using the following command you can register the runner, it guides you pretty good on how to set the runner:

$ gitlab-runner register

Once it's installed this is how I run the runner:

$ gitlab-runner --log-level debug run local-runner --config ~/.gitlab-runner/config.toml restart

After you got the runner running:

  1. Clone https://gitlab.com/gitlab-examples/security/security-reports/
  2. Run the pipeline by going into Your project > CI/CD > Pipelines
  3. Click on run pipeline for master branch
  4. Go to Security & Compliance > Vulnerability Report
  5. Select multiple vulnerabilities and change their status
  6. Check the toaster message

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 #338628 (closed)

Edited by Savas Vedova

Merge request reports