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

feat: display summary table #8241

Open
knqyf263 opened this issue Jan 14, 2025 Discussed in #6501 · 0 comments · May be fixed by #8177
Open

feat: display summary table #8241

knqyf263 opened this issue Jan 14, 2025 Discussed in #6501 · 0 comments · May be fixed by #8177
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Milestone

Comments

@knqyf263
Copy link
Collaborator

Description

Show the summary table ahead of detail tables with --format table

Summary Report for Vulnerabilities
+======================================================+========+=================+
|                         Name                         |  Type  | Vulnerabilities |
+======================================================+========+=================+
| debian:11                                            | os     |              52 |
+------------------------------------------------------+--------+-----------------+
| app1/package-lock.json                               | npm    |               2 |
+------------------------------------------------------+--------+-----------------+
| app2/package-lock.json                               | npm    |               0 |
+------------------------------------------------------+--------+-----------------+
| app/app.jar/BOOT-INF/lib/foo1.jar                    | jar    |               0 |
+------------------------------------------------------+--------+-----------------+
| app/app.jar/BOOT-INF/lib/foo2.jar                    | jar    |               0 |
+------------------------------------------------------+--------+-----------------+
| app/app.jar/BOOT-INF/lib/foo3.jar                    | jar    |               0 |
+------------------------------------------------------+--------+-----------------+
| python3.8/site-packages/bar-1.1.1.dist-info/METADATA | python |               1 |
+------------------------------------------------------+--------+-----------------+
| python3.8/site-packages/baz-2.2.2.dist-info/METADATA | python |               0 |
+------------------------------------------------------+--------+-----------------+

In the above example, separate tables are shown only for debian:11, app1/package-lock.json and python3.8/site-packages/bar-1.1.1.dist-info/METADATA. Others are hidden.

Discussed in #6501

@knqyf263 knqyf263 added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 14, 2025
@knqyf263 knqyf263 added this to the v0.59.0 milestone Jan 14, 2025
@DmitriyLewen DmitriyLewen linked a pull request Jan 16, 2025 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants