Dismissing one vulnerability sometimes dismisses them all
<!---
Please read this!
Before opening a new issue, make sure to search for keywords in the issues
filtered by the "regression" or "bug" label:
- https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=regression
- https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=bug
and verify the issue you're about to submit isn't a duplicate.
--->
### Summary
When dismissing a single vulnerability the dismissal is applied to all vulnerabilities found in a pipeline. Example at https://gitlab.com/verademo/java/-/pipelines/198743067/security and attached video.
### Steps to reproduce
1. Click dismiss on a vulnerability
### Example Project
https://gitlab.com/verademo/java/-/pipelines/198743067/security
### What is the current *bug* behavior?
When dismissing a single vulnerability the dismissal is applied to all vulnerabilities found in a pipeline
### What is the expected *correct* behavior?
When dismissing a single vulnerability the dismissal is applied to that vulnerability only
### Relevant logs and/or screenshots
See video attached
### Output of checks
This bug happens on GitLab.com
### Possible fixes

issue