Implement DAST scanned resources modal in the pipeline view
This follows up on the work that was done in #197115 (closed)
Problem to solve
When viewing a pipeline's security report summary, it is possible to see how many URLs got scanner by DAST, but not to see any details about those URLs.
Proposal
According to the designs, the scanned URLs count should be a link that would open a modal containing a list of scanned URLs (up to a maximum of 20 URLs) and a download button to retrieve the exhaustive URLs list.
Details show | After user click on "hide" | User click on the URL |
---|---|---|
![]() |
![]() |
![]() |
The modal will be implemented in the MR view as part of #220405 (closed).
Once that's done, we'll be ready to re-use the same modal in the pipeline view.
Implementation plan
-
Update the GraphQL query in ee/app/assets/javascripts/security_dashboard/graphql/pipeline_security_report_summary.query.graphql
to retrieve 20 scanned URLs and the download link. -
Include the shared modal component and provide it with the data retrieved at the previous step. -
Make the scanned resources count clickable in the report summary. Clicking on it should open the modal.
/cc @nmccorrison @djadmin
Edited by Dheeraj Joshi