diff --git a/pkg/analyzer/netpol.go b/pkg/analyzer/netpol.go index 5e51fb17b2..67e2e814e8 100644 --- a/pkg/analyzer/netpol.go +++ b/pkg/analyzer/netpol.go @@ -26,7 +26,7 @@ func (NetworkPolicyAnalyzer) Analyze(a common.Analyzer) ([]common.Result, error) // Check if policy allows traffic to all pods in the namespace if len(policy.Spec.PodSelector.MatchLabels) == 0 { failures = append(failures, common.Failure{ - Text: fmt.Sprintf("Network policy allows traffic to all pods in the namespace: %s", policy.Name), + Text: fmt.Sprintf("Network policy allows traffic to all pods: %s", policy.Name), Sensitive: []common.Sensitive{ { Unmasked: policy.Name,