-
Notifications
You must be signed in to change notification settings - Fork 180
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
Included a Handler for CycloneDX Version Ranges #1789
base: main
Are you sure you want to change the base?
Included a Handler for CycloneDX Version Ranges #1789
Conversation
bd89b6c
to
0d00394
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nathannaveen looks like one of the tests is failing: https://github.com/guacsec/guac/actions/runs/8437894287/job/23108722974?pr=1789#step:7:156
23e39ec
to
f234758
Compare
@pxp928 Thanks, I fixed the test! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of changes/questions. Were you able to test this with any examples?
a56894a
to
a06a21f
Compare
* Included a version range parser for CycloneDX Signed-off-by: nathannaveen <[email protected]>
Signed-off-by: nathannaveen <[email protected]>
Signed-off-by: nathannaveen <[email protected]>
Signed-off-by: nathannaveen <[email protected]>
Signed-off-by: nathannaveen <[email protected]>
Signed-off-by: nathannaveen <[email protected]>
5a0516e
to
b5bec6a
Compare
Signed-off-by: nathannaveen <[email protected]>
b5bec6a
to
c35c59f
Compare
@@ -85,7 +87,9 @@ var rootCmd = &cobra.Command{ | |||
Use: "ingest", | |||
Short: "example ingestor for ingesting a set of example documents and populating a graph for GUAC", | |||
Run: func(cmd *cobra.Command, args []string) { | |||
ingestExample(cmd, args) | |||
httpClient := http.Client{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we will need to refactor this. We don't want to be querying graphQL on ingestion. Will need to re-work this after some thought.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will make it an issue to discuss during the next maintainer meeting.
@@ -448,33 +461,186 @@ func (c *cyclonedxParser) getAffectedPackages(ctx context.Context, vulnInput *mo | |||
|
|||
var viList []assembler.VexIngest | |||
for _, affect := range *affectsObj.Range { | |||
// TODO: Handle package range versions (see - https://github.com/CycloneDX/bom-examples/blob/master/VEX/CISA-Use-Cases/Case-8/vex.json#L42) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SantiagoTorres @arorasoham9 something to check against the identifier model of how to express such version ranges for CVEs and VEX.
This pull request has been automatically marked as stale because it has not had recent activity (60 days of inactivity). |
Ping to keep this open. This needs to be discussed during the maintainer meeting to determine a path fwd. |
ping for stale bot |
This pull request has been automatically marked as stale because it has not had recent activity (60 days of inactivity). |
@nathannaveen are you blocked on Maintainer discussion here? If so, I'll put it on Monday's agenda so we can move this forward. |
@funnelfiasco, I am blocked on the maintainer discussion. Thank you for suggesting putting it on the agenda, it would be great if we can get this merged in! |
@nathannaveen based on discussion at the maintainer call the high level plan to resolve this PR is:
|
Description of the PR
model.Packages
.PR Checklist
-s
flag togit commit
.make generate
has been runmake generate
has been runcollectsub
protobuf has been changed,make proto
has been run