-
Notifications
You must be signed in to change notification settings - Fork 90
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
Get ancestor for displaying dependency tree in relationships #927
Get ancestor for displaying dependency tree in relationships #927
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #927 +/- ##
=====================================
Coverage 75.3% 75.3%
=====================================
Files 236 236
Lines 10325 10342 +17
Branches 1022 1025 +3
=====================================
+ Hits 7775 7789 +14
- Misses 2267 2269 +2
- Partials 283 284 +1 ☔ View full report in Codecov by Sentry. |
@tarun06 What does this look like in an example ScanManifest output? I'm worried about this change's impact on downstream dependencies |
ScanManifest.json yes, @cobya it does change topLevelReferrers.. Sharing scanmanifest for reference |
@tarun06 would you be able to come to Community Meeting 01-03-2024 to discuss? I'd like to get some more context on the change |
Sure.. Thank you |
@cobya i joned the community meeting now.. I am 1 hour late thinking the meeting is at 11:30 IST, Appologies for that.. Let me know if i can answer to queries here. :) |
Sure, a couple of things then so we can do this async:
|
The SBOM tool creates a record of the dependency hierarchy for each package, assigning a unique identifier to each. Developers can easily identify how a transitive dependency is included in their application. Also for fixing security vulnerabilities, teams can identify which package they need to upgrade to resolve the vulnerability on a transitive dependency. example -> SPDXRef-RootPackage -> Microsoft.EntityFrameworkCore -> Microsoft.Extensions.Caching.Memory ->Microsoft.Extensions.Caching.Abstractions -> Microsoft.Extensions.Primitives -> System.Runtime.CompilerServices.Unsafe
We can create a new field as well.. I opted for "TopLevelReferrers" as I believed it closely resembled its intended meaning. please suggest any name if you have it in mind. Thanks |
taging @cobya |
@tarun06 I think we should keep |
7507a13
to
689d688
Compare
@cobya i have used AncestralReferrers instead of TopLevelReferrers .. Please review. |
689d688
to
0433c76
Compare
This pr is required by microsoft/sbom-tool#457 which display Hierarchy of package dependency in relatrionship section of SBOM