Skip to content

[FE] Integrate with API data for vulnerability details page

Requirements

  • Connect UI with the "vulnerability API" that will provide:
    • is dependency transitive
    • list of dependency paths

🏗️ Proposed Response

TBD

ℹ️ Current Structure

The vulnerability data is currently passed into the FE via the data-vulnerability attribute here:

ee/app/views/projects/security/vulnerabilities/show.html.haml

#js-vulnerability-main{ data: vulnerability_details_app_data(@vulnerability, @pipeline, @project) }

Ex: https://gitlab.com/gitlab-org/gitlab-ui/-/security/vulnerabilities/112113262

image

Edited by Samantha Ming