Skip to content

Add drawer for pre-scan verification

Artur Fedorov requested to merge 376708-pre-scan-verification-drawer into master

What does this MR do and why?

Describe in detail what your merge request does and why.

This partially MR resolves #376708 (closed)

It adds drawer initial state for DAST configuration page and On demand scans page

pre_scan_verification_configurator is a wrapper for a drawer and drawer trigger

Default trigger would be a status component but it can be any element since slot provides openDrawer method

Task/issue MR
Create feature flag / lay groundwork - #376687 (closed) !100322 (merged)
Create pre-scan verification component - #376690 (closed) !100593 (merged)
Add drawer for pre-scan verification - #376708 (closed) !100694 (merged)
Add status summary component to a drawer - #377509 (closed) !100937 (merged)
Add stepped list for pre-scan verification flow - #377854 (closed) !101257 (merged)
Add option on Scan Library page - #376705 (closed) TBD
Add Pre-scan verification column to Scan Library tab - #376692 TBD

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

after
drawer

How to set up and validate locally

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

  1. Enable flag by enabling rails console in terminal
   Feature.enable(:dast_pre_scan_verification)
  1. Go to BASE_URL/PROJECT_ID/-/on_demand_scans/new
  2. Scroll down to a bottom of form you should see new component before submit button click on verify configuration
  3. Or go to {URL}/{PROJECT_ID}/-/security/configuration/dast

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

Edited by Artur Fedorov

Merge request reports