Skip to content

Add Profile Selection to DAST Configuration Form

Dheeraj Joshi requested to merge djadmin-dast-settings-save into master

Related issues #330720 (closed), #330726 (closed)

What does this MR do?

This MR adds option to select Scanner & Site Profiles in DAST Security Configuration UI.

  • Abstract out profile selectors logics from On-demand scans form.
  • Creates a new component DastProfilesSelector for reusability

Follow-up tasks

Please note that these changes are behind feature flag dast_configuration_ui and documentation is being added via !63849 (merged).

Screenshots (strongly suggested)

with profiles with no profiles
image image
selected profile selected conflicting profile
image image

Error

image

How to test this

  1. Enable the feature flag.
echo "Feature.enable(:dast_configuration_ui)" | rails c
  1. Navigate to a project's Security Configuration page at /:namespace/:project/-/security/configuration.
    • You should see the Enable link in the DAST section.
    • Clicking on the link should take you to the empty DAST Settings page

Does this MR meet the acceptance criteria?

Conformity

Edited by Dheeraj Joshi

Merge request reports