generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: support running the analysis with SBOM and the main software component with no repository #165
Merged
tromai
merged 13 commits into
staging
from
157-treat-the-main-target-as-empty-if-its-not-provided-together-with-the-sbom
Oct 4, 2023
Merged
feat: support running the analysis with SBOM and the main software component with no repository #165
tromai
merged 13 commits into
staging
from
157-treat-the-main-target-as-empty-if-its-not-provided-together-with-the-sbom
Oct 4, 2023
Conversation
This file contains 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
oracle-contributor-agreement
bot
added
the
OCA Verified
All contributors have signed the Oracle Contributor Agreement.
label
Apr 17, 2023
tromai
force-pushed
the
157-treat-the-main-target-as-empty-if-its-not-provided-together-with-the-sbom
branch
from
April 19, 2023 04:46
e87456c
to
a7aa5ec
Compare
This rebase is to get the changes for #125 |
tromai
force-pushed
the
157-treat-the-main-target-as-empty-if-its-not-provided-together-with-the-sbom
branch
from
April 26, 2023 00:01
f6700b6
to
8c221a8
Compare
behnazh-w
modified the milestones:
Release v0.1.0,
Data model and policy engine ehnacements
May 29, 2023
tromai
force-pushed
the
157-treat-the-main-target-as-empty-if-its-not-provided-together-with-the-sbom
branch
from
July 26, 2023 04:19
8c221a8
to
184ecfa
Compare
tromai
commented
Jul 26, 2023
tromai
commented
Jul 26, 2023
tromai
changed the title
feat: support running the analysis using SBOM without providing the main target
feat: support running the analysis with SBOM and a software component with no repository
Sep 8, 2023
tromai
force-pushed
the
157-treat-the-main-target-as-empty-if-its-not-provided-together-with-the-sbom
branch
7 times, most recently
from
September 18, 2023 03:19
5b9a924
to
0c12aca
Compare
tromai
force-pushed
the
157-treat-the-main-target-as-empty-if-its-not-provided-together-with-the-sbom
branch
from
September 19, 2023 06:57
0c12aca
to
19ba5bb
Compare
tromai
changed the title
feat: support running the analysis with SBOM and a software component with no repository
feat: support running the analysis with SBOM and the main software component with no repository
Sep 20, 2023
…and handle everything in macaron.html Signed-off-by: Trong Nhan Mai <[email protected]>
… software component if no repository is found Signed-off-by: Trong Nhan Mai <[email protected]>
…ssed into the template and the dependency section Signed-off-by: Trong Nhan Mai <[email protected]>
…for the main software component but an SBOM is provided
Signed-off-by: Trong Nhan Mai <[email protected]>
…component without a repository and an sbom Signed-off-by: Trong Nhan Mai <[email protected]>
…nnot find the repository for it Signed-off-by: Trong Nhan Mai <[email protected]>
…en there is no passing check Signed-off-by: Trong Nhan Mai <[email protected]>
…ain software component's repository available
tromai
force-pushed
the
157-treat-the-main-target-as-empty-if-its-not-provided-together-with-the-sbom
branch
from
September 22, 2023 07:23
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 <[email protected]>
nicallen
requested changes
Sep 26, 2023
…o target software component Signed-off-by: Trong Nhan Mai <[email protected]>
Signed-off-by: Trong Nhan Mai <[email protected]>
Signed-off-by: Trong Nhan Mai <[email protected]>
nicallen
approved these changes
Sep 28, 2023
behnazh-w
reviewed
Oct 3, 2023
behnazh-w
approved these changes
Oct 4, 2023
tromai
deleted the
157-treat-the-main-target-as-empty-if-its-not-provided-together-with-the-sbom
branch
October 4, 2023 02:44
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 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
OCA Verified
All contributors have signed the Oracle Contributor Agreement.
SBOM
related to SBOM handling
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 Information
section to notify the users.Example report