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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Relation Between vulnerability and cve Tables #2522

Open
Matthew-Grayson opened this issue Feb 9, 2024 · 0 comments
Open

Create Relation Between vulnerability and cve Tables #2522

Matthew-Grayson opened this issue Feb 9, 2024 · 0 comments
Labels
Backend ASM-VDB Technical Infrastructure and Database Database Changes to table models.

Comments

@Matthew-Grayson
Copy link
Contributor

馃挕 Summary

Vulnerability has a cve field with the name of a CVE (e.g. CVE-2017-14158). Let's change to a uuid to make our db more efficient.

When coding API responses using TypeORM, joins aren't possible unless tables are related using a uuid. This means additional joins are needed in the frontend which complicates API usage.

@Matthew-Grayson Matthew-Grayson added Backend ASM-VDB Technical Infrastructure and Database Database Changes to table models. labels Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend ASM-VDB Technical Infrastructure and Database Database Changes to table models.
Projects
None yet
Development

No branches or pull requests

1 participant