-
Notifications
You must be signed in to change notification settings - Fork 201
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
Fix data migration problems #818
Milestone
Comments
Previous data migration fix up cpe urls, but rerun of the importers somehow recreated CPEs with or without the URL and we ended up with duplicate cpe entries as before #785 |
TG1999
added a commit
to TG1999/vulnerablecode
that referenced
this issue
Aug 5, 2022
Reference: aboutcode-org#818 Signed-off-by: Tushar Goel <[email protected]>
Closed
TG1999
added a commit
that referenced
this issue
Aug 5, 2022
Delete references to CPEs with empty URLs #818
closed by #827 |
Based on a check the issue still exists: {
"reference_url": "",
"reference_id": "cpe:2.3:a:lxml:lxml:*:*:*:*:*:*:*:*",
"scores": [],
"url": ""
},
{
"reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:lxml:lxml:*:*:*:*:*:*:*:*",
"reference_id": "cpe:2.3:a:lxml:lxml:*:*:*:*:*:*:*:*",
"scores": [],
"url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:lxml:lxml:*:*:*:*:*:*:*:*"
}, |
I suggest two approaches:
|
pombredanne
added a commit
that referenced
this issue
Sep 9, 2022
Also validate full_clean in the improve_runner to ensure we do not have empty, invalid or blank URLs. Refactor code to add new Manager to VulnerabilityReference and Package Add convenience method accordingly to create Pckage from purls Reference: #818 Co-authored-by: Tushar Goel <[email protected]> Signed-off-by: Philippe Ombredanne <[email protected]>
Fixed in 6d379d0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #812
@TG1999 can you further elaborate on this?
The text was updated successfully, but these errors were encountered: