-
Notifications
You must be signed in to change notification settings - Fork 176
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
Issue 966: Extend HasSBOM to include references to included software … #1367
Conversation
ff425d1
to
028fe27
Compare
Note this PR needs discussion and further work so should not be merged at present |
One question that needs answering relates to the edges used to identify |
Cherry-pick'd 890fe58 because other PRs failing and it would fix them without having to wait for this PR to get merged. |
02b320c
to
9df7e49
Compare
@pxp928 updated to use a flattened structure. There's also an additional commit for one e2e tests, it seemed to be non-deterministic in that the versions being diffed could be in different orders. |
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.
Overall this looks great! Thanks @knrc for all the work on this!
ec50d14
to
37f2f1d
Compare
@pxp928 @mihaimaruseac I've pushed the latest version, now also including the sbom includes in the filtering. I have also updated the source ingestion so it returns all IDs, rather than just the top level, non-specific ID. I believe this is all the required functionality, let me know what you think and I can squash and remove the WIP tag if you are happy |
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.
This looks good to me! Thanks for all the work on this!
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.
Looks great! Thank you
Thanks very much. I'll squash the PR into two commits, the first for these changes and the second for the small fix to the e2e test that's also in this PR. |
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.
Wanted to recall what the decision was around having the ID list vs having the ID be part of the DependencyInputSpec, OccurrenceInputSpec, etc. , else lgtm
…(Package and Artifact), dependencies and occurrences Update package and source ingestion to return all relevant IDs to caller. Include includes in SBOM filtering Signed-off-by: Kevin Conner <kev.conner@gmail.com>
Signed-off-by: Kevin Conner <kev.conner@gmail.com>
Looks like I need to rebase again, I'll update to the latest main branch and push |
…(Package and Artifact), dependencies and occurrences
Description of the PR
Extends HasSBOM to include related packages/artifacts, dependencies and occurrences. Requires IDs to be sent for included nodes. Addresses #966, but still needs work done on backends other than
inmem
.Consider this a work in progress for now
PR Checklist
-s
flag togit commit
.make generate
has been runcollectsub
protobuf has been changed,make proto
has been run