Skip to content

Filter using dismissal reason

Michał Zając requested to merge 411570-filter-for-multiple-states into master

What does this MR do and why?

Filter using dismissal reason. In Allow filtering Vulnerabilties by dismissal reason (!127652 - merged) I forgot to apply the patch that actually performs the filtering

How to set up and validate locally

  1. Make sure you have some Vulnerabilities in a project
  2. Dismiss some of them with different reasons
  3. Execute the following GraphQL query
query {
  project(fullPath: "<PROJECT PATH HERE>") {
    vulnerabilities(state: [<states here>], dismissalReason: [<DISMISSAL REASONS HERE>]) {
      nodes {
        id
        state
        dismissalReason
      }
    }
  }
}

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

Edited by Michał Zając

Merge request reports