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

SBOM is diffirent between syft v0.84.0 and v0.94.0 #2309

Closed
tomerse-sg opened this issue Nov 9, 2023 · 3 comments
Closed

SBOM is diffirent between syft v0.84.0 and v0.94.0 #2309

tomerse-sg opened this issue Nov 9, 2023 · 3 comments
Labels
bug Something isn't working changelog-ignore Don't include this issue in the release changelog

Comments

@tomerse-sg
Copy link

What happened:
I run syft alpine:3.2 using a binary of version 0.84.0 and 0.94.0 and saw different results.
I saw a missing binary as specified below:
image

What you expected to happen:
I want to understand if this is a correct results.

Steps to reproduce the issue:
syft alpine:3.2 with 0.84.0 version and 0.94.0 version

Anything else we need to know?:

Environment:

  • Output of syft version: linux
  • OS (e.g: cat /etc/os-release or similar):
@tomerse-sg tomerse-sg added the bug Something isn't working label Nov 9, 2023
@spiffcs
Copy link
Contributor

spiffcs commented Nov 9, 2023

Check out this PR for the change and reasoning why this is different =) #1948

@tomerse-sg
Copy link
Author

tomerse-sg commented Nov 9, 2023

thanks for the response,
so it narrows duplicates dependencies?

@kzantow
Copy link
Contributor

kzantow commented Nov 9, 2023

@tomerse-sg yes, the package manager version can be more correct and include things from a distro security tracker that we couldn't match based on versions found in the binaries. For example, some have a -r# suffix, like busybox 3.2.5-r1, and maybe in some distro the -r1 has is a patch release with certain security fixes, but we don't find the -r1 in the actual version string in the binary, only in the package manager information.

That said, I'm going to close this issue since it is working as expected.

@kzantow kzantow closed this as completed Nov 9, 2023
@willmurphyscode willmurphyscode added the changelog-ignore Don't include this issue in the release changelog label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working changelog-ignore Don't include this issue in the release changelog
Projects
Archived in project
Development

No branches or pull requests

4 participants