-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Indirect dependencies not added BOM file while generation BOM using Cyclonedx #485
Comments
Please ensure that you run Then, keep in mind that If you're using It all comes down to the fact that |
Hello @nscuro, |
When you use For example, some modules are only required on macOS, so when you run Another reason could be that some modules are only needed by code that you application never calls, hence they'll be omitted. Or your codebase has multiple binaries (e.g. There's a multitude of reasons that all are results of how Go's module system and build process works. If you always want all modules to be included, use |
I used cyclonedx-gomod mod to generate the BOM file, as you mentioned. However, some indirect modules are still missing. Could you please review this and let me know why the following modules aren't being included in the BOM file?
|
I used cyclonedx-gomod to generate a BOM file, but some internal dependencies were not included. Although most indirect dependencies were added, the following two were not:
github.com/stretchr/objx v0.5.0 (indirect)
google.golang.org/appengine v1.6.7 (indirect)
The text was updated successfully, but these errors were encountered: