Closed
Conversation
Closed
6eed352 to
375613a
Compare
825a363 to
375613a
Compare
375613a to
bdd67ea
Compare
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
bdd67ea to
9d6b2ca
Compare
TG1999
requested changes
Sep 5, 2022
|
|
||
|
|
||
| def generate_package_advisory_url(purl): | ||
| url_package_advisories = "https://security.snyk.io/package/{ecosystem}/{package}" |
| ) | ||
|
|
||
|
|
||
| def extract_html_json_advisories(package_advisories): |
| return vulnerablity | ||
|
|
||
|
|
||
| def parse_html_advisory(advisory_html, snyk_id, affected) -> VendorData: |
| "span", class_="vue--chip vulnerable-versions__chip vue--chip--default" | ||
| ) | ||
| affected_versions = [vers.text.strip() for vers in ranges] | ||
| vulnerablity[anchor["href"].rsplit("/", 1)[-1]] = affected_versions |
Contributor
There was a problem hiding this comment.
Write a function for this and write some doctests for it
| ) | ||
|
|
||
|
|
||
| def is_purl_in_affected(version, affected): |
9 tasks
Member
|
Merged in #1009 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #834