feat: support running the analysis with SBOM and the main software component with no repository#165
Merged
tromai merged 13 commits intoOct 4, 2023
Conversation
e87456c to
a7aa5ec
Compare
Contributor
Author
|
This rebase is to get the changes for #125 |
f6700b6 to
8c221a8
Compare
8c221a8 to
184ecfa
Compare
tromai
commented
Jul 26, 2023
tromai
commented
Jul 26, 2023
5b9a924 to
0c12aca
Compare
0c12aca to
19ba5bb
Compare
added 3 commits
September 22, 2023 17:18
…and handle everything in macaron.html Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
… software component if no repository is found Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
…ssed into the template and the dependency section Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
added 6 commits
September 22, 2023 17:22
…for the main software component but an SBOM is provided
Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
…component without a repository and an sbom Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
…nnot find the repository for it Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
…en there is no passing check Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
…ain software component's repository available
0caee7d to
f190924
Compare
These changes were to separate the resolving dependencies using SBOM generator and resolving dependencies from SBOM files. These changes were necessary for this PR back when I first work on it (before the merging of #388). However, after #388 is merged and further discussion, this change is no longer necessary. Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
nicallen
requested changes
Sep 26, 2023
added 3 commits
September 28, 2023 15:25
…o target software component Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
nicallen
approved these changes
Sep 28, 2023
behnazh-w
reviewed
Oct 3, 2023
behnazh-w
approved these changes
Oct 4, 2023
art1f1c3R
pushed a commit
that referenced
this pull request
Nov 29, 2024
…mponent with no repository (#165) Core engine: * For all software components (main target and dependencies), the analysis will not be skipped if the repository URL is not found. * Collect and run the analysis for dependencies from the SBOM (if provided) even when the repository URL is not available for the main target. HTML reports: * Display a small message in the Target Information section when the repository is not available. * Collapse the check report table when all checks fail. Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
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.
Closes #157
Feature Description
We want to allow the use case of: running the analysis on the dependencies listed in an SBOM generated for an artifact while the repository URL for that artifact is not available (e.g. the repository is in a private domain that Macaron cannot access).
Example usage:
Current state
--sbom-path) and collecting dependencies by running the SBOM generator are bundled in the same location (see here) and this method is only run if the repository for the main software component is found (see here).Expected behavior
Core engine
-purl), it will still collect the dependencies from the SBOM and run the analysis for those dependencies.HTML reports
Target Informationsection to notify the users.Example report