Skip to content

Preload vulnerability statistics when loading vulnerable projects

What does this MR do?

Related to #233536 (closed)

In other MRs related to #233536 (closed) we are loading new data from GraphQL API. We have noticed that these queries are making N+1 queries in database, to avoid that we need to preload that data.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Alan (Maciej) Paruszewski

Merge request reports