API calls for 1st Class Vulnerabilities should be configurable per project
We need to change https://gitlab.com/gitlab-org/gitlab/-/blob/4c37f05b65e8a39d07aeafe2fafb4917846dcff5/ee/lib/api/helpers/vulnerabilities_hooks.rb#L10 so that a project can be passed in. We want to turn on the :first_class_vulnerabilities
feature flag for one project at a time. And the the vulnerability status switcher functionality (changing to 'confirmed', 'resolved', or 'dismissed') will not work one project at a time until we do so.
Currently, when trying to switch the state for the gitlab-org/gitlab
project on gitlab.com we get a 404. It is trying to hit this endpoint: https://gitlab.com/api/v4/vulnerabilities/[vulnerability-id]/confirm
Screenshot: