-
Notifications
You must be signed in to change notification settings - Fork 230
Evolve logics to deal with duplicates in data. #28
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
Labels
Comments
haikoschol
added a commit
to haikoschol/vulnerablecode
that referenced
this issue
Nov 4, 2019
This change adds the field cve_id to the Vulnerability model and based on that, improves the data import for Arch Linux. The improvements made have been discussed in issue aboutcode-org#20: - For each CVE in a given AVG, exactly one Vulnerability is stored - For each CVE, one VulnerabilityReference to its page on security.archlinux.org is stored - Each ASA mentioned in an AVG is stored as a VulnerabilityReference Since there is no production deployment of vulnerablecode yet, I took the opportunity of changing the models to remove all migrations and create a new one that creates the whole schema. Since the cve_id field on Vulnerability has a unique constraint set, I needed to make some changes to the import code that belong to issue aboutcode-org#28. I kept them minimal however so aboutcode-org#28 is still open and needs to be addressed later. closes aboutcode-org#20 Signed-off-by: Haiko Schol <[email protected]>
haikoschol
added a commit
to haikoschol/vulnerablecode
that referenced
this issue
Nov 6, 2019
This change adds the field cve_id to the Vulnerability model and based on that, improves the data import for Arch Linux. The improvements made have been discussed in issue aboutcode-org#20: - For each CVE in a given AVG, exactly one Vulnerability is stored - For each CVE, one VulnerabilityReference to its page on security.archlinux.org is stored - Each ASA mentioned in an AVG is stored as a VulnerabilityReference Since there is no production deployment of vulnerablecode yet, I took the opportunity of changing the models to remove all migrations and create a new one that creates the whole schema. Since the cve_id field on Vulnerability has a unique constraint set, I needed to make some changes to the import code that belong to issue aboutcode-org#28. I kept them minimal however so aboutcode-org#28 is still open and needs to be addressed later. closes aboutcode-org#20 Signed-off-by: Haiko Schol <[email protected]>
haikoschol
added a commit
to haikoschol/vulnerablecode
that referenced
this issue
Nov 6, 2019
This change adds the field cve_id to the Vulnerability model and based on that, improves the data import for Arch Linux. The improvements made have been discussed in issue aboutcode-org#20: - For each CVE in a given AVG, exactly one Vulnerability is stored - For each CVE, one VulnerabilityReference to its page on security.archlinux.org is stored - Each ASA mentioned in an AVG is stored as a VulnerabilityReference Since there is no production deployment of vulnerablecode yet, I took the opportunity of changing the models to remove all migrations and create a new one that creates the whole schema. Since the cve_id field on Vulnerability has a unique constraint set, I needed to make some changes to the import code that belong to issue aboutcode-org#28. I kept them minimal however so aboutcode-org#28 is still open and needs to be addressed later. closes aboutcode-org#20 Signed-off-by: Haiko Schol <[email protected]>
The new models and import process fix this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example of:
GET /vulncode_app/data/prototypejs
The text was updated successfully, but these errors were encountered: