[WIP]Add cvrf parser and import opensuse cvrf advisories - #173
Closed
sbs2001 wants to merge 9 commits into
Closed
Conversation
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
Collaborator
Author
|
https://colab.research.google.com/drive/1eLKwA5oe6pfCtKBqP672AQmWITmAKG9s here's google colab notebook to see the importer running |
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
Collaborator
Author
|
I've realized that OVAL advisories are better than CVRF advisories, because of following reason OVAL advisories have a concrete way of denoting a package's name and it's version. On the other hand CVRF advisories publish package with it's name and version in one string. So we have to do some guesswork(which no matter how accurate, is bad) to figure out what is package name and what is package version. I would rather prefer to import data from SUSE OVAL advisory than CVRF advisories. I'll leave this open in case we might need to handle CVRF advsiories(in case no other formats are available) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The cvrf parser is obtained by forking https://github.com/oasis-open/csaf-parser and trimming it down .
TODOs:
Handle the licensing. Should I add LICENSE from https://github.com/oasis-open/csaf-parser/blob/master/LICENSE to the parser directory or do something else? , @pombredanne help please
Tests! Here is some sample data which was successfully dumped in db.
sampledata.zip
I also tried this parser to get data from Red hat's cvrfs and it works, but that's not in the scope of this PR for now.
Fixes #62, addresses #44 and #41