Skip to content

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

Screen_Shot_2022-08-25_at_3.19.04_pm

How to set up and validate locally

  1. 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
  2. Run echo "Feature.enable(:pipeline_security_dashboard_graphql)" | rails c
  3. Go to a pipeline's security tab and click on a finding
  4. 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.

Related to #371314 (closed)

Edited by David Pisek

Merge request reports

Loading