Skip to content

Commit

Permalink
Update vulnerabilities_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispatrick authored Jul 8, 2024
1 parent 810c792 commit c6f792a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions policy/data/vulnerabilities_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ func Test_GetImageVulnerabilities_WhenSbomHasVulnerabilities(t *testing.T) {

func Test_GetImageVulnerabilities_WhenSbomHasArtifacts_AndNoVulnerabilities(t *testing.T) {
sbom := types.SBOM{
Source: types.Source{
Image: &types.ImageSource{
Digest: "sha256:123456",
},
},
Artifacts: []types.Package{
{
Purl: "pkg:pypi/[email protected]",
Expand Down

0 comments on commit c6f792a

Please sign in to comment.