Skip to content

Add status badge for Security CI/CD configuration page

What does this MR do and why?

This MR resolves #365407 (closed)

This MR adds DAST status header to DAST configuration page.

It can be enabled or disabled. If enabled, there will be information about last pipeline where configuration run.

Describe in detail what your merge request does and why.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

before
Screenshot_2022-07-26_at_14.59.30
after
Screenshot_2022-07-26_at_15.00.06

Screenshot_2022-07-26_at_15.00.14

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Select project with DAST configuration disabled
  2. Go to URL/root/PROJECT_ID/-/security/configuration/dast
  3. Label should be disabled
  4. Open sidebar and create at least 2 scanner and 2 site profiles (only one will be selected by default)
  5. select scanner profile and site profile
  6. Copy code snippet and commit changes to .gitlab.yml
  7. Go back to URL/root/PROJECT_ID/-/security/configuration/dast
  8. Label should be enabled with last pipeline information

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

Edited by Artur Fedorov

Merge request reports

Loading