DAST Site validation - Add http-header validation method - Frontend
- parent issue: #249240 (closed)
Summary
This issue is for adding the http-header
validation method to the dast-site-validation component.
Design
- Site Validation design issue
- Creation site profile flow:
Screen
Implementation Plan
-
Add HTTP_HEADER
method toee/app/assets/javascripts/dast_site_profiles_form/constants.js
-
Change the value of the validation-strategy constants to lower case (see discussion here: #249240 (comment 417200782)) -
Render code
block with correct stylings (black bg, white font) and copy-to-clipboard button if http-header method has been selected -
Edit mode: Make sure the correct method has been selected (TBD: Check if we need to add the validation
field tohttps://gitlab.com/gitlab-org/gitlab/-/issues/233020#query-site-validation-status
- also depending on the outcome of this discussion: #247452 (comment 416342833)) -
Add specs
Edited by David Pisek