-
Notifications
You must be signed in to change notification settings - Fork 10
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
Include patch in generated SBOM? #71
Comments
|
From that perspective, that's true. However, it would be nice to have this information in the SBOM.
What kind of graph, do you have an example ? |
I think he means dependency graph. Currently |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I'm exploring SBOM generation with Nix, using this tool. I've encountered an issue where patches specified in the Nix flake do not appear in the generated SBOM. Below is a flake example demonstrating the issue. This flake aims to generate an SBOM that should include at least two patches; however, these patches are missing from the final SBOM file.
To reproduce this issue, execute
nix build .#sbom
(note: PHP compilation may take 5 to 10 minutes). For convenience, I have already generated the SBOM, which you can download here: sbom.json.Interestingly, when I add the flag
includeBuildtimeDependencies = true;
, the patches appear in the SBOM. The updated SBOM can be downloaded here: sbom.json.Taking Composer as an example, the current version of Nixpkgs applies a patch for CVE-2024-24821, which can be found at this link. This patch is included in the SBOM as follows:
However, the SBOM does not clearly indicate that the patch is associated with Composer.
I have two questions:
The text was updated successfully, but these errors were encountered: