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

Consider supporting embedded CPEs in package URLs #155

Open
andrewpollock opened this issue May 16, 2023 · 0 comments
Open

Consider supporting embedded CPEs in package URLs #155

andrewpollock opened this issue May 16, 2023 · 0 comments

Comments

@andrewpollock
Copy link
Collaborator

https://github.com/anchore/grype/blob/dfa540f727454da3172bc0cc5b5bc36a925bbd04/grype/pkg/purl_provider.go#L45 is doing something interesting with embedded CPE strings as part of the package URL, e.g.

https://github.com/anchore/grype/blob/dfa540f727454da3172bc0cc5b5bc36a925bbd04/grype/pkg/test-fixtures/valid-purl.txt

It might be worth considering explicitly supporting this behaviour in the OSV Schema and in OSV.dev.

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

1 participant