-
Notifications
You must be signed in to change notification settings - Fork 570
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
Add DB providers command #2131
Comments
Hi @wagoodman |
Hi @ADorigi, Thanks very much! Please let us know if you need any help getting started or have any questions. Right now, the info you need is in grype db status | grep -i location will print the directory, in which is the {
"providers": [
{
"name": "nvd",
"lastSuccessfulRun": "2024-09-30T01:33:26.557315Z"
},
{
"name": "alpine",
"lastSuccessfulRun": "2024-09-30T01:32:56.048934Z"
},
{
"name": "amazon",
"lastSuccessfulRun": "2024-09-30T01:31:31.578651Z"
},
{
"name": "chainguard",
"lastSuccessfulRun": "2024-09-30T01:33:06.981914Z"
},
{
"name": "debian",
"lastSuccessfulRun": "2024-09-30T01:33:12.292992Z"
},
{
"name": "github",
"lastSuccessfulRun": "2024-09-30T01:33:05.711884Z"
},
{
"name": "mariner",
"lastSuccessfulRun": "2024-09-30T01:32:54.541848Z"
},
{
"name": "oracle",
"lastSuccessfulRun": "2024-09-30T01:32:47.580753Z"
},
{
"name": "rhel",
"lastSuccessfulRun": "2024-09-30T01:33:00.52897Z"
},
{
"name": "sles",
"lastSuccessfulRun": "2024-09-30T01:32:53.888701Z"
},
{
"name": "ubuntu",
"lastSuccessfulRun": "2024-09-30T01:33:21.911792Z"
},
{
"name": "wolfi",
"lastSuccessfulRun": "2024-09-30T01:32:58.824202Z"
}
]
}
Don't hesitate to let us know if you need anything. |
Thank you for the detailed explanation @willmurphyscode. I will be preparing a pull request soon. |
It should be trivial to see what data providers (from vunnel) populated the DB, along with timestamp information:
This should be available as:
Example JSON output:
Ideally we'd capture vunnel version information either in bulk or with each provider. For instance, see the prototype information capture here: https://github.com/anchore/grype/blob/db-v6-blob-store/grype/db/v6/models.go#L71-L95
The text was updated successfully, but these errors were encountered: