Display DAST additional variables on site profile cards
What does this MR do and why?
This MR adds the optionalVariables
field to the DastSiteProfiles
query and displays the keys and values of the variables it retrieves in the site_profile_summary
cards (when the dast_ui_additional_variables
feature flag is enabled).
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
- issue: [Frontend] Update profile cards to display vari... (#506039)
- epic: On-demand DAST Configuration Parity (&16057)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After |
---|---|
no additional variables shown |
additional variables shown in site profile cards |
Screen_Recording_2025-01-03_at_15.06.20 | Screen_Recording_2025-01-07_at_21.10.24 |
tooltip: |
How to set up and validate locally
- enable the feature flag:
echo "Feature.enable(:dast_ui_additional_variables)" | gdk rails c
- create a new site profile with additional variables (http://gdk.test:3000/flightjs/Flight/-/security/configuration/profile_library/dast_site_profiles/new)
- check that the additional variables appear on the site profile cards
Edited by Miranda Fluharty