Use `DastProfilesSelector` component in On-demand scans form
Epic - &5981 (closed)
Context
We abstracted out DAST Site & Scanner Profile Selectors to a dedicated component in #330726 (closed).
This allowed us to render both selectors in DAST Configuration UI, and also abstracted features like auto-selection with query params, etc.
Proposal
This issue is to refactor and reuse the DastProfilesSelector
component with On-demand scans form. It should remove a lot of ~"technical debt" and improves reusability.
Implementation Plan
-
ee/app/assets/javascripts/on_demand_scans/components/on_demand_scans_form.vue
-
Remove profile selector logics -
Add DastProfilesSelector
component
-
-
ee/app/assets/javascripts/on_demand_scans/settings.js
-
Remove field
property as it's no longer used
-
-
Specs -
Remove duplicated specs -
Add assertions for wiring up DastProfilesSelector
-
Edited by Dheeraj Joshi