grype-db
grype-db copied to clipboard
GitHub token information
I seem to be able to download the data cache for all providers using the make command without issues, but when using
grype-db -g
It errors on GitHub, and seems that I need a token. I'm wondering if there are docs on which token is needed? Looking at the config, it seems the token should be set an an env variable, but correct me if I'm wrong.
Alternatively, is there a way to run the grype-db build command and use all the cached data in the data folder? It seems like it really wants grype-db -g to be run to configure providers first, but I have the data sitting here in the cache, and just grype-db to build a database using all of it.
$ ls data/vunnel
alpine chainguard github nvd rhel ubuntu
amazon debian mariner oracle sles wolfi
$ grype-db build
[0000] INFO grype-db version: 0.23.1
[0000] ERROR configure a provider via the application config or use -g to generate a list of configs from vunnel
[0000] ERROR 1 error occurred:
* unable to create providers: no providers configured
error: 1 error occurred:
* unable to create providers: no providers configured