DAST On-Demand Scan - View Scans
<!-- triage-serverless v3 PLEASE DO NOT REMOVE THIS SECTION --> *This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.* <!-- triage-serverless v3 PLEASE DO NOT REMOVE THIS SECTION --> ### Problem to solve This is the View Scans Scan part of https://gitlab.com/gitlab-org/gitlab/-/issues/216876. ### Proposal After the user initiates a scan as part of https://gitlab.com/gitlab-org/gitlab/-/issues/218465, the user should be directed to the following screens. These screens will show the user their specific pipelines/scans. ### Further details 🎨 Design issue: https://gitlab.com/gitlab-org/gitlab/-/issues/339993/ | | Pipeline list page | Pipeline list page | Pipeline detail page-scan finished | | --- | ------------------ | ------------------ | ---------------------------------- | | MVC | ![image](/uploads/85a721a4dbb3eee9e42824f921dcc5c9/image.png) | ![Pipeline-list](/uploads/2fdf66c55810dfb2a08af83c43fbb53a/Pipeline-list.png) | ![Pipeline-detail-page](/uploads/1a1121518bb3423a5a529dfb5cd66a41/Pipeline-detail-page.png) | | Newest design | ![image](/uploads/946a3758be2155cf63695b14b87705d4/image.png) | | | Other resources: * Figma: https://www.figma.com/proto/7CaJqOTOpPEOzkYkoU5bs5/DAST-Ondemand-Profile?node-id=188%3A7612&scaling=min-zoom ## Implementation plan gitlab~2492649 - [ ] Provide a GraphQL query for retrieving the list of on-demand scans for a given project. - [ ] If there are no pipelines yet, the response should make it obvious. - [ ] If there are pipelines, each item in the response should include: - [ ] The pipelines status (pause, pending, running, succeeded, failed) - [ ] The pipeline ID - [ ] The target site - [ ] A link to the pipeline's details page - [ ] The results should be paginated **question:** should there be a way to notify the app that there aren't any pipelines _before_ it loads, by passing it a prop from the HAML? This would let us show the initial view faster, and we could abort the initial GraphQL request. | Expected to ship in | Issue | Description | Type | | ------------------- | ---------------------------------------------------- | ------------------------------------------------------------------------- | ----------------------------- | | %14.5 | https://gitlab.com/gitlab-org/gitlab/-/issues/342477 | Extends `project.dastProfiles` to filter by scheduled | gitlab~2492649 | | %14.4 | https://gitlab.com/gitlab-org/gitlab/-/issues/338645 | Extend the pipelines GraphQL endpoint to allow for filtering by `source`. | gitlab~2492649 | | %14.4 | https://gitlab.com/gitlab-org/gitlab/-/issues/341356 | Create the `:/namespace/:project/on_demand_scans` page. | gitlab~3412464 | | %14.4 | https://gitlab.com/gitlab-org/gitlab/-/issues/341359 | Create the empty tabs. | gitlab~3412464 | | %14.5 | https://gitlab.com/gitlab-org/gitlab/-/issues/341364 | Implement the `All` tab. | gitlab~3412464 | | %14.5 | https://gitlab.com/gitlab-org/gitlab/-/issues/340388 | Enable the `dast_view_scans` feature flag. | gitlab~2492649 gitlab~3412464 | | %14.5 | https://gitlab.com/gitlab-org/gitlab/-/issues/341370 | Truncate long table values. | gitlab~3412464 | | %14.6 | https://gitlab.com/gitlab-org/gitlab/-/issues/341373 | Implement `Running` and `Finished` tabs. | gitlab~3412464 | | %14.6 | https://gitlab.com/gitlab-org/gitlab/-/issues/341374 | Implement the `Scheduled` tab. | gitlab~3412464 | | %14.6 | https://gitlab.com/gitlab-org/gitlab/-/issues/341380 | Implement all tabs' actions. | gitlab~3412464 | | %14.7 | https://gitlab.com/gitlab-org/gitlab/-/issues/341379 | Implement the `Saved` tab. | gitlab~3412464 | | %14.7 | https://gitlab.com/gitlab-org/gitlab/-/issues/342930 | Ensure navigation consistency by reviewing breadcrumbs and redirections. | gitlab~3412464 | | %14.7 | https://gitlab.com/gitlab-org/gitlab/-/issues/341382 | Remove the `Saved Scans` tab from DAST configuration page. | gitlab~3412464 | | %14.7 | https://gitlab.com/gitlab-org/gitlab/-/issues/350321 | Update documentation | gitlab~2278655 |
epic