We use the following tools and processes for generationg 3rd party licenses.
For Go modules we use a fork of Kubeflow's testing repo with some fixes.
Clone and update to this branch.
Go to go-license-tools folder:
Install
Run make update-3rd-party-licenses
in top level folder.