-
-
Notifications
You must be signed in to change notification settings - Fork 221
Attempt to generate patched_versions
from GHSA firstPatchedVersion
.
#641
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
Conversation
@jasnow since I don't have the GitHub sync OAuth token setup locally, could you test this branch and see if it can correctly generate |
|
@jasnow interesting, looks like not all |
Noticed that you use double quotes were used inside "[]"s elsewhere in the script. |
I will start testing this PR today. Here are some of my test cases: https://gist.github.com/jasnow/7c99f4d9e8b838293ba407af373141af Probably need a supported grammar for "unaffected_versions:" and "patched_versions:" and |
Results of 1st gist testcase (after post-processing): https://gist.github.com/jasnow/000dd1ee3c8eedd6b78bb7b7dab51cdb
Extra
I will stop at the 1st gist testcase for now. |
baf6af0
to
88412f1
Compare
Attempt to automatically generate the
patched_versions
from the GHSAvulnerabilities
/firstPatchedVersion
/identiifer
information.