Dismiss finding through GraphQL
What does this MR do and why?
Dismiss a finding through GraphQL. This work is required because lately we decided to switch to stateTransitions
and they do not contain the dismissal_feedback
id
so we have to use GraphQL to make it work.
Screenshots or screen recordings
No visual changes but here's how the process looks like:
How to set up and validate locally
- Enable feature flag:
:refactor_security_extension
- Fork https://gitlab.com/gitlab-examples/security/security-reports/
- Create an MR
- Click on a finding
- Dismiss it
It should dismiss the finding and close the modal. Opening the modal back should display the undo dismiss
button.
Refreshing the page or reopening the modal will not display the dismissal
information. That work is being captured in !114117 (merged).
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 #395618 (closed)