Migrate endpoint for a group's vulnerable projects to GraphQL and standalone vulnerabilities
Summary
For the sake of velocity, we implemented the vulnerable projects feature on the group security dashboard using an internal API endpoint instead of GraphQL. Since there is an initiative to move all endpoints to GraphQL, let's make that change here.
UPDATE!
At this point, the dashboards now use standalone vulnerabilities. When this endpoint is migrated to GraphQL, it should also be updated to calculate vulnerable projects using standalone vulnerabilities instead of vulnerability findings.
Improvements
Because of its various benefits, we're using GraphQL first.
Risks
Changing the endpoint to GraphQL will require that the format of the request made by the frontend also be updated. Let's make sure these changes aren't made in a way that leaves the frontend calling to backend that doesn't understand it.
Involved components
Groups::Security::VulnerableProjectsController