Add additional fields to DAST Site Profile Form
Implements #225378 (closed)
What does this MR do?
This adds new fields to DAST site profile form
- Integrate Auth related field added in !45870 (merged)
- Add Excluded URLs & Request Headers fields
- Update graphql mutations based on #225406 (closed)
- Put everything behind feature flag
Screenshots (strongly suggested)
With additional fields' FF disabled
Before | After |
---|---|
![]() |
![]() |
With additional fields' FF enabled
Initial state | When Auth is enabled |
---|---|
![]() |
![]() |
How to test this?
- Enable the feature flag:
echo "Feature.enable(:security_dast_site_profiles_additional_fields)" | rails c
- Navigate to the DAST site profile form in your GDK:
/:namespace/:project/-/security/configuration/dast_profiles/dast_site_profiles/new
- Save or update an existing profile
- Since the backend is currently not ready, the form submit will result in an error
Edited by Dheeraj Joshi