Automatically select DAST profile
What does this MR do?
When there is only a single scanner or site profile available to be selected in the on-demand scan's selectors, that profile will be automatically selected to save the user a few clicks.
How to test this?
- Make sure you don't have more than one DAST scanner and/or site profile.
- Open the on-demand scans form at
:group/:project/-/security/configuration
. - The only available profile should be automatically selected in the corresponding dropdown(s).
Screenshots (strongly suggested)
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - [-] Documentation (if required)
-
Code review guidelines - [-] Merge request performance guidelines
-
Style guides - [-] Database guides
-
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
- [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Related to #246892 (closed)
Edited by Paul Gascou-Vaillancourt