diff --git a/grype/vex/processor_test.go b/grype/vex/processor_test.go index 85168f2b1ab..c9febf2f762 100644 --- a/grype/vex/processor_test.go +++ b/grype/vex/processor_test.go @@ -19,9 +19,7 @@ func TestProcessor_ApplyVEX(t *testing.T) { Name: "alpine", Version: "3.17", Metadata: source.StereoscopeImageSourceMetadata{ - RepoDigests: []string{ - "alpine@sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126", - }, + UserInput: "alpine@sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126", }, }, Distro: nil, diff --git a/test/integration/match_by_image_test.go b/test/integration/match_by_image_test.go index a949e52976c..8e4df3adbcb 100644 --- a/test/integration/match_by_image_test.go +++ b/test/integration/match_by_image_test.go @@ -836,9 +836,7 @@ func vexMatches(t *testing.T, ignoredMatches []match.IgnoredMatch, vexStatus vex pctx := &pkg.Context{ Source: &source.Description{ Metadata: source.StereoscopeImageSourceMetadata{ - RepoDigests: []string{ - "alpine@sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", - }, + UserInput: "alpine@sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", }, }, Distro: &linux.Release{},