terminal improvements: add evidence column back, make diff more obvious#143
Merged
tstromberg merged 5 commits intochainguard-dev:mainfrom Apr 17, 2024
Merged
terminal improvements: add evidence column back, make diff more obvious#143tstromberg merged 5 commits intochainguard-dev:mainfrom
tstromberg merged 5 commits intochainguard-dev:mainfrom
Conversation
vaikas
approved these changes
Apr 17, 2024
This was referenced Apr 22, 2024
egibs
pushed a commit
to egibs/malcontent
that referenced
this pull request
Aug 5, 2024
…us (chainguard-dev#143) * Add evidence back to terminal output * terminal: make diff output more readable * Update testdata for risk presentation change * terminal: further improve diff output
egibs
pushed a commit
to egibs/malcontent
that referenced
this pull request
Sep 25, 2024
…us (chainguard-dev#143) * Add evidence back to terminal output * terminal: make diff output more readable * Update testdata for risk presentation change * terminal: further improve diff output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Inspired by a similar tool I found yesterday (https://github.com/owasp-dep-scan/blint), I'm adding the evidence column back to the terminal output.
To help with people who are not familiar with unified diff format, I've also split the "Added" and "Removed" tables up for maximum readability. These same changes will also be made to the Markdown layout as part of #142
Diff output before:
Diff output after: