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 |
---|
after |
---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Select project with DAST configuration disabled
- Go to
URL/root/
PROJECT_ID/-/security/configuration/dast - Label should be disabled
- Open sidebar and create at least 2 scanner and 2 site profiles (only one will be selected by default)
- select scanner profile and site profile
- Copy code snippet and commit changes to
.gitlab.yml
- Go back to
URL/root/
PROJECT_ID/-/security/configuration/dast - 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #365407 (closed)
Edited by Artur Fedorov