Go: list vendored modules in show-info and the SBOM
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | package/pkg-golang: record vendored Go modules in show-infopackage/ package/ support/ | +82 | 3 replies | |
| 2/3 | utils/generate-cyclonedx: add vendored dependencies as nested componentssupport/ utils/ | +127 | 0 replies | |
| 3/3 | package/pkg-golang: vendor modules of local and overridden sourcespackage/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [PATCH 0/3] Go: list vendored modules in show-info and the SBOM
Go packages show up in the SBOM as one component, so CVE scanners never see the modules vendored into them. This series records those modules from the build info in the built binaries and adds them to the CycloneDX output as nested components.
Patch 3 is a related fix: override and local sources skip the download step that runs go mod vendor, so a tree without vendor/ failed to build.
Tested with amazon-ecr-credential-helper from an override tree without vendor/: fails without patch 3, builds with it.
Mattias Walström (3):
package/pkg-golang: record vendored Go modules in show-info utils/generate-cyclonedx: add vendored dependencies as nested
components
package/pkg-golang: vendor modules of local and overridden sources
package/pkg-golang.mk | 24 ++++++ package/pkg-utils.mk | 7 ++ support/scripts/go-modules-info | 67 ++++++++++++++++ .../tests/utils/test_generate_cyclonedx.py | 76 +++++++++++++++++++ utils/generate-cyclonedx | 53 ++++++++++++- 5 files changed, 225 insertions(+), 2 deletions(-) create mode 100755 support/scripts/go-modules-info
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot