Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,330
    • Merge requests 1,330
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #343469
Closed
Open
Issue created Oct 20, 2021 by Jonathan Schafer@jschafer🔴Developer0 of 4 checklist items completed0/4 checklist items

Add vulnerabilities field to project.pipeline query

Why are we doing this work

We need to align the vulnerabilities calls for pipelines to match the vulnerabilities calls for project and group. This will help the FE to have more consistent code. Currently, we have project.pipeline.securityReportFindings, but it's formatted differently than other vulnerabilities. We will create a new field that matches the output for the existing fields for project and group, but filling in data that does not exist with null. It will still use Security Findings for its response, but will format those findings like vulnerabilities.

This issue is specifically to create the new project.pipeline.vulnerabilities field. Deprecation of the project.pipeline.securityReportFindings call will be handled in #343475.

Relevant links

  • Deprecation Issue

Non-functional requirements

  • Documentation: Update GraphQL documentation
  • Testing: Add tests for new field

Implementation plan

  • backend Create new vulnerabilities field for project.pipeline. We may be able to use the same resolver as project.vulnerabilties with some modifications to account for missing fields.
  • backend Create tests
Edited Oct 20, 2021 by Jonathan Schafer
Assignee
Assign to
Time tracking