Skip to content
Snippets Groups Projects

Change vulnerabilityFindingDismiss mutation to use uuid argument

What does this MR do and why?

This MR adds the uuid argument for the vulnerabilityFindingDismiss mutation as the preferred search parameter and deprecates the use of id

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

  1. Run a pipeline to generate vulnerabilities
  2. Get a finding uuid
query {
  project(fullPath:"<project path>") {
    pipelines(first:1) {
      nodes {
        securityReportFindings(first:1) {
          nodes {
            uuid
          }
        }
      }
    }
  }
}
mutation {
  vulnerabilityFindingDismiss(input:{uuid:"<finding uuid>"}) {
    finding {
      title
    }
  }
}

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

Edited by Jonathan Schafer

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading