We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
UID
Apline removed packages (--removed-pkgs flag) don't have UID:
--removed-pkgs
➜ trivy -q image -f json --list-all-pkgs node:22.11-alpine --removed-pkgs | grep zstd-libs -A 5 "Name": "zstd-libs", "Identifier": {}, "Version": "1.5.6-r0", "Layer": {} } ],
For this reason we build incorrect dependency graph for SBOM formats:
{ "ref": "e51ad365-e7ee-4887-b9c4-ac9a4be4ab11", // OS component "dependsOn": [ "7699e9b4-a6b9-4a75-a2d5-5aad7eecea98", // one of removed pkgs "7699e9b4-a6b9-4a75-a2d5-5aad7eecea98", ... "pkg:apk/alpine/[email protected]?arch=x86_64&distro=3.20.3", // alpine pkgs "pkg:apk/alpine/[email protected]?arch=x86_64&distro=3.20.3",
The text was updated successfully, but these errors were encountered:
DmitriyLewen
Successfully merging a pull request may close this issue.
Description
Apline removed packages (
--removed-pkgs
flag) don't haveUID
:For this reason we build incorrect dependency graph for SBOM formats:
Discussed in #7877
The text was updated successfully, but these errors were encountered: