Skip to content

fix(build): include go package licenses in sbom fixes#2363#2364

Merged
migmartri merged 2 commits intochainloop-dev:mainfrom
kaysavps:go-licenses
Aug 18, 2025
Merged

fix(build): include go package licenses in sbom fixes#2363#2364
migmartri merged 2 commits intochainloop-dev:mainfrom
kaysavps:go-licenses

Conversation

@kaysavps
Copy link
Contributor

No description provided.

kaysavps added 2 commits May 5, 2025 19:36
Signed-off-by: Victoria <kaysa.vps@gmail.com>
Signed-off-by: Victoria <kaysa.vps@gmail.com>
@kaysavps
Copy link
Contributor Author

According to syft documentation, this setting gets the license info from the network using by default https://proxy.golang.org.

golang:     
    # search for go package licences by retrieving the package from a network proxy
    #  SYFT_GOLANG_SEARCH_REMOTE_LICENSES env var    
    search-remote-licenses: false     
    # remote proxy to use when retrieving go packages from the network, 
    # if unset this defaults to $GOPROXY followed by https://proxy.golang.org    
    # SYFT_GOLANG_PROXY env var    
    proxy: ""

@migmartri
Copy link
Member

According to syft documentation, this setting gets the license info from the network using by default https://proxy.golang.org.

golang:     
    # search for go package licences by retrieving the package from a network proxy
    #  SYFT_GOLANG_SEARCH_REMOTE_LICENSES env var    
    search-remote-licenses: false     
    # remote proxy to use when retrieving go packages from the network, 
    # if unset this defaults to $GOPROXY followed by https://proxy.golang.org    
    # SYFT_GOLANG_PROXY env var    
    proxy: ""

thanks. It might be more useful to have a minor comment in the code itself.

@migmartri migmartri merged commit 063e952 into chainloop-dev:main Aug 18, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants