mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user