Render existing GraphQL fields in new details component
Summary
The new GraphQL-only component for rendering both vulnerability and pipeline findings needs to be able to render the existing GraphQL schema for a PipelineSecurityReportFinding
(see https://gitlab.com/-/graphql-explorer for details on the schema):
-
assets -
description -
identifiers -
links -
location -
project -
reportType -
scanner -
severity -
state -
title
Note: There is some backend WIP that is going to add more fields to the type mentioned above, but rendering those will be handled in a separate issue.
Visually it should be the same as the current vulnerability details component:
current vulnerability details |
---|
Also see the storybook page for a more interactive overview:
- Run
yarn storybook:start
- Go to http://localhost:9002/?path=/story/ee-vulnerabilities-components-vulnerability-details--default
Edited by David Pisek