-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
feat: add report summary table #8177
Merged
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
ff62336
feat(cli): add report summary
knqyf263 ca75fc9
test: fix table tests
DmitriyLewen ef26940
feat: add `--no-summary` flag
DmitriyLewen 3ea064f
test: add test for `renderSummary`
DmitriyLewen 8b2acf7
mage docs:generate
DmitriyLewen 751823a
refactor: rename `no-summary` to `no-summary-table`
DmitriyLewen 37a072d
fix: linter errors
DmitriyLewen f4f46a5
test: refactor secret result
DmitriyLewen 4292e65
Merge branch 'main' of github.com:aquasecurity/trivy into feat/summar…
DmitriyLewen 19fc0fe
docs: add info about summary table
DmitriyLewen a27f879
feat: add logs about `-` and `0` in summary table
DmitriyLewen 239251b
fix: linter error
DmitriyLewen 8b9d908
Merge branch 'main' of github.com:aquasecurity/trivy into feat/summar…
DmitriyLewen e11221a
refactor: use footer instead of log for legend
DmitriyLewen 5f61893
refactor: use log when results array is empty
DmitriyLewen 85edf16
chore: add comment for showEmptyResultsWarning
DmitriyLewen d5ca966
refactor
DmitriyLewen eb4d2fa
refactor: hide empty results for OS packages license and file licenses
DmitriyLewen a57dcc6
fix: add LicenseFiles into summary table
DmitriyLewen 4f349c5
test: add LicenseFiles in test
DmitriyLewen 84169b4
feat: split aggregated pkgs
DmitriyLewen 892d6de
fix: show packages without vulns
DmitriyLewen db0cbe1
fix: tests
DmitriyLewen 28ebb24
refactor: don't show empty vuln table title for OS pkgs
DmitriyLewen 0166a45
refactor: use info log when results didn't find
DmitriyLewen 5f13964
fix: typo
DmitriyLewen 7f863b9
refactor: show legend after table
DmitriyLewen 2628b70
docs: fix typo
DmitriyLewen c78bfe5
fix: nested list
DmitriyLewen ba8f756
refactor: stop iter vulns
DmitriyLewen d37ad35
refactor: split license functions
DmitriyLewen 786e704
refactor: use error for no-summary + no-table format
DmitriyLewen 9c3e8ce
refactor: add empty table with `-`
DmitriyLewen 878b9f4
refactor: use `Renderer` interface for summary table
DmitriyLewen 4b6214b
fix: linter error
DmitriyLewen 29388c4
Merge branch 'main' into 'feat/summary_table'
DmitriyLewen 8de06d7
refactor: after rebase
DmitriyLewen 5ea3e4f
fix(report): skip applications without licenses
DmitriyLewen 1159d63
refactor: enable `--scanners` for convert mode
DmitriyLewen 5b048c1
fix: linter errors
DmitriyLewen fd00dc9
mage docs:generate
DmitriyLewen 67a729c
refactor: add logger into summaryRenderer
DmitriyLewen f648dc6
Merge branch 'main' into 'feat/summary_table'
DmitriyLewen ea453d8
refactor: change --no-summary-table to -tables-mode
DmitriyLewen 9d58ab2
docs: remove not for `--table-mode` flag
DmitriyLewen 5b6e9ea
docs: fix typo
DmitriyLewen 71a53b2
docs: fix typo
DmitriyLewen df6c0de
refactor: use Info log for secrets/licenses
DmitriyLewen 014e4c4
refactor: use AlignCenter for empty summary table
DmitriyLewen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we could just enable all scanners. But I think we need to use the same format(logic) for
convert
and other subcommands.So i enabled
--scanners
that users can get summary table as fortable
format.