Change pipeline vulnerability reports to use new vulnerability report component
NOTE: This issue requires that #338790 (closed) be completed first.
Now that we have a reusable vulnerability report component, we need to change group, instance, project, and pipeline vulnerability reports to use it.
Implementation plan
Convert the following components to use the new vulnerability report component:
-
ee/app/assets/javascripts/security_dashboard/components/pipeline/pipeline_findings.vue
How to verify
-
Clone a project that has vulnerability scanners configured, for example this one: https://gitlab.com/gitlab-examples/security/security-reports.git
-
Run a pipeline against the master branch.
-
Go to the pipeline details page and click on the security tab. Verify that you see the old Vuex version of the report, which looks like this:
-
Enable the
:pipeline_security_dashboard_graphql
feature flag. -
Refresh the page. It may take a few refreshes before the feature flag change is applied. Verify that you see the new GraphQL version of the report, which looks like this: