Render scans that don't have a DAST profile anymore
What does this MR do and why?
This fixes a bug that would prevent the on-demand scans from loading if it contained scans that don't have a dastProfile
attached anymore. For those scans, we render an empty Name
and Target
cell.
Note: This does not contain a changelog entry because it fixes a bug that hasn't been released yet.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Run at least one on-demand scan then delete the corresponding
dastProfile
. - Visit the on-demand scans index page at
/:namespace/:project/-/on_demand_scans
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #347381 (closed)
Edited by Paul Gascou-Vaillancourt