Skip to content
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

fix: unmanaged scan unknown archives #137

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

gitphill
Copy link
Contributor

Instead of skipping over unknown archives, add them to the dep-graph as unknown so that users can see those archives.

Helps users understand what has and what has not been scanned.

Screenshot 2022-09-14 at 17 32 50

Instead of skipping over unknown archives, add them to the dep-graph as unknown so that users can see those archives.

Helps users understand what has and what has not been scanned.
@gitphill gitphill self-assigned this Sep 14, 2022
@gitphill gitphill requested a review from a team as a code owner September 14, 2022 16:33
resolve({
g: 'unknown',
a: `${targetPath}:${sha1}`,
v: 'unknown',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here we might have a version or group at this point but we decide to mark both as unknown to flag that this is where we cut the transitive path because we couldn't resolve it, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't have either, marking version as 'unknown' makes the UI alert the user, marking group as unknown allows the user to search for them

@gitphill gitphill merged commit 41d2614 into master Sep 15, 2022
@gitphill gitphill deleted the fix/unmanaged-scan-unknown-archives branch September 15, 2022 10:12
@snyksec
Copy link

snyksec commented Sep 15, 2022

🎉 This PR is included in version 2.31.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

gitphill added a commit to snyk/cli that referenced this pull request Sep 29, 2022
See snyk/snyk-mvn-plugin#137

Adding warning message to indicate when projects have a dep-graph that contains packages with unknown versions (like in the Snyk UI).
ChristinaDara pushed a commit to snyk/cli that referenced this pull request Jan 23, 2023
See snyk/snyk-mvn-plugin#137

Adding warning message to indicate when projects have a dep-graph that contains packages with unknown versions (like in the Snyk UI).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants