Skip to content

Fix giant headers for Explain Vulnerability

What does this MR do and why?

This MR makes the AI response headers smaller in the Explain Vulnerability drawer.

Before After
ksnip_20230830-010344 ksnip_20230830-010407

How to set up and validate locally

  1. Clone https://gitlab.com/gitlab-org/security-products/tests/webgoat.net
  2. Run a pipeline against master.
  3. Go to the vulnerability report and click on any vulnerability.
  4. Click on Try it out in the Explain Vulnerability card.
  5. Verify that the headers in the AI response are reasonably sized.

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

Merge request reports