Add vulnerability details GraphQL component
What does this MR do and why?
It adds a new component for rendering the fields of a given vulnerability (or pipeline finding), coming from GraphQL:
- Component
- Specs
- Storybook entry
- Use component within the GraphQL pipeline security tab's modal (currently behind feature flag)
Screenshots or screen recordings
How to set up and validate locally
-
yarn storybook:start
and browse to http://localhost:9002/?path=/story/ee-security-dashboard-components-shared-vulnerability-details-graphql-vue--default to see the component in action - Run echo "Feature.enable(:pipeline_security_dashboard_graphql)" | rails c
- Go to a pipeline's security tab and click on a finding
- Check that it renders the description
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 #371314 (closed)
Edited by David Pisek