mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 07:29:00 -08:00
fix: k8s hide empty report when scanning resource (#2517)
Signed-off-by: Jose Donizetti <jdbjunior@gmail.com>
This commit is contained in:
@@ -22,5 +22,5 @@ func clusterRun(ctx context.Context, opts flag.Options, cluster k8s.Cluster) err
|
||||
return xerrors.Errorf("get k8s artifacts error: %w", err)
|
||||
}
|
||||
|
||||
return run(ctx, opts, cluster.GetCurrentContext(), artifacts)
|
||||
return run(ctx, opts, cluster.GetCurrentContext(), artifacts, true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user