Skip to content

Add severity field to vuln-details GraphQL component

What does this MR do and why?

It adds the "Severity" field to the newly created GraphQL-only vulnerability details component.

Screenshots or screen recordings

before after
Screen_Shot_2022-09-02_at_10.06.40_am Screen_Shot_2022-09-02_at_10.06.30_am

How to set up and validate locally

  1. Run yarn storybook:start
  2. Navigate to http://localhost:9002/?path=/story/ee-security-dashboard-components-shared-vulnerability-details-graphql-vue--default story
  3. Try out the different severity levels

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 #371722 (closed)

Edited by David Pisek

Merge request reports

Loading