Generate SBOM from complete dependency graphs and license evidence - #142
Merged
Conversation
Signed-off-by: KeyffMS <124252104+KeyffMS@users.noreply.github.com>
Signed-off-by: KeyffMS <124252104+KeyffMS@users.noreply.github.com>
Signed-off-by: KeyffMS <124252104+KeyffMS@users.noreply.github.com>
Signed-off-by: KeyffMS <124252104+KeyffMS@users.noreply.github.com>
Signed-off-by: KeyffMS <124252104+KeyffMS@users.noreply.github.com>
Signed-off-by: KeyffMS <124252104+KeyffMS@users.noreply.github.com>
Signed-off-by: KeyffMS <124252104+KeyffMS@users.noreply.github.com>
Signed-off-by: KeyffMS <124252104+KeyffMS@users.noreply.github.com>
Signed-off-by: KeyffMS <124252104+KeyffMS@users.noreply.github.com>
Signed-off-by: KeyffMS <124252104+KeyffMS@users.noreply.github.com>
10 tasks
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.
What changed
project.assets.jsonlibrariesand every package dependency edge intargets;SightAdapt.exeor shipped as loose binaries;.nuspecSHA-256, declared license metadata, packaged-license hashes, repository URLs/commits and authors;LICENSE-REPORT.json,DEPENDENCIES.mdand SPDX 2.3 from one component graph;DEPENDS_ON, testTEST_DEPENDENCY_OF, buildBUILD_DEPENDENCY_OF;Root cause
The previous generator enumerated direct references, framework download dependencies and Actions, but did not traverse the complete
libraries/targetsrestore graphs. Its license result primarily repeated manually reviewed policy data, and build/test dependencies were represented as runtimeSightAdapt DEPENDS_ONrelationships.Verified result
GitHub Actions run
30541728349produced a passing schema-2 report and SPDX 2.3 document:DEPENDS_ON, 15TEST_DEPENDENCY_OF, 6BUILD_DEPENDENCY_OF, 16CONTAINS, 1DESCRIBES;7B178A42167B80F606D137A1AEEF734972A71363BB5166F4B0169761F34DFDBF;pass.The full graph found two policy corrections from exact metadata:
Microsoft.AspNetCore.App.Runtime.win-x64/8.0.29declares MIT and is application-build/restore-only, not shipped;System.Reflection.Metadata/1.6.0uses legacy license-URL metadata and is concluded as MIT through a version-specific reviewed override.The negative fixture
Unknown.Transitive/1.0.0was rejected specifically because it had no resolved license.Scope
Supply-chain inventory, license evidence, release validation and documentation only. Application behavior is unchanged.
Closes #85.