Skip to content
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

JSON output: descriptor name is missing "grype" value #1538

Closed
anubhav06 opened this issue Oct 4, 2023 · 0 comments · Fixed by #1542
Closed

JSON output: descriptor name is missing "grype" value #1538

anubhav06 opened this issue Oct 4, 2023 · 0 comments · Fixed by #1542
Assignees
Labels
bug Something isn't working

Comments

@anubhav06
Copy link

What happened:
The descriptor.name has an empty value in the JSON output.

 "descriptor": {
  "name": "",

What you expected to happen:
This was not the case before. I had grype v0.64.2 and in that version grype used to list descriptor.name as "grype". However, when I updated to the latest version (v0.69.1), we get this bug.

How to reproduce it (as minimally and precisely as possible):

grype $IMAGE -o json --file grype.json

check the descriptor block output

Environment:

  • Output of grype version: 0.69.1
  • OS (e.g: cat /etc/os-release or similar): Ubuntu 20.04.4 LTS
@anubhav06 anubhav06 added the bug Something isn't working label Oct 4, 2023
@kzantow kzantow self-assigned this Oct 6, 2023
@kzantow kzantow moved this to In Review in OSS Oct 6, 2023
@github-project-automation github-project-automation bot moved this from In Review to Done in OSS Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants