Skip to content
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

Alias missing from api #1461

Closed
satanshiro opened this issue Jul 12, 2023 · 1 comment
Closed

Alias missing from api #1461

satanshiro opened this issue Jul 12, 2023 · 1 comment

Comments

@satanshiro
Copy link

I'm not sure when this started but for debian ecosystems when querying against the api we don't get alias array string anymore instead there is a related one.
try curl --location 'https://api.osv.dev/v1/query' \ --header 'Content-Type: application/json' \ --data-raw '{ "package": { "purl":"pkg:deb/debian/[email protected]+deb11u4" } }'
as far as we know it's missing alias object which used to be there

@andrewpollock
Copy link
Contributor

Hi @satanshiro

This change was intentional (see #1381), we've been trying to clarify our use of alias versus related to better align with the schema, see also https://ossf.github.io/osv-schema/#aliases-field versus https://ossf.github.io/osv-schema/#related-field

Apologies for the inconvenience this one-time churn may have caused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants