Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET /CVE-id endpoint fails for very large datasets #741

Closed
2 tasks
jdaigneau5 opened this issue Jun 24, 2022 · 1 comment
Closed
2 tasks

GET /CVE-id endpoint fails for very large datasets #741

jdaigneau5 opened this issue Jun 24, 2022 · 1 comment
Assignees

Comments

@jdaigneau5
Copy link
Collaborator

Summary

Currently, the GET /CVE-id endpoint fails for large datasets. This is was first seen on DEV, which had over 100k CVE-ids. This is primarily an issue for the Secretariat user, as that user would see all CVE-Ids while other users would only be returned their org's CVE-ids.

Mongo Log Error:
MicrosoftTeams-image

Definition of Done

  • Address the memory limit for the $lookup call in our CVE-id aggregation function
  • Ensure that all CVE-ids get returned from this endpoint in a manageable way (i.e. paging, chunks, etc)
@jdaigneau5
Copy link
Collaborator Author

This will only occur for the Secretariat, because other users can only pull a subset of cve-ids at one time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant