diff --git a/backend/netfetch b/backend/netfetch index c6a69bb..a9d0580 100755 Binary files a/backend/netfetch and b/backend/netfetch differ diff --git a/backend/pkg/k8s/scanner.go b/backend/pkg/k8s/scanner.go index b1c690d..fdbcfba 100644 --- a/backend/pkg/k8s/scanner.go +++ b/backend/pkg/k8s/scanner.go @@ -239,7 +239,7 @@ func processNamespacePolicies(clientset *kubernetes.Clientset, nsName string, wr scanResult.UnprotectedPods = append(scanResult.UnprotectedPods, unprotectedPods...) scanResult.DeniedNamespaces = append(scanResult.DeniedNamespaces, nsName) - // Only handle CLI interactions if it's a CLI mode and not a dry run + // Only handle CLI interactions if it's CLI mode and not a dry run if isCLI && !dryRun { handleCLIInteractions(nsName, unprotectedPods, writer, scanResult) } else if dryRun {