Cdxgen support for Rush monorepo (pnpm lockfile v6) #1359
-
Issue:When integrating cdxgen into our microsoft rush monorepo, the generated BoM file doesn't contain packages located under the "importers" block in our pnpm-lockfile.yaml. Expected behavior:cdxgen should parse the "importers" block in PNPM lockfile v6 and include these packages in the generated BoM. Actual behavior:Packages under the "importers" block are not included in the BoM. Investigation:In utils.js, I noticed that only lockfiles of v9>= have their
However, here is an example of what our lockfile would look like (contains the importers field) Questions
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Thank you. @aryan-rajoria is looking into this. It appears like a missing feature since only the dot attribute is parsed and utilised from the importers block. |
Beta Was this translation helpful? Give feedback.
-
Hello @justindeocampodd, the changes in PR #1377, creates a sbom that looks like this
is something like this is suitable? |
Beta Was this translation helpful? Give feedback.
yes this is fantastic! thank you for the prompt response, approved it