diff --git a/core/core/patch.go b/core/core/patch.go index eab6fd31..5d7e29d0 100644 --- a/core/core/patch.go +++ b/core/core/patch.go @@ -44,6 +44,10 @@ func (ks *Kubescape) Patch(ctx context.Context, patchInfo *ksmetav1.PatchInfo, s if err != nil { return nil, err } + + // WORKAROUND: Since the current version of grype is buggy and doesn't include this value. Hence this requirement + scanResults.ID.Name = "grype" + // Save the scan results to a file in json format pres := presenter.GetPresenter("json", "", false, *scanResults)