8000 `db list` should render out full URLs for text format by wagoodman · Pull Request #2553 · anchore/grype · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

db list should render out full URLs for text format #2553

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

Merged
merged 2 commits into from
Mar 20, 2025
Merged

Conversation

wagoodman
Copy link
Contributor

DB list is not filling out assumed values when printing the latest.json URL and DB URL. This PR adjusts the output (diff shown between old and new values):

# diff -C 5 bad good
*** bad    Thu Mar 20 16:21:34 2025
--- good   Thu Mar 20 16:21:52 2025
***************
*** 1,6 ****
  Status:   active
  Schema:   v6.0.2
  Built:    2025-03-20T04:07:28Z
! Listing:  https://grype.anchore.io/databases
! DB URL:   https://grype.anchore.io/vulnerability-db_v6.0.2_2025-03-20T01:30:59Z_1742443648.tar.zst
  Checksum: sha256:d668b9a4bdc4ca4a116452501ee915c669811bc9cc4f0baa3c4ac67a50cf5ca0
--- 1,6 ----
  Status:   active
  Schema:   v6.0.2
  Built:    2025-03-20T04:07:28Z
! Listing:  https://grype.anchore.io/databases/v6/latest.json
! DB URL:   https://grype.anchore.io/databases/v6/vulnerability-db_v6.0.2_2025-03-20T01:30:59Z_1742443648.tar.zst
  Checksum: sha256:d668b9a4bdc4ca4a116452501ee915c669811bc9cc4f0baa3c4ac67a50cf5ca0

This only affects the text output

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman added the bug Something isn't working label Mar 20, 2025
@wagoodman wagoodman self-assigned this Mar 20, 2025
@wagoodman wagoodman added this to OSS Mar 20, 2025
@wagoodman wagoodman moved this to In Review in OSS Mar 20, 2025
@wagoodman wagoodman requested a review from a team March 20, 2025 20:24
@wagoodman wagoodman enabled auto-merge (squash) March 20, 2025 20:24
@wagoodman wagoodman changed the title Fix db list url db list should render out full URLs for text format Mar 20, 2025
@wagoodman wagoodman merged commit 1afca68 into main Mar 20, 2025
12 checks passed
@wagoodman wagoodman deleted the fix-db-list-url branch March 20, 2025 20:49
@github-project-automation github-project-automation bot moved this from In Review to Done in OSS Mar 20, 2025
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 this pull request may close these issues.

2 participants
0