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

Add support for a REST API endpoint as a datasource #1235

Closed
andrewpollock opened this issue Apr 19, 2023 · 2 comments
Closed

Add support for a REST API endpoint as a datasource #1235

andrewpollock opened this issue Apr 19, 2023 · 2 comments
Labels
datasource Requests for new data sources enhancement New feature or request

Comments

@andrewpollock
Copy link
Contributor

Rocky Linux has started publishing OSV records via a REST API interface, which is not a supported consumption mechanism at present.

There's value in supporting a feed via a REST API, as this gives future data publishers more publication options than just a Git repo or a GCS bucket.

@andrewpollock andrewpollock added enhancement New feature or request datasource Requests for new data sources labels Apr 19, 2023
@oliverchang
Copy link
Collaborator

This will also be useful for curl, who are currently publishing their OSV feed at https://curl.se/docs/vuln.json

another-rex pushed a commit that referenced this issue Jan 16, 2024
As mentioned in #1235, there is a need for being able to pull data from
REST API endpoints.

Documentation changes are visible at:
https://jess-lowe.github.io/osv.dev/.
Changed files can be found at:
- https://jess-lowe.github.io/osv.dev/rest-api-contribution/
- https://jess-lowe.github.io/osv.dev/architecture/
- https://jess-lowe.github.io/osv.dev/data/

Testcases utilise a localhost instance to mock the behaviour of the
external HTTP request.
@jess-lowe
Copy link
Collaborator

Closed in #1901

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasource Requests for new data sources enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants