Allow filtering Vulnerabilties by dismissal reason
What does this MR do and why?
Allow filtering Vulnerabilties by dismissal reason in GraphQL
Database review
Cold cache: https://postgres.ai/console/gitlab/gitlab-production-tunnel-pg12/sessions/20720/commands/67982
Warm cache: https://console.postgres.ai/gitlab/gitlab-production-tunnel-pg12/sessions/20720/commands/67983
How to set up and validate locally
- Make sure you have some Vulnerabilities in a project
- Dismiss some of them with different reasons
- Execute the following GraphQL query
query {
project(fullPath: "<PROJECT PATH HERE>") {
vulnerabilities(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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #411570 (closed)
Edited by Michał Zając