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

lib/osv: improve types (Range, Event, Severity, Credit) #63

Merged
merged 3 commits into from
Jun 22, 2023

Conversation

frasertweedale
Copy link
Collaborator

Note: several self-contained, sequential commits. Recommend to review
them in sequence.

2a81f0d (Fraser Tweedale, 8 minutes ago)
   lib/osv: add dedicated Credit type

8a6f9dd (Fraser Tweedale, 35 minutes ago)
   lib/osv: add Severity type

   Use a proper type for `"severity"` scores.  There is further work to do to
   adopt proper CVSS data types, but this change brings us closer to the OSV
   schema.

   Also add the `affected[].severity` field, which was missing.

f5d8631 (Fraser Tweedale, 28 hours ago)
   lib/osv: refine Range and Event types

   Update the `Range` and `Event` types to more accurately implement the OSV
   schema.

frasertweedale and others added 3 commits June 21, 2023 17:26
Update the `Range` and `Event` types to more accurately implement
the OSV schema.
Use a proper type for `"severity"` scores.  There is further work to
do to adopt proper CVSS data types, but this change brings us closer
to the OSV schema.

Also add the `affected[].severity` field, which was missing.
@frasertweedale frasertweedale merged commit d925cbb into haskell:main Jun 22, 2023
7 checks passed
@frasertweedale frasertweedale deleted the osv/refine-types branch June 22, 2023 00:58
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

Successfully merging this pull request may close these issues.

2 participants