-
Notifications
You must be signed in to change notification settings - Fork 1
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
DRAFT: Simple Vulnerabilities API #4
base: vulns-api
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some little nits
FWIW, have you considered making this a more general mechanism (eg: advisories instead of vulnerabilities)? x-ref https://discuss.python.org/t/adding-a-mechanism-to-deprecate-a-published-project/13937/4?u=pradyunsg and Footnotes
|
Probably a good item for the FAQ. Basically: yes, but the OSV format doesn't support it and there is no schema like OSV that exists that we can point to that is as widely accepted by the ecosystem, so I'd be essentially making it up here, which seems wrong. I think if that were to happen at some point in the future, it would be straightforward to add an |
Co-authored-by: Hugo van Kemenade <[email protected]>
My 0.02c would be for a separate key, under the theory that advisories might differ substantially from vulnerabilities in both ID format and layout (since there's no OSV-like spec for them yet). But that's admittedly small and unlikely (since advisories should closely resemble vuln reports in form) 🙂 |
I'm not an author so I'll defer to y’all on picking the scope of this. This was a scope-creep/improvement that I could spot almost immediately during my first read, so that's why I asked. This PEP's eventual goal of moving vulnerability data into a standardised API is worthwhile on its own though. :) |
I like the idea of future-proofing the new keys in some form like -- I'm spending mental energy on https://discuss.python.org/t/python-packaging-strategy-discussion-part-1/22420 right now, so sorry but that's literally all I'm gonna say for now. 😓 |
I gave this some more thought, and renaming everything to If we do need to mitigate a potential format difference, we could have each advisory body contains a |
This PR is for accepting comments/edits/suggestions on the PEP draft prior to submitting it to python/peps.