-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
trivy return different vulns output when scanning regular compare to scanning with sbom cyclonedx #4781
Comments
in addition :
with regular scanning:
|
I think I see where is the diff:
|
Hello @chen-keinan You are right. As you said, we need to include all package names and fixed versions in Regards, Dmitriy |
Thanks, Dmitriy. I got it. |
I am not sure that users are associating CycloneDX and JSON formats. Currently, CycloneDX format has fewer lines and more like advisories from databases (when there is 1 advisory and this advisory contains all affected packages). I am not sure that we need to change this logic. We can open new Discussion and ask users about that. |
Thanks for your thoughts. Let's keep it, then. If we see more people confusing, we will change it. |
when using trivy
cyclonedx
with scanner vuln flag,compare to regular
trivy
scanning the result output of vulnerabilitieson regular scanning is different from the one I get with cyclonedx , for example on regular scanning I get 215 vulns compare to 156 vulns when I scan with cylonedx1st using the following command:
output: num of
vulns is 156
2nd using the following command:
output: num of
vulns is 216
trivy version:
Version: 0.43.0
Vulnerability DB:
Version: 2
UpdatedAt: 2023-07-06 06:10:31.117953059 +0000 UTC
NextUpdate: 2023-07-06 12:10:31.117952559 +0000 UTC
DownloadedAt: 2023-07-06 06:32:21.27869 +0000 UTC
Java DB:
Version: 1
UpdatedAt: 2023-07-04 01:08:01.820433584 +0000 UTC
NextUpdate: 2023-07-07 01:08:01.820433284 +0000 UTC
DownloadedAt: 2023-07-04 12:10:07.552494 +0000 UTC
Policy Bundle:
Digest: sha256:9db84b217f767f81ec98ca40c94e81562dbd6cf5f10083da236322ed99eecfda
DownloadedAt: 2023-06-28 12:28:08.758582 +0000 UTC
The text was updated successfully, but these errors were encountered: