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

Support RedHat vulnerabilities #1404

Closed
fingeromer opened this issue Jun 20, 2023 · 11 comments
Closed

Support RedHat vulnerabilities #1404

fingeromer opened this issue Jun 20, 2023 · 11 comments
Assignees
Labels
datasource Requests for new data sources

Comments

@fingeromer
Copy link

Currently OSV supports a few operating system ecosystems like Debian & Alpine.
We would like to open a feature request for supporting RedHat ecosystem vulnerabilities.

Thanks, have a nice day.

@another-rex another-rex added the datasource Requests for new data sources label Jun 26, 2023
@fingeromer
Copy link
Author

Hi, is adding RedHat datasource on your roadmap?

Copy link

This issue has not had any activity for 60 days and will be automatically closed in two weeks

@github-actions github-actions bot added the stale The issue or PR is stale and pending automated closure label Jul 23, 2024
@andrewpollock
Copy link
Contributor

is adding RedHat datasource on your roadmap?

We're largely dependent on Red Hat to provide the data in the OSV format, conversations are ongoing...

/cc @mprpic

@andrewpollock andrewpollock self-assigned this Jul 26, 2024
@mprpic
Copy link

mprpic commented Jul 26, 2024

The Red Hat ecosystem is large and varied so we're still working out the kinks on how to best structure the data in the OSV schema, but it's in progress! Since there is interest in this data, I'll ask here @fingeromer, are you mostly interested in data on vulnerabilities affecting RPMs shipped on RHEL? Or other Red Hat products as well?

@oliverchang oliverchang removed the stale The issue or PR is stale and pending automated closure label Aug 12, 2024
@andrewpollock
Copy link
Contributor

andrewpollock commented Aug 26, 2024

The onboarding process is a little bit bespoke and toilsome at the moment, but something we're continuously improving on and streamlining with each new data source onboarded. I would like to get it to the point of being much more checklist/cookbook driven than it currently is. My detailed response here is an (ongoing) experiment at further process improvement and seeks to address some recent actionable feedback received by another data source onboarding. Your actionable feedback is also very welcome.

In a nutshell:

Known onboarding rough edges:

  • the format of the source{,_test}.yaml files (hopefully the example PRs plus other existing entries will make this reasonably self-evident). Specifically, FYI, the value for type corresponds with those defined at

    osv.dev/osv/models.py

    Lines 783 to 787 in 381f459

    class SourceRepositoryType(enum.IntEnum):
    """SourceRepository type."""
    GIT = 0
    BUCKET = 1
    REST_ENDPOINT = 2

@jasinner
Copy link
Contributor

We going to publish the records at a new REST endpoint https://access.redhat.com/security/data/osv/

Add Red Hat Ecosystem in osv-schema repo.

@jasinner
Copy link
Contributor

I guess we don't need to adjust purl_helpers because we include purls with our OSV records.

@andrewpollock
Copy link
Contributor

I guess we don't need to adjust purl_helpers because we include purls with our OSV records.

Correct.

@jasinner
Copy link
Contributor

Reserved an ecosystem prefix Red Hat

andrewpollock added a commit to ossf/osv-schema that referenced this issue Aug 28, 2024
Add the `Red Hat` ecosystem, see
google/osv.dev#1404

---------

Signed-off-by: Jason Shepherd <jshepher@redhat.com>
Signed-off-by: Andrew Pollock <andrewpollock@users.noreply.github.com>
Co-authored-by: Andrew Pollock <andrewpollock@users.noreply.github.com>
andrewpollock pushed a commit that referenced this issue Oct 2, 2024
Testing of Red Hat RPM security data.

See #1404
@mprpic
Copy link

mprpic commented Nov 4, 2024

Now available: https://openssf.org/blog/2024/11/01/red-hats-collaboration-with-the-openssf-and-osv-dev-yields-results-red-hat-security-data-now-available-in-the-osv-format/. I think this issue can be closed now :-)

@oliverchang
Copy link
Collaborator

Indeed! Thanks again @jasinner @mprpic for making this happen!

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
Projects
None yet
Development

No branches or pull requests

6 participants