-
Notifications
You must be signed in to change notification settings - Fork 531
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide suppressed vulnerabilities when --show-suppressed is not given (#…
…1322) Signed-off-by: James Tran <jamestran201@github.com>
- Loading branch information
1 parent
7c681d5
commit c1f6772
Showing
6 changed files
with
154 additions
and
12 deletions.
There are no files selected for viewing
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
5 changes: 5 additions & 0 deletions
5
grype/presenter/table/test-fixtures/snapshot/TestDisplaysIgnoredMatches.golden
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
NAME INSTALLED FIXED-IN TYPE VULNERABILITY SEVERITY | ||
package-1 1.1.1 rpm CVE-1999-0002 Critical | ||
package-1 1.1.1 the-next-version rpm CVE-1999-0001 Low | ||
package-2 2.2.2 deb CVE-1999-0001 Low (suppressed) | ||
package-2 2.2.2 deb CVE-1999-0002 Critical (suppressed) |
3 changes: 3 additions & 0 deletions
3
grype/presenter/table/test-fixtures/snapshot/TestHidesIgnoredMatches.golden
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
NAME INSTALLED FIXED-IN TYPE VULNERABILITY SEVERITY | ||
package-1 1.1.1 rpm CVE-1999-0002 Critical | ||
package-1 1.1.1 the-next-version rpm CVE-1999-0001 Low |