mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-12 15:50:15 -08:00
fix(k8s): add missed option PkgRelationships (#8442)
This commit is contained in:
@@ -232,8 +232,9 @@ func (s *Scanner) scanK8sVulns(ctx context.Context, artifactsData []*artifacts.A
|
||||
|
||||
k8sScanner := k8s.NewKubernetesScanner()
|
||||
scanOptions := types.ScanOptions{
|
||||
Scanners: s.opts.Scanners,
|
||||
PkgTypes: s.opts.PkgTypes,
|
||||
Scanners: s.opts.Scanners,
|
||||
PkgTypes: s.opts.PkgTypes,
|
||||
PkgRelationships: s.opts.PackageOptions.PkgRelationships,
|
||||
}
|
||||
for _, artifact := range artifactsData {
|
||||
switch artifact.Kind {
|
||||
|
||||
Reference in New Issue
Block a user