Skip to content

Commit

Permalink
test: fix expected data
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kotzbauer <[email protected]>
  • Loading branch information
ckotzbauer committed Mar 4, 2023
1 parent 235e20c commit 5490f98
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions internal/vuln/grype/grype_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,18 @@ func TestGrypeSbom(t *testing.T) {
group: "apk",
severity: "High",
},
{
id: "CVE-2022-4304",
name: "libcrypto3",
group: "apk",
severity: "Medium",
},
{
id: "CVE-2022-4304",
name: "libssl3",
group: "apk",
severity: "Medium",
},
},
},
{
Expand Down Expand Up @@ -258,6 +270,18 @@ func TestGrypeImage(t *testing.T) {
group: "apk",
severity: "High",
},
{
id: "CVE-2022-4304",
name: "libcrypto3",
group: "apk",
severity: "Medium",
},
{
id: "CVE-2022-4304",
name: "libssl3",
group: "apk",
severity: "Medium",
},
},
},
{
Expand Down

0 comments on commit 5490f98

Please sign in to comment.