Add or delete comment through GraphQL
What does this MR do and why?
Since we are deprecating vulnerability feedbacks, we now need to use GraphQL to mutate the state comment of a finding. This MR adds that functionality.
Screenshots or screen recordings
Adding a state comment:
Editing a state comment:
Deleting a state comment:
How to set up and validate locally
- Fork https://gitlab.com/gitlab-examples/security/security-reports/
- Enable feature flag:
refactor_security_extension
- Create an MR
- Go the MR page and try adding, deleting, editing a state comment
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)